#include <dialogs.h>
Public Types | |
enum | SpriteMode { SPRITE_NEW = 0, SPRITE_EXISTING, SPRITE_FROM_GIFS } |
Specifies what type of sprite action is requested by the user. | |
Public Member Functions | |
SpriteChooserDialog () | |
Constructor. | |
SpriteMode | get_sprite_mode () const |
Get the selected sprite option. | |
Glib::ustring | get_path () const |
Get the path to open a sprite or directory of GIFs. | |
Private Member Functions | |
void | construct () |
void | on_browse_button_clicked () |
void | on_new_sprite_toggled () |
void | on_open_sprite_toggled () |
void | on_from_gifs_toggled () |
Private Attributes | |
Gtk::RadioButtonGroup | m_Group |
Gtk::RadioButton * | m_NewSpriteRB |
Gtk::RadioButton * | m_OpenSpriteRB |
Gtk::RadioButton * | m_CreateFromGifsRB |
Gtk::Label * | m_SpriteLabel |
Gtk::Label * | m_PathLabel |
Gtk::Entry * | m_PathEntry |
Gtk::Button * | m_BrowseButton |
SpriteChooserDialog::SpriteMode SpriteChooserDialog::get_sprite_mode | ( | ) | const |
Get the selected sprite option.
Glib::ustring SpriteChooserDialog::get_path | ( | ) | const [inline] |
Get the path to open a sprite or directory of GIFs.