30 #ifndef Pt_Forms_StyleOptions_h
31 #define Pt_Forms_StyleOptions_h
33 #include <Pt/Forms/Api.h>
34 #include <Pt/Gfx/Pen.h>
35 #include <Pt/Gfx/Brush.h>
36 #include <Pt/Gfx/Font.h>
37 #include <Pt/Gfx/Color.h>
39 #include <Pt/NonCopyable.h>
40 #include <Pt/SmartPtr.h>
70 virtual const std::type_info&
typeInfo()
const = 0;
107 return any_cast<const T&>(_value);
208 bool operator!=(
const Iterator& o)
const
209 {
return _ptr != o._ptr; }
211 bool operator==(
const Iterator& o)
const
212 {
return _ptr == o._ptr; }
267 const Gfx::Color& placeholderTextColor()
const;
269 void setPlaceholderTextColor(
const Gfx::Color& c);
271 const Gfx::Color& highlightedTextColor()
const;
273 void setHighlightedTextColor(
const Gfx::Color& c);
275 const Gfx::Brush& alternateViewBackground()
const;
277 void setAlternateViewBackground(
const Gfx::Brush& b);
316 std::size_t _generation;
317 std::vector<StyleOption*> _options;
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
Policy based Auto pointer.
Definition: SmartPtr.h:291
Weight
Describes the requested font weight.
Definition: Font.h:61
Font request used for text drawing and measurement.
Definition: Font.h:56
Contains an arbitrary type.
Definition: Any.h:64
Standard color type.
Definition: Color.h:47
Fill description for shapes and text.
Definition: Brush.h:145