summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/cxfa_ffwidget.h')
-rw-r--r--xfa/fxfa/cxfa_ffwidget.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/xfa/fxfa/cxfa_ffwidget.h b/xfa/fxfa/cxfa_ffwidget.h
index 7c21903203..8ec92ef93f 100644
--- a/xfa/fxfa/cxfa_ffwidget.h
+++ b/xfa/fxfa/cxfa_ffwidget.h
@@ -71,9 +71,6 @@ void XFA_RectWithoutMargin(CFX_RectF& rt,
CXFA_FFWidget* XFA_GetWidgetFromLayoutItem(CXFA_LayoutItem* pLayoutItem);
bool XFA_IsCreateWidget(XFA_Element iType);
-#define XFA_DRAWBOX_ForceRound 1
-#define XFA_DRAWBOX_Lowered3D 2
-
class CXFA_CalcData {
public:
CXFA_CalcData();
@@ -172,11 +169,11 @@ class CXFA_FFWidget : public CXFA_ContentLayoutItem {
CXFA_Box* box,
const CFX_RectF& rtBorder,
const CFX_Matrix& matrix);
- void DrawBorderWithFlags(CXFA_Graphics* pGS,
- CXFA_Box* box,
- const CFX_RectF& rtBorder,
- const CFX_Matrix& matrix,
- uint32_t dwFlags);
+ void DrawBorderWithFlag(CXFA_Graphics* pGS,
+ CXFA_Box* box,
+ const CFX_RectF& rtBorder,
+ const CFX_Matrix& matrix,
+ bool forceRound);
CFX_RectF GetRectWithoutRotate();
bool IsMatchVisibleStatus(uint32_t dwStatus);