CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
FxUICheckBox.h
Go to the documentation of this file.
1//
2// (C) Copyright 2005-2025 by Graebert GmbH.
3//
4// Permission to use, copy, modify, and distribute this software in
5// object code form for any purpose and without fee is hereby granted,
6// provided that the above copyright notice appears in all copies and
7// that both that copyright notice and the limited warranty and
8// restricted rights notice below appear in all supporting
9// documentation.
10//
11// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15// UNINTERRUPTED OR ERROR FREE.
16
17#pragma once
18
19#include "FxUIBaseView.h"
20
24
26{
27public:
28
38
41
43 virtual ~CFxUICheckBox();
44
50 void setText( const CFxUIString& str );
51
58
66 void setChecked( bool bChecked );
67
73 bool isChecked() const;
74
80 void setResourceIcon( const CFxUIString& icon );
81
87 void setTextSize( float size );
88
94 bool isTristate() const;
95
101 void setTristate( bool tristate = true );
102
109
116
121
126
131
132 //...
133};
#define COMMONUI_API
CFxString CFxUIString
bool isChecked() const
@ Checked
The item is checked.
@ PartiallyChecked
The item is partially checked. Items in hierarchical models may be partially checked if some,...
@ Unchecked
The item is unchecked.
CFxUICheckBox::CheckState checkState() const
bool isTristate() const
void setTristate(bool tristate=true)
void setCheckState(CFxUICheckBox::CheckState state)
void setText(const CFxUIString &str)
virtual ~CFxUICheckBox()
CFxUISignal< void(int)> & stateChanged()
CFxUIString text() const
CFxUISignal< void(void)> & clicked()
void setChecked(bool bChecked)
void setTextSize(float size)
void setResourceIcon(const CFxUIString &icon)
CFxUISignal< void(bool)> & toggled()
GLsizeiptr size
Definition gles2_ext.h:182
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)