5#ifndef JPP_I_GUI_CONTEXT_MENU_HPP_INCLUDED
6#define JPP_I_GUI_CONTEXT_MENU_HPP_INCLUDED
8#include <jimcpp/core/engine/IGUIElement.hpp>
64 virtual u32 addItem(
const wchar_t* text,
s32 commandId=-1,
bool enabled=
true,
65 bool hasSubMenu=
false,
bool checked=
false,
bool autoChecking=
false) = 0;
82 bool hasSubMenu=
false,
bool checked=
false,
bool autoChecking=
false) = 0;
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.hpp:22
Base class of all GUI elements.
Definition IGUIElement.hpp:24
GUI Environment. Used as factory and manager of all other GUI elements.
Definition IGUIEnvironment.hpp:73
ECONTEXT_MENU_CLOSE
Definition IGUIContextMenu.hpp:17
@ ECMC_HIDE
call setVisible(false)
Definition IGUIContextMenu.hpp:25
@ ECMC_REMOVE
remove the gui element
Definition IGUIContextMenu.hpp:22
@ ECMC_IGNORE
do nothing - menu stays open
Definition IGUIContextMenu.hpp:19
@ EGUIET_CONTEXT_MENU
A context menu (IGUIContextMenu)
Definition EGUIElementTypes.hpp:29
As of Jimcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int s32
32 bit signed variable.
Definition irrTypes.hpp:72
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64