#include <dialogs.h>
Public Member Functions | |
NewCharDialog (const StringVector &names) | |
Constructor. | |
void | set_character_data (const Character &ch) |
Set the character data to default dialog values to. | |
Character | get_character_data () |
Get the data in the dialog. | |
Private Member Functions | |
void | construct () |
void | on_internal_name_changed () |
void | on_check_button_clicked (const Glib::ustring &buttonId) |
void | on_browse_button_clicked (const Glib::ustring &buttonId) |
Gtk::Container * | build_general_page () |
Gtk::Container * | build_graphics_page () |
Private Attributes | |
bool | m_CheckInternals |
Gtk::RadioButtonGroup | m_Group |
Gtk::RadioButton * | m_MaleRB |
Gtk::RadioButton * | m_FemaleRB |
Gtk::RadioButton * | m_UnknownRB |
Gtk::CheckButton * | m_HasTagCB |
Gtk::CheckButton * | m_HasHeadshotCB |
Gtk::Notebook * | m_NB |
Gtk::Button * | m_OKButton |
Gtk::Button * | m_TagBrowseButton |
Gtk::Button * | m_HeadshotBrowseButton |
Gtk::Label * | m_CodeNameLabel |
Gtk::Label * | m_NameLabel |
Gtk::Label * | m_GenderLabel |
Gtk::Label * | m_CapLabel |
Gtk::Label * | m_DescLabel |
Gtk::Label * | m_SpriteLabel |
Gtk::Label * | m_TextBoxLabel |
Gtk::Label * | m_HeadshotLabel |
Gtk::Entry * | m_CodeNameEntry |
Gtk::Entry * | m_NameEntry |
Gtk::Entry * | m_CapEntry |
Gtk::Entry * | m_DescEntry |
Gtk::Entry * | m_SpriteEntry |
Gtk::Image * | m_TextBoxImage |
Gtk::Image * | m_HeadshotImage |
StringVector | m_UsedNames |
NewCharDialog::NewCharDialog | ( | const StringVector & | names | ) |
Constructor.
names | String vector of used character display names |
void NewCharDialog::set_character_data | ( | const Character & | ch | ) |
Set the character data to default dialog values to.
ch | The character to set |
Character NewCharDialog::get_character_data | ( | ) |