New method Target() that returns the previously chosen target.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8115 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -29,6 +29,7 @@ class MenuItem {
|
|||||||
~MenuItem();
|
~MenuItem();
|
||||||
|
|
||||||
void SetTarget(menu_item_hook target);
|
void SetTarget(menu_item_hook target);
|
||||||
|
menu_item_hook Target() const { return fTarget; }
|
||||||
|
|
||||||
void SetMarked(bool marked);
|
void SetMarked(bool marked);
|
||||||
bool IsMarked() const { return fIsMarked; }
|
bool IsMarked() const { return fIsMarked; }
|
||||||
|
|||||||
Reference in New Issue
Block a user