edit_game Class Reference

Screen to edit game data. More...

#include <edit_game.h>

List of all members.

Public Member Functions

 edit_game (BaseObjectType *cobject, const Glib::RefPtr< Gnome::Glade::Xml > refGlade)
 window
virtual ~edit_game ()
 remove window data
void load (long gamenr)
 Read data of a game.
void save ()
 Save data again.

Public Attributes

sigc::signal< void > signal_changed
 Signal to trigger when the game is edited.

Protected Member Functions

virtual void clicked_party (const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *column)
virtual void party_changed ()
virtual void clicked_cancel ()
virtual void clicked_add_party ()
virtual void clicked_create ()
virtual void clicked_editor ()
void clear_data ()
virtual void session_handler (channel *ch)

Protected Attributes

int game_nr
Glib::RefPtr
< Gnome::Glade::Xml > 
glade
Gtk::Entry * name
Gtk::TextView * description
Glib::RefPtr
< Gtk::TextBuffer > 
desc_buffer
Gtk::ComboBox * join
Gtk::ComboBox * goal
Gtk::Entry * map_name
Gtk::Entry * game_url
Gtk::TreeView * party_list
Glib::RefPtr
< Gtk::ListStore > 
party_store
Glib::RefPtr
< Gtk::ListStore > 
join_store
Glib::RefPtr
< Gtk::ListStore > 
goal_store
edit_partyparty_window
vector< partyparty_data
Gtk::Button * cancel_game
Gtk::Button * add_party
Gtk::Button * create_game
Gtk::Label * create_label
Gtk::Button * game_editor
const ComboColumns ccols
const ModelColumns cols

Classes

class  ComboColumns
class  ModelColumns


Detailed Description

Screen to edit game data.

Constructor & Destructor Documentation

edit_game::edit_game ( BaseObjectType *  cobject,
const Glib::RefPtr< Gnome::Glade::Xml >  refGlade 
)

window

edit_game::~edit_game (  )  [virtual]

remove window data


Member Function Documentation

void edit_game::load ( long  gamenr  ) 

Read data of a game.

void edit_game::save (  ) 

Save data again.

void edit_game::clicked_party ( const Gtk::TreeModel::Path &  path,
Gtk::TreeViewColumn *  column 
) [protected, virtual]

void edit_game::party_changed (  )  [protected, virtual]

void edit_game::clicked_cancel (  )  [protected, virtual]

void edit_game::clicked_add_party (  )  [protected, virtual]

void edit_game::clicked_create (  )  [protected, virtual]

void edit_game::clicked_editor (  )  [protected, virtual]

void edit_game::clear_data (  )  [protected]

void edit_game::session_handler ( channel ch  )  [protected, virtual]


Member Data Documentation

sigc::signal<void> edit_game::signal_changed

Signal to trigger when the game is edited.

int edit_game::game_nr [protected]

Glib::RefPtr<Gnome::Glade::Xml> edit_game::glade [protected]

Gtk::Entry* edit_game::name [protected]

Gtk::TextView* edit_game::description [protected]

Glib::RefPtr<Gtk::TextBuffer> edit_game::desc_buffer [protected]

Gtk::ComboBox* edit_game::join [protected]

Gtk::ComboBox* edit_game::goal [protected]

Gtk::Entry* edit_game::map_name [protected]

Gtk::Entry* edit_game::game_url [protected]

Gtk::TreeView* edit_game::party_list [protected]

Glib::RefPtr<Gtk::ListStore> edit_game::party_store [protected]

Glib::RefPtr<Gtk::ListStore> edit_game::join_store [protected]

Glib::RefPtr<Gtk::ListStore> edit_game::goal_store [protected]

edit_party* edit_game::party_window [protected]

vector<party> edit_game::party_data [protected]

Gtk::Button* edit_game::cancel_game [protected]

Gtk::Button* edit_game::add_party [protected]

Gtk::Button* edit_game::create_game [protected]

Gtk::Label* edit_game::create_label [protected]

Gtk::Button* edit_game::game_editor [protected]

const ComboColumns edit_game::ccols [protected]

const ModelColumns edit_game::cols [protected]


The documentation for this class was generated from the following files:

Generated on Tue Jan 1 17:30:01 2008 for edit_game Class Reference by  doxygen   Visit the project page on SourceForge.net Logo