|
Harlinn.Windows 0.1
|
#include <HWMenu.h>
Public Types | |
| using | Base = MenuItem |
Public Member Functions | |
| TextMenuItem (Menu *parentMenu, const wchar_t *text) | |
| TextMenuItem (Menu *parentMenu, const WideString &text) | |
| TextMenuItem & | SetText (const wchar_t *text) |
| TextMenuItem & | SetText (const WideString &text) |
| const WideString & | Text () const |
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 | InitializeMenuItemInfo (MENUITEMINFOW &info) const override |
Protected Member Functions inherited from Harlinn::Windows::MenuItem | |
| virtual HW_EXPORT void | DoOnAdd () const |
| virtual HW_EXPORT void | DoOnRemove () const |
| virtual HW_EXPORT void | UpdateMenuItem () const |
| virtual HW_EXPORT void | DoOnMenuCommand (Message &message) |
| virtual HW_EXPORT void | DoOnMeasureItem (MEASUREITEMSTRUCT &measureItemStruct) |
| virtual HW_EXPORT void | DoOnDrawItem (DRAWITEMSTRUCT &drawItemStruct) |
Private Attributes | |
| WideString | text_ |
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 |
|
inline |
|
inlineoverrideprotectedvirtual |
Reimplemented from Harlinn::Windows::MenuItem.
|
inline |
|
inline |
|
inline |
|
private |