00001 /* 00002 * ThreeDView.h 00003 * Copyright (C) Eduardo Wiputra 2009 <ewiputra@users.sourceforge.net> 00004 * 00005 * ThreeDView.h is free software: you can redistribute it and/or modify it 00006 * under the terms of the GNU General Public License as published by the 00007 * Free Software Foundation, either version 3 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * ThreeDView.h is distributed in the hope that it will be useful, but 00011 * WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00013 * See the GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along 00016 * with this program. If not, see <http://www.gnu.org/licenses/>. 00017 */ 00018 00019 #ifndef ThreeDView_H 00020 #define ThreeDView_H 00021 00022 #include <gtkmm.h> 00023 00024 namespace uvsim 00025 { 00031 class ThreeDView : public Gtk::DrawingArea 00032 { 00033 public: 00039 ThreeDView(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& glade); 00044 bool on_expose_event(GdkEventExpose* ev); 00045 private: 00050 const Glib::RefPtr<Gtk::Builder> & m_glade; 00051 }; 00052 } 00053 #endif 00054 00055 // vim:ts=2:sw=2