NewCharDialog Class Reference

Dialog displayed when adding a new character. More...

#include <dialogs.h>

List of all members.

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


Detailed Description

Dialog displayed when adding a new character.

Constructor & Destructor Documentation

NewCharDialog::NewCharDialog ( const StringVector &  names  ) 

Constructor.

Parameters:
names String vector of used character display names


Member Function Documentation

void NewCharDialog::set_character_data ( const Character ch  ) 

Set the character data to default dialog values to.

Parameters:
ch The character to set

Character NewCharDialog::get_character_data (  ) 

Get the data in the dialog.

Returns:
Completed Character object


The documentation for this class was generated from the following files:
Generated on Fri Feb 22 22:34:18 2008 for Phoenix Wright Case Editor API by  doxygen 1.5.3