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/Pixmap.h>
81 const Pt::Gfx::Image&
icon()
const;
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
221 Pt::Gfx::Image _icon;
Policy based Auto pointer.
Definition SmartPtr.h:291
Active painting session on a Forms paint surface.
Definition PaintContext.h:51
Fill color, gradient or texture.
Definition Brush.h:151
8-bit ARGB color.
Definition Color.h:65
Font family, size and style.
Definition Font.h:63
Slant
Describes the requested font slant.
Definition Font.h:83
Weight
Describes the requested font weight.
Definition Font.h:68
Outline color, width and style.
Definition Pen.h:59
Multicast Signal to call multiple slots.
Definition Signal.h:190
Unicode capable basic_string.
Definition Api-String.h:67
Core module.
Definition Allocator.h:33