29 #ifndef Pt_Forms_SpinBoxStyle_h
30 #define Pt_Forms_SpinBoxStyle_h
32 #include <Pt/Forms/Style.h>
48 bool hasOverrides()
const;
50 std::size_t generation()
const;
58 void setContour(
const Gfx::Pen& pen);
72 void setFontSize(std::size_t size);
90 bool hasOverride(StyleOverride mask)
const;
92 void setOverride(StyleOverride mask);
100 std::size_t _generation;
114 bool isEnabled()
const;
116 void setEnabled(
bool value);
118 bool isHovered()
const;
120 void setHovered(
bool value);
122 bool isFocused()
const;
124 void setFocused(
bool value);
126 bool isEditable()
const;
128 void setEditable(
bool value);
130 bool isUpPressed()
const;
132 void setUpPressed(
bool value);
134 bool isUpHovered()
const;
136 void setUpHovered(
bool value);
138 bool isDownPressed()
const;
140 void setDownPressed(
bool value);
142 bool isDownHovered()
const;
144 void setDownHovered(
bool value);
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
Policy based Auto pointer.
Definition: SmartPtr.h:291
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