summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fwl/core/ifwl_form.cpp4
-rw-r--r--xfa/fwl/core/ifwl_form.h6
2 files changed, 0 insertions, 10 deletions
diff --git a/xfa/fwl/core/ifwl_form.cpp b/xfa/fwl/core/ifwl_form.cpp
index a91e597cf7..22c188ab7a 100644
--- a/xfa/fwl/core/ifwl_form.cpp
+++ b/xfa/fwl/core/ifwl_form.cpp
@@ -54,7 +54,6 @@ IFWL_Form::IFWL_Form(const IFWL_App* app,
m_fCYBorder(0),
m_iCaptureBtn(-1),
m_iSysBox(0),
- m_eResizeType(FORM_RESIZETYPE_None),
m_bLButtonDown(false),
m_bMaximized(false),
m_bSetMaximize(false),
@@ -730,7 +729,6 @@ void IFWL_Form::OnDrawWidget(CFX_Graphics* pGraphics,
void IFWL_Form::OnLButtonDown(CFWL_MsgMouse* pMsg) {
SetGrab(true);
m_bLButtonDown = true;
- m_eResizeType = FORM_RESIZETYPE_None;
CFWL_SysBtn* pPressBtn = GetSysBtnAtPoint(pMsg->m_fx, pMsg->m_fy);
m_iCaptureBtn = GetSysBtnIndex(pPressBtn);
@@ -743,8 +741,6 @@ void IFWL_Form::OnLButtonDown(CFWL_MsgMouse* pMsg) {
if (pPressBtn) {
pPressBtn->SetPressed();
Repaint(&pPressBtn->m_rtBtn);
- } else if (rtCap.Contains(pMsg->m_fx, pMsg->m_fy)) {
- m_eResizeType = FORM_RESIZETYPE_Cap;
}
m_InfoStart.m_ptStart = CFX_PointF(pMsg->m_fx, pMsg->m_fy);
diff --git a/xfa/fwl/core/ifwl_form.h b/xfa/fwl/core/ifwl_form.h
index d4244d5354..c71bb1816e 100644
--- a/xfa/fwl/core/ifwl_form.h
+++ b/xfa/fwl/core/ifwl_form.h
@@ -55,11 +55,6 @@ class CFWL_SysBtn {
uint32_t m_dwState;
};
-enum FORM_RESIZETYPE {
- FORM_RESIZETYPE_None = 0,
- FORM_RESIZETYPE_Cap,
-};
-
struct RestoreInfo {
RestoreInfo();
~RestoreInfo();
@@ -154,7 +149,6 @@ class IFWL_Form : public IFWL_Widget {
FX_FLOAT m_fCYBorder;
int32_t m_iCaptureBtn;
int32_t m_iSysBox;
- int32_t m_eResizeType;
bool m_bLButtonDown;
bool m_bMaximized;
bool m_bSetMaximize;