29 #ifndef PT_FORMS_MENUITEMBASE_H
30 #define PT_FORMS_MENUITEMBASE_H
32 #include <Pt/Forms/Api.h>
33 #include <Pt/Forms/Control.h>
34 #include <Pt/Forms/PixmapSurface.h>
108 return _hasSeparator;
115 return _isHighlighted;
183 virtual void onTriggered();
205 enum OverrideFlags :
unsigned
207 OverrideBackground = 0x01,
208 OverrideContour = 0x02,
209 OverrideTextColor = 0x04,
210 OverrideFontAll = 0x08,
211 OverrideFontSize = 0x10,
212 OverrideFontWeight = 0x20,
213 OverrideFontSlant = 0x40,
214 OverrideFontAny = OverrideFontAll | OverrideFontSize
215 | OverrideFontWeight | OverrideFontSlant
Core module.
Definition: Allocator.h:33
Attributes for the drawing of outlines.
Definition: Pen.h:54
Multicast Signal to call multiple slots.
Definition: Signal.h:190
Slant
Describes the requested font slant.
Definition: Font.h:76
Active painting session on a Forms paint surface.
Definition: PaintContext.h:51
Size with floating-point width and height.
Definition: Size.h:47
Weight
Describes the requested font weight.
Definition: Font.h:61
Font request used for text drawing and measurement.
Definition: Font.h:56
Basic image.
Definition: Image.h:52
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