Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Unified Diff: xfa/fwl/core/ifwl_tooltip.h

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fwl/core/ifwl_spinbutton.cpp ('k') | xfa/fwl/core/ifwl_tooltip.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/ifwl_tooltip.h
diff --git a/xfa/fwl/core/ifwl_tooltip.h b/xfa/fwl/core/ifwl_tooltip.h
index 0293759165699712628e4dfb2f6d1a241be39aff..c2ad6637397feeea86b6e5d4cdfbb5a2c2dff153 100644
--- a/xfa/fwl/core/ifwl_tooltip.h
+++ b/xfa/fwl/core/ifwl_tooltip.h
@@ -41,11 +41,11 @@ class IFWL_ToolTip : public IFWL_Form {
// IFWL_Widget
FWL_Type GetClassID() const override;
- FWL_Error GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE) override;
+ FWL_Error GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override;
FWL_Error Update() override;
FWL_Error DrawWidget(CFX_Graphics* pGraphics,
const CFX_Matrix* pMatrix = nullptr) override;
- void SetStates(uint32_t dwStates, FX_BOOL bSet) override;
+ void SetStates(uint32_t dwStates, bool bSet) override;
FWL_Error GetClientRect(CFX_RectF& rect) override;
void OnDrawWidget(CFX_Graphics* pGraphics,
const CFX_Matrix* pMatrix) override;
@@ -75,7 +75,7 @@ class IFWL_ToolTip : public IFWL_Form {
CFX_RectF m_rtClient;
CFX_RectF m_rtCaption;
- FX_BOOL m_bBtnDown;
+ bool m_bBtnDown;
uint32_t m_dwTTOStyles;
int32_t m_iTTOAlign;
CFX_RectF m_rtAnchor;
@@ -85,7 +85,7 @@ class IFWL_ToolTip : public IFWL_Form {
IFWL_ToolTip::Timer m_TimerHide;
private:
- void OnFocusChanged(CFWL_Message* pMsg, FX_BOOL bSet);
+ void OnFocusChanged(CFWL_Message* pMsg, bool bSet);
void OnLButtonDown(CFWL_MsgMouse* pMsg);
void OnLButtonUp(CFWL_MsgMouse* pMsg);
void OnMouseMove(CFWL_MsgMouse* pMsg);
« no previous file with comments | « xfa/fwl/core/ifwl_spinbutton.cpp ('k') | xfa/fwl/core/ifwl_tooltip.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698