Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

pandatool/src/gtkbase/gtkBase.h

Go to the documentation of this file.
00001 // Filename: gtkBase.h
00002 // Created by:  drose (14Jul00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef GTKBASE_H
00020 #define GTKBASE_H
00021 
00022 #include <pandatoolbase.h>
00023 
00024 #include <programBase.h>
00025 
00026 #include <gtk--.h>
00027 
00028 ////////////////////////////////////////////////////////////////////
00029 //       Class : GtkBase
00030 // Description : This is a specialization of ProgramBase for programs
00031 //               that use the Gtk-- GUI toolkit.
00032 ////////////////////////////////////////////////////////////////////
00033 class GtkBase : public ProgramBase {
00034 public:
00035   GtkBase();
00036   ~GtkBase();
00037 
00038   virtual void parse_command_line(int argc, char *argv[]);
00039   void main_loop();
00040 
00041 public:
00042   static Gtk::Main *_gtk;
00043 };
00044 
00045 #endif
00046 
00047 

Generated on Fri May 2 03:20:05 2003 for Panda-Tool by doxygen1.3