ui::OrthoContextMenu Class Reference
#include <OrthoContextMenu.h>
Detailed Description
Displays a menu when the mouse is right-clicked in the ortho window. This is a singleton class which remains in existence once constructed, and is hidden and displayed as appropriate.
Definition at line 14 of file OrthoContextMenu.h.
Constructor & Destructor Documentation
ui::OrthoContextMenu::OrthoContextMenu |
( |
|
) |
|
Constructor. Create the GTK content here.
Member Function Documentation
void ui::OrthoContextMenu::checkConnectEntities |
( |
|
) |
[private] |
Enables or disables the "connect entities" option (two entities must be selected to connect them)
void ui::OrthoContextMenu::checkConvertStatic |
( |
|
) |
[private] |
void ui::OrthoContextMenu::checkFitTexture |
( |
|
) |
[private] |
Enables or disables the "fit texture" option
void ui::OrthoContextMenu::checkGenerateMaterial |
( |
|
) |
[private] |
Enables or disables the "generate material" option
void ui::OrthoContextMenu::checkGenerateTerrain |
( |
|
) |
[private] |
Enables or disables the "generate terrain" option
static void ui::OrthoContextMenu::displayInstance |
( |
const Vector3 & |
point |
) |
[static] |
Static instance display function. Obtain the singleton instance and call its show() function.
- Parameters:
-
| point | The point in 3D space at which the chosen operation should take place. |
void ui::OrthoContextMenu::show |
( |
const Vector3 & |
point |
) |
|
Display the menu at the current mouse position, and act on the choice.
- Parameters:
-
| point | The point in 3D space at which the chosen operation should take place. |
Field Documentation
The documentation for this class was generated from the following file: