30 #ifndef _CEGUIMenuBase_h_
31 #define _CEGUIMenuBase_h_
33 #include "../CEGUIBase.h"
34 #include "../CEGUIWindow.h"
35 #include "CEGUIMenuBaseProperties.h"
36 #include "CEGUIItemListBase.h"
40 # pragma warning(push)
41 # pragma warning(disable : 4251)
85 float getItemSpacing(
void)
const
98 bool isMultiplePopupsAllowed(
void)
const
100 return d_allowMultiplePopups;
110 bool getAutoCloseNestedPopups(
void)
const
112 return d_autoCloseNestedPopups;
135 void setItemSpacing(
float spacing)
137 d_itemSpacing = spacing;
138 handleUpdatedItemData();
149 void changePopupMenuItem(
MenuItem* item);
156 void setAllowMultiplePopups(
bool setting);
162 void setAutoCloseNestedPopups(
bool setting)
164 d_autoCloseNestedPopups = setting;
170 void setPopupMenuItemClosing();
223 virtual bool testClassName_impl(
const String& class_name)
const
225 if (class_name ==
"MenuBase")
return true;
252 void addMenuBaseProperties(
void);
258 #if defined(_MSC_VER)
259 # pragma warning(pop)
262 #endif // end of guard _CEGUIMenuBase_h_