#include <EntityClassChooser.h>
Dialog window displaying a tree of Entity Classes, allowing the selection of a class to create at the current location. This widget is displayed by the OrthoContextMenu.
Definition at line 15 of file EntityClassChooser.h.
ui::EntityClassChooser::EntityClassChooser | ( | ) |
Constructor. Creates the GTK widgets.
static void ui::EntityClassChooser::addEntity | ( | EntityClassChooser * | ) | [static, private] |
static void ui::EntityClassChooser::callbackAdd | ( | GtkWidget * | , | |
EntityClassChooser * | ||||
) | [static, private] |
static void ui::EntityClassChooser::callbackCancel | ( | GtkWidget * | , | |
EntityClassChooser * | ||||
) | [static, private] |
static void ui::EntityClassChooser::callbackHide | ( | GtkWidget * | , | |
GdkEvent * | , | |||
EntityClassChooser * | ||||
) | [static, private] |
static gint ui::EntityClassChooser::callbackKeyPress | ( | GtkWidget * | widget, | |
GdkEventKey * | event, | |||
EntityClassChooser * | ||||
) | [static, private] |
static gint ui::EntityClassChooser::callbackMouseButtonPress | ( | GtkWidget * | widget, | |
GdkEventButton * | event, | |||
EntityClassChooser * | ||||
) | [static, private] |
static void ui::EntityClassChooser::callbackSelectionChanged | ( | GtkWidget * | , | |
EntityClassChooser * | ||||
) | [static, private] |
GtkWidget* ui::EntityClassChooser::createButtonPanel | ( | ) | [private] |
GtkWidget* ui::EntityClassChooser::createTreeView | ( | ) | [private] |
GtkWidget* ui::EntityClassChooser::createUsagePanel | ( | ) | [private] |
static void ui::EntityClassChooser::displayInstance | ( | const Vector3 & | point | ) | [static] |
Obtain the singleton instance and show it, passing in the required entity creation coordinates.
point | The point at which the new entity should be created |
void ui::EntityClassChooser::show | ( | const Vector3 & | point | ) |
Show the dialog and choose an entity class.
point | The point at which the new entity should be created |
void ui::EntityClassChooser::updateUsageInfo | ( | const std::string & | eclass | ) | [private] |
GtkWidget* ui::EntityClassChooser::_addButton [private] |
Definition at line 33 of file EntityClassChooser.h.
Vector3 ui::EntityClassChooser::_lastPoint [private] |
Definition at line 36 of file EntityClassChooser.h.
Definition at line 26 of file EntityClassChooser.h.
GtkTreeStore* ui::EntityClassChooser::_treeStore [private] |
Definition at line 23 of file EntityClassChooser.h.
GtkWidget* ui::EntityClassChooser::_usageTextView [private] |
Definition at line 29 of file EntityClassChooser.h.
GtkWidget* ui::EntityClassChooser::_widget [private] |
Definition at line 20 of file EntityClassChooser.h.