#include <dialogs.h>
Public Member Functions | |
LocationsDialog (const LocationMap &locations, const BackgroundMap &bgs, const StringVector &usedIds) | |
Constructor. | |
LocationMap | get_locations () const |
Get updated location map. | |
Private Member Functions | |
void | construct () |
void | on_add () |
void | on_delete () |
void | on_add_hotspot () |
void | on_delete_hotspot () |
void | on_amend_button_clicked () |
void | on_selection_changed () |
Private Attributes | |
Gtk::Button * | m_AddButton |
Gtk::Button * | m_DeleteButton |
Gtk::Button * | m_AddHSButton |
Gtk::Button * | m_DeleteHSButton |
Gtk::Button * | m_AmendButton |
Gtk::Label * | m_LocationsLabel |
Gtk::Label * | m_DetailsLabel |
Gtk::Label * | m_IdLabel |
Gtk::Label * | m_NameLabel |
Gtk::Label * | m_BGLabel |
Gtk::Label * | m_HotspotsLabel |
Gtk::Entry * | m_IdEntry |
Gtk::Entry * | m_NameEntry |
Gtk::Entry * | m_BGEntry |
Gtk::ScrolledWindow * | m_SWindow |
Gtk::ScrolledWindow * | m_HotspotSWindow |
Gtk::TreeView * | m_TreeView |
Glib::RefPtr < Gtk::ListStore > | m_Model |
ColumnRec | m_ColumnRec |
Gtk::ListViewText * | m_HotspotList |
LocationMap | m_Locations |
BackgroundMap | m_Backgrounds |
StringVector | m_UsedIds |
Classes | |
class | ColumnRec |
LocationsDialog::LocationsDialog | ( | const LocationMap & | locations, | |
const BackgroundMap & | bgs, | |||
const StringVector & | usedIds | |||
) |
Constructor.
locations | Map of locations | |
bgs | Map of backgrounds | |
usedIds | String vector of used location internal IDs |
LocationMap LocationsDialog::get_locations | ( | ) | const [inline] |
Get updated location map.