FLImaging
7.8.25.3
Toggle main menu visibility
FLImagingFoundation
FLImagingGUI
GUIRadioButton.h
1
#pragma once
2
10
11
#include <afxwin.h>
12
#include "GUIWndCtrlBase.h"
13
#include "GUIStyledCtrlBase.h"
14
#include "DefinitionsGUI.h"
15
17
namespace
FLImaging
18
{
20
namespace
GUI
21
{
29
class
FL_EXPORT
CGUIRadioButton
:
public
CButton,
public
CGUIWndCtrlBase,
public
CGUIStyledCtrlBase
30
{
31
public
:
38
CGUIRadioButton
();
39
46
virtual
~CGUIRadioButton
();
47
48
public
:
60
void
SetCheck
(int32_t i32Check,
bool
bInvalidate =
true
);
61
70
int32_t
GetCheck
()
const
;
71
79
virtual
void
Enable(
bool
bEnable);
80
81
DECLARE_MESSAGE_MAP()
82
virtual
void
PreSubclassWindow();
83
afx_msg LRESULT OnSetCheck(WPARAM wParam, LPARAM lParam);
84
afx_msg
int
OnCreate(LPCREATESTRUCT lpCreateStruct);
85
afx_msg
void
OnLButtonDown(UINT nFlags, CPoint point);
86
afx_msg
void
OnLButtonUp(UINT nFlags, CPoint point);
87
afx_msg
void
OnMouseHover(UINT nFlags, CPoint point);
88
afx_msg
void
OnMouseLeave();
89
afx_msg
void
OnMouseMove(UINT nFlags, CPoint point);
90
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
91
afx_msg
void
OnEnable(BOOL bEnable);
92
afx_msg
void
OnSetFocus(CWnd* pOldWnd);
93
afx_msg
void
OnKillFocus(CWnd* pNewWnd);
94
95
protected:
96
virtual
void
DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct) override;
97
virtual
void
DrawButton(CDC* pDC, const CRect& rect);
98
virtual
void
DrawText(CDC* pDC, CRect rect);
99
100
protected:
101
UINT m_u32CheckState;
102
};
103
}
104
}
FLImaging::GUI::CGUIRadioButton::CGUIRadioButton
CGUIRadioButton()
Default constructor.
FLImaging::GUI::CGUIRadioButton::SetCheck
void SetCheck(int32_t i32Check, bool bInvalidate=true)
Specify the check status.
FLImaging::GUI::CGUIRadioButton::GetCheck
int32_t GetCheck() const
Function that returns whether this is selected.
FLImaging::GUI::CGUIRadioButton::~CGUIRadioButton
virtual ~CGUIRadioButton()
Default destructor.
FLImaging::GUI
Definition
D2DObject.h:12
FLImaging
Generated on
for FLImaging by
1.17.0