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

pandatool/src/gtk-stats/gtkStatsMainWindow.h

Go to the documentation of this file.
00001 // Filename: gtkStatsMainWindow.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 GTKSTATSMAINWINDOW_H
00020 #define GTKSTATSMAINWINDOW_H
00021 
00022 #include <pandatoolbase.h>
00023 
00024 #include <basicGtkWindow.h>
00025 
00026 class GtkStatsServer;
00027 
00028 ////////////////////////////////////////////////////////////////////
00029 //       Class : GtkStatsMainWindow
00030 // Description : This is the main window that's opened up and stays up
00031 //               all the time when you run gtk-stats.  It just shows
00032 //               that it's running.
00033 ////////////////////////////////////////////////////////////////////
00034 class GtkStatsMainWindow : public BasicGtkWindow {
00035 public:
00036   GtkStatsMainWindow(int port);
00037   virtual ~GtkStatsMainWindow();
00038   virtual bool destruct();
00039 
00040 private:
00041   void layout_window();
00042   void close_clicked();
00043   gint idle_callback();
00044 
00045   int _port;
00046   GtkStatsServer *_server;
00047 };
00048 
00049 
00050 #endif
00051 

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