summaryrefslogtreecommitdiff
path: root/xfa/fwl/ifwl_themeprovider.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/ifwl_themeprovider.h')
-rw-r--r--xfa/fwl/ifwl_themeprovider.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/xfa/fwl/ifwl_themeprovider.h b/xfa/fwl/ifwl_themeprovider.h
index 69932e7fc9..c0460fe901 100644
--- a/xfa/fwl/ifwl_themeprovider.h
+++ b/xfa/fwl/ifwl_themeprovider.h
@@ -21,9 +21,16 @@ class IFWL_ThemeProvider {
virtual void DrawBackground(CFWL_ThemeBackground* pParams) = 0;
virtual void DrawText(CFWL_ThemeText* pParams) = 0;
- virtual void* GetCapacity(CFWL_ThemePart* pThemePart,
- CFWL_WidgetCapacity dwCapacity) = 0;
virtual void CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) = 0;
+ virtual float GetCXBorderSize() const = 0;
+ virtual float GetCYBorderSize() const = 0;
+ virtual CFX_RectF GetUIMargin(CFWL_ThemePart* pThemePart) const = 0;
+ virtual float GetFontSize(CFWL_ThemePart* pThemePart) const = 0;
+ virtual CFGAS_GEFont* GetFont(CFWL_ThemePart* pThemePart) const = 0;
+ virtual float GetLineHeight(CFWL_ThemePart* pThemePart) const = 0;
+ virtual float GetScrollBarWidth() const = 0;
+ virtual FX_COLORREF GetTextColor(CFWL_ThemePart* pThemePart) const = 0;
+ virtual CFX_SizeF GetSpaceAboveBelow(CFWL_ThemePart* pThemePart) const = 0;
};
#endif // XFA_FWL_IFWL_THEMEPROVIDER_H_