client/edit_party.h

Go to the documentation of this file.
00001 /* $Id:edit_party.h jjs $ */
00002 /*
00003    Copyright (C) 2007 by Jurjen Stellingwerff <jurjen@stwerff.xs4all.nl>
00004    Part of the Moros Project http://moros.sourceforge.net/
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License.
00008    This program is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY.
00010 
00011    See the COPYING file for more details.
00012 */
00013 
00014 #ifndef EDIT_PARTY_H
00015 #define EDIT_PARTY_H
00016 
00017 #include <gtkmm.h>
00018 #include <libglademm.h>
00019 #include "list_games.h"
00020 #include "../central/party.h"
00021 
00023 
00024 class edit_party : public Gtk::Window {
00025   public:
00026     edit_party(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> refGlade); 
00027     virtual ~edit_party();   
00028     void set_party(party *data, bool isnew, sigc::signal<void> ready);
00029     sigc::signal<void> signal_ready;
00030     party *party_data;
00032 
00033   protected:
00034     Glib::RefPtr<Gnome::Glade::Xml> glade;
00035     Gtk::Entry* party_name;
00036     Gtk::TextView* party_descr;
00037     Glib::RefPtr<Gtk::TextBuffer> descr_buffer;
00038     Gtk::Button* party_cancel;
00039     virtual void clicked_cancel();
00040     Gtk::Button* party_delete;
00041     virtual void clicked_delete();
00042     Gtk::Button* party_ready;
00043     virtual void clicked_ready();
00044     Gtk::Label* party_create;
00045 };
00046 
00047 #endif //EDIT_PARTY_H


Generated on Tue Jan 1 17:30:00 2008 for client/edit_party.h Source File by  doxygen   Visit the project page on SourceForge.net Logo