#include <ui_config.H>
Public Member Functions | |
ui_config_t () | |
New UI configuration. | |
~ui_config_t () | |
Destructor, does nothing. | |
GladeXML * | init (std::string glade_file) |
Init UI and set the associated GladeXML. | |
gboolean | gui_init () |
Used to check/set if the GUI has be initialized. | |
void | app_finished () |
Set the flag that the program has finished. | |
gboolean | is_app_finished () const |
Check if the program has signalled that it should be finished. | |
Public Attributes | |
gchar * | m_object_file |
xml_doc_t | m_object_doc |
Filename of current object file. | |
xml_node_t | m_object_root |
Current object file doc. | |
guint | m_selection |
Root of current object file. | |
xml_node_t | m_selection_node |
Current object selection index on main window. | |
gboolean | m_has_selection |
Current node selected on main window. | |
GtkTreeIter | m_object_selection |
Is there a current selection made. | |
GtkTreeIter | m_sensors_selection |
Points to current object selection. | |
GtkTreeIter | m_goals_selection |
Points to current sensor selection. | |
std::vector< GtkTreeIter > | m_goals_selections |
Points to current (last) goal selection. | |
Private Attributes | |
gboolean | m_init |
All currently selected goals. | |
gboolean | m_gui_init |
Is the program initialized? | |
gboolean | m_app_finished |
Is the GUI initialized? |
ui_config_t::ui_config_t | ( | ) |
New UI configuration.
Sets init, gui_init, and app_finished to false.
References m_app_finished, m_gui_init, and m_init.
ui_config_t::~ui_config_t | ( | ) |
Destructor, does nothing.
void ui_config_t::app_finished | ( | ) |
Set the flag that the program has finished.
References m_app_finished.
gboolean ui_config_t::gui_init | ( | ) |
Used to check/set if the GUI has be initialized.
References m_gui_init.
Referenced by on_main_map_event().
GladeXML * ui_config_t::init | ( | std::string | glade_file | ) |
gboolean ui_config_t::is_app_finished | ( | ) | const |
Check if the program has signalled that it should be finished.
References m_app_finished.
gboolean cajun::ui_config_t::m_app_finished [private] |
Is the GUI initialized?
Referenced by app_finished(), is_app_finished(), and ui_config_t().
GtkTreeIter cajun::ui_config_t::m_goals_selection |
Points to current sensor selection.
Referenced by editgoals_selection_foreach_func(), and on_editgoals_edit_button_clicked().
std::vector<GtkTreeIter> cajun::ui_config_t::m_goals_selections |
Points to current (last) goal selection.
Referenced by editgoals_selection_foreach_func(), on_editgoals_down_button_clicked(), on_editgoals_remove_button_clicked(), and on_editgoals_up_button_clicked().
gboolean cajun::ui_config_t::m_gui_init [private] |
Is the program initialized?
Referenced by gui_init(), and ui_config_t().
gboolean cajun::ui_config_t::m_has_selection |
Current node selected on main window.
Referenced by get_selected_object(), on_newfile_event(), on_object_treeview_cursor_changed(), and selection_foreach_func().
gboolean cajun::ui_config_t::m_init [private] |
All currently selected goals.
Referenced by init(), and ui_config_t().
xml_doc_t cajun::ui_config_t::m_object_doc |
Filename of current object file.
Referenced by load_object_file(), new_object_file(), on_newfile_event(), on_saveasfile_event(), and on_savefile_event().
Referenced by on_newfile_event(), on_openfile_event(), on_saveasfile_event(), on_savefile_event(), openfile_dialog(), and saveasfile_dialog().
xml_node_t cajun::ui_config_t::m_object_root |
Current object file doc.
Referenced by add_new_autonomous_object(), add_new_dynamic_object(), add_new_mesh_object(), add_new_static_object(), get_selected_object(), load_object_file(), new_object_file(), on_newfile_event(), on_saveasfile_event(), on_savefile_event(), and reload_props().
GtkTreeIter cajun::ui_config_t::m_object_selection |
Is there a current selection made.
Referenced by on_removeobject_button_clicked(), and selection_foreach_func().
Root of current object file.
Referenced by get_selected_object(), on_newfile_event(), and selection_foreach_func().
xml_node_t cajun::ui_config_t::m_selection_node |
Current object selection index on main window.
Referenced by get_selected_object(), on_editgoals_button_clicked(), on_editgoals_save_button_clicked(), on_editsensors_button_clicked(), on_editsensors_save_button_clicked(), on_newfile_event(), and on_properties_save_button_clicked().
GtkTreeIter cajun::ui_config_t::m_sensors_selection |
Points to current object selection.
Referenced by on_editsensors_edit_button_clicked(), on_editsensors_remove_button_clicked(), and on_editsensors_treeview_cursor_changed().