MenuPrivate: Add a SetLayout() method to MenuPrivate
that allows you to set the menu_layout of the menu after construction.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2006-2011, Haiku, Inc.
|
||||
* Copyright 2006-2015 Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
@@ -36,6 +36,7 @@ public:
|
||||
MenuPrivate(BMenu* menu);
|
||||
|
||||
menu_layout Layout() const;
|
||||
void SetLayout(menu_layout layout);
|
||||
|
||||
void ItemMarked(BMenuItem* item);
|
||||
void CacheFontInfo();
|
||||
|
||||
Reference in New Issue
Block a user