29 #ifndef PT_FORMS_COMBOBOXSTYLE_H
30 #define PT_FORMS_COMBOBOXSTYLE_H
32 #include <Pt/Forms/Styler.h>
33 #include <Pt/Forms/Painter.h>
39 class PT_FORMS_API ComboBoxState
44 bool isEnabled()
const;
46 void setEnabled(
bool value);
48 bool isFocused()
const;
50 void setFocused(
bool value);
52 bool isHighlighted()
const;
54 void setHighlighted(
bool value);
56 bool isEditable()
const;
58 void setEditable(
bool value);
60 bool isPopupVisible()
const;
62 void setPopupVisible(
bool value);
73 class PT_FORMS_API ComboBoxButtonState
76 ComboBoxButtonState();
78 bool isHighlighted()
const;
80 void setHighlighted(
bool value);
82 bool isPressed()
const;
84 void setPressed(
bool value);
125 const ComboBoxState& state,
126 const ComboBoxButtonState& buttonState);
130 const ComboBoxState& state,
131 const ComboBoxButtonState& buttonState);
138 const ComboBoxState& state);
164 const ComboBoxState& state,
165 const ComboBoxButtonState& buttonState);
169 const ComboBoxState& state) = 0;
173 const ComboBoxState& state,
174 const ComboBoxButtonState& buttonState) = 0;
181 const ComboBoxState& state) = 0;
269 const ComboBoxState& state,
270 const ComboBoxButtonState& buttonState)
const;
279 const ComboBoxState& state)
const;
301 FacetPtr<ComboBoxRenderer> _renderer;
Core module.
Definition: Allocator.h:33
Attributes for the drawing of outlines.
Definition: Pen.h:54
Slant
Describes the requested font slant.
Definition: Font.h:76
Paint context.
Definition: PaintContext.h:45
Size with floating-point width and height.
Definition: Size.h:47
Point with floating-point X and Y coordinates.
Definition: Point.h:47
Weight
Describes the requested font weight.
Definition: Font.h:61
Font request used for text drawing and measurement.
Definition: Font.h:56
Standard color type.
Definition: Color.h:47
Unicode capable basic_string.
Definition: Api-String.h:44
Fill description for shapes and text.
Definition: Brush.h:145
Rect with floating-point coordinates.
Definition: Rect.h:47