#include <customizedialog.h>
Public Member Functions | |
CustomizeDialog (const Case::Overrides &overrides, const ImageMap &images) | |
Constructor. | |
Case::Overrides | get_data () |
Get the modified overrides data. | |
Protected Member Functions | |
void | construct (const ImageMap &images) |
Build the dialog's UI. | |
void | on_text_box_custom_image_toggled () |
void | on_text_box_customize_toggled () |
void | on_text_box_image_changed () |
void | on_text_box_alpha_changed () |
void | on_title_screen_customize_toggled () |
void | on_title_screen_image_changed () |
Gtk::Widget * | build_text_box_page () |
Gtk::Widget * | build_title_screen_page () |
Protected Attributes | |
Gtk::Notebook * | m_NB |
Gtk::Label * | m_TextBoxAlphaLabel |
Gtk::Label * | m_TitleScreenLabel |
Gtk::Image * | m_TitleScreenPreview |
AlphaImage * | m_TextBoxPreview |
ImgComboBox * | m_TextBoxImgCB |
ImgComboBox * | m_TitleScreenImgCB |
Gtk::SpinButton * | m_TextBoxAlphaSB |
Gtk::CheckButton * | m_TextBoxCB |
Gtk::CheckButton * | m_TitleScreenCB |
Gtk::CheckButton * | m_CustomImageCB |
Users can choose to customize certain parts of the player that are otherwise hardcoded. This dialog provides an easy way for the user to change the defaults
CustomizeDialog::CustomizeDialog | ( | const Case::Overrides & | overrides, | |
const ImageMap & | images | |||
) |
Constructor.
overrides | Case::Overrides struct to set default values in dialog | |
images | Map of images |
Case::Overrides CustomizeDialog::get_data | ( | ) |
Get the modified overrides data.
void CustomizeDialog::construct | ( | const ImageMap & | images | ) | [protected] |
Build the dialog's UI.
images | Map of images |