client/chatview.h

Go to the documentation of this file.
00001 /* $Id:chatview.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 CHATVIEW_H
00015 #define CHATVIEW_H
00016 
00017 #include <gtkmm.h>
00018 #include <libglademm.h>
00019 #include <sigc++/sigc++.h>
00020 #include <sigc++/slot.h>
00021 
00022 class ChatView : public Gtk::TextView {
00023   private:
00024 
00025   protected:
00026     Glib::RefPtr<Gnome::Glade::Xml> m_refGlade;
00027     Gtk::TextView* textview;
00028 
00029   public:
00030     ChatView(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade):
00031     Gtk::TextView(cobject),
00032     m_refGlade(refGlade) {
00033         //m_refGlade->get_widget("chat_text", textview);
00034     }
00035     ChatView() {
00036         textview=new TextView();
00037     };
00038     virtual ~ChatView();
00039     virtual bool on_button_press_event (GdkEventButton* event);
00040     sigc::signal<void, GdkEventButton*> signal_menu;
00041 };
00042 
00043 #endif // CHATVIEW_H


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