|
Harlinn.Windows 0.1
|
#include <HWMenu.h>
Public Types | |
| typedef MenuItem | Base |
Public Member Functions | |
| SeparatorMenuItem (Menu *parentMenu) | |
Public Member Functions inherited from Harlinn::Windows::MenuItem | |
| MenuItem (Menu *parentMenu) | |
| MenuItem (const MenuItem &other)=delete | |
| MenuItem (MenuItem &&other)=delete | |
| MenuItem & | operator= (const MenuItem &other)=delete |
| MenuItem & | operator= (MenuItem &&other)=delete |
| virtual | ~MenuItem ()=default |
| MenuItems & | ParentMenuItems () const |
| Menu * | ParentMenu () const |
| int | IndexOf () const |
| BitmapHandle | Bitmap () const noexcept |
| MenuItem & | SetBitmap (const BitmapHandle &bitmap) |
| BitmapHandle | CheckedBitmap () const noexcept |
| MenuItem & | SetCheckedBitmap (const BitmapHandle &checkedBitmap) |
| BitmapHandle | UncheckedBitmap () const noexcept |
| MenuItem & | SetUncheckedBitmap (const BitmapHandle &uncheckedBitmap) |
| constexpr bool | IsChecked () const noexcept |
| MenuItem & | SetChecked (bool value=true) |
| constexpr bool | IsDefault () const noexcept |
| MenuItem & | SetDefault (bool value=true) |
| constexpr bool | IsDisabled () const noexcept |
| MenuItem & | SetDisabled (bool value=true) |
| constexpr bool | IsEnabled () const noexcept |
| MenuItem & | SetEnabled (bool value=true) |
| constexpr bool | IsGrayed () const noexcept |
| MenuItem & | SetGrayed (bool value=true) |
| constexpr bool | IsHighlighted () const noexcept |
| MenuItem & | SetHighlighted (bool value=true) |
Protected Member Functions | |
| virtual void | DoOnAdd () const override |
Protected Member Functions inherited from Harlinn::Windows::MenuItem | |
| virtual HW_EXPORT void | DoOnRemove () const |
| virtual HW_EXPORT void | UpdateMenuItem () const |
| virtual HW_EXPORT void | InitializeMenuItemInfo (MENUITEMINFOW &info) const |
| virtual HW_EXPORT void | DoOnMenuCommand (Message &message) |
| virtual HW_EXPORT void | DoOnMeasureItem (MEASUREITEMSTRUCT &measureItemStruct) |
| virtual HW_EXPORT void | DoOnDrawItem (DRAWITEMSTRUCT &drawItemStruct) |
Additional Inherited Members | |
Public Attributes inherited from Harlinn::Windows::MenuItem | |
| boost::signals2::signal< void(MenuItem *sender)> | OnClick |
| boost::signals2::signal< void(MenuItem *sender, MEASUREITEMSTRUCT &measureItemStruct)> | OnMeasureItem |
| boost::signals2::signal< void(MenuItem *sender, DRAWITEMSTRUCT &drawItemStruct)> | OnDrawItem |
|
inline |
|
inlineoverrideprotectedvirtual |
Reimplemented from Harlinn::Windows::MenuItem.