29 #ifndef PT_FORMS_LISTBOXSTYLE_H
30 #define PT_FORMS_LISTBOXSTYLE_H
32 #include <Pt/Forms/Styler.h>
41 class PT_FORMS_API ListBoxState
46 bool isEnabled()
const;
48 void setEnabled(
bool value);
50 bool isFocused()
const;
52 void setFocused(
bool value);
82 const ListBoxState& state);
86 const ListBoxState& state);
103 const ListBoxState& state) = 0;
107 const ListBoxState& state) = 0;
150 const ListBoxState& state)
const;
156 const ListBoxState& state)
const;
170 FacetPtr<ListBoxRenderer> _renderer;
175 class PT_FORMS_API ListItemState
180 bool isEnabled()
const;
182 void setEnabled(
bool value);
184 bool isHighlighted()
const;
186 void setHighlighted(
bool value);
188 bool isFocused()
const;
190 void setFocused(
bool value);
192 bool isSelected()
const;
194 void setSelected(
bool value);
237 const ListItemState& state);
243 const ListItemState& state);
249 const ListItemState& state);
255 const ListItemState& state);
285 const ListItemState& state) = 0;
291 const ListItemState& state) = 0;
297 const ListItemState& state) = 0;
303 const ListItemState& state) = 0;
381 const ListItemState& state)
const;
387 const ListItemState& state)
const;
395 const ListItemState& state)
const;
403 const ListItemState& state)
const;
425 FacetPtr<ListItemRenderer> _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