12#include "GUIWndCtrlBase.h"
13#include "GUIStyledCtrlBase.h"
14#include "DefinitionsGUI.h"
22 class CGUIPropertyButton;
31 class FL_EXPORT
CGUIButton :
public CButton,
public CGUIWndCtrlBase,
public CGUIStyledCtrlBase
33 friend class CGUIPropertyButton;
88 virtual void SetParentPropertyButton(CGUIPropertyButton* pPropertyButton);
89 virtual CGUIPropertyButton* GetParentPropertyButton()
const;
91 virtual void UpdateTheme()
override;
95 afx_msg
int OnCreate(LPCREATESTRUCT lpCreateStruct);
96 afx_msg
void OnLButtonDown(UINT nFlags, CPoint point);
97 afx_msg
void OnLButtonUp(UINT nFlags, CPoint point);
98 afx_msg
void OnMouseHover(UINT nFlags, CPoint point);
99 afx_msg
void OnMouseLeave();
100 afx_msg
void OnMouseMove(UINT nFlags, CPoint point);
101 afx_msg BOOL OnEraseBkgnd(CDC* pDC);
102 afx_msg
void OnEnable(BOOL bEnable);
103 afx_msg
void OnSetFocus(CWnd* pOldWnd);
104 afx_msg
void OnKillFocus(CWnd* pNewWnd);
107 virtual
void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) override;
108 virtual
void DrawButton(CDC* pDC, const CRect& rect);
109 virtual
void DrawText(CDC* pDC);
112 CGUIPropertyButton* m_pPropertyButton;
114 int32_t m_i32ClickCount;
115 virtual
void PreSubclassWindow();
Definition D2DObject.h:12