#include <dialogs.h>
Public Member Functions | |
BackgroundsDialog (const BackgroundMap &bgs, const StringVector &bgIds) | |
Constructor. | |
BackgroundMap | get_backgrounds () const |
Get the backgrounds stored in the dialog. | |
Private Member Functions | |
void | construct () |
void | on_add () |
void | on_delete () |
void | on_selection_changed () |
Private Attributes | |
Gtk::ScrolledWindow * | m_SWindow |
Gtk::TreeView * | m_ListView |
Glib::RefPtr < Gtk::ListStore > | m_ListModel |
Gtk::Image * | m_Image |
Gtk::Label * | m_BGLabel |
Gtk::Label * | m_PreviewLabel |
Gtk::Button * | m_AddButton |
Gtk::Button * | m_DeleteButton |
ColumnRec | m_ColumnRec |
BackgroundMap | m_Backgrounds |
StringVector | m_BGIds |
Classes | |
class | ColumnRec |
BackgroundsDialog::BackgroundsDialog | ( | const BackgroundMap & | bgs, | |
const StringVector & | bgIds | |||
) |
Constructor.
bgs | Map of backgrounds | |
bgIds | String vector of used background internal IDs |
BackgroundMap BackgroundsDialog::get_backgrounds | ( | ) | const [inline] |
Get the backgrounds stored in the dialog.