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

Fl_Main_Window.h

00001 /*
00002  * $Id: Fl_Main_Window.h,v 1.8 2003/05/13 19:04:00 laza2000 Exp $
00003  *
00004  * Extended Fast Light Toolkit (EFLTK)
00005  * Copyright (C) 2002-2003 by EDE-Team
00006  * WWW: http://www.sourceforge.net/projects/ede
00007  *
00008  * Fast Light Toolkit (FLTK)
00009  * Copyright (C) 1998-2003 by Bill Spitzak and others.
00010  * WWW: http://www.fltk.org
00011  *
00012  * This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE
00013  * version 2. See COPYING for details.
00014  *
00015  * Author : Mikko Lahteenmaki
00016  * Email  : mikko@fltk.net
00017  *
00018  * Please report all bugs and problems to "efltk-bugs@fltk.net"
00019  *
00020  */
00021 
00022 #ifndef _FL_MAINWINDOW_H_
00023 #define _FL_MAINWINDOW_H_
00024 
00025 #include "Fl_Double_Window.h"
00026 #include "Fl_Window.h"
00027 #include "Fl_Button.h"
00028 #include "Fl_Box.h"
00029 #include "Fl_Widget.h"
00030 #include "Fl_Pack.h"
00031 #include "Fl_Bar.h"
00032 #include "Fl.h"
00033 #include "Fl_Menu_Bar.h"
00034 #include "Fl_Tool_Bar.h"
00035 
00036 typedef Fl_Window Fl_Main_WindowType;
00037 //typedef Fl_Double_Window Fl_Main_WindowType;
00038 
00046 class Fl_Main_Window : public Fl_Main_WindowType
00047 {
00048 public:
00052     Fl_Main_Window(int x, int y, int w, int h, const char *l=0);
00053 
00057     Fl_Main_Window(int w, int h, const char *l=0);
00058 
00060     ~Fl_Main_Window();
00061 
00066     void menu(Fl_Menu_Bar *w);
00071     Fl_Menu_Bar *menu();
00072 
00077     void toolbar(Fl_Tool_Bar *w);
00082     Fl_Tool_Bar *toolbar();
00083 
00091     void view(Fl_Group *w);
00096     Fl_Group *view();
00097 
00104     void status(Fl_Widget *w);
00110     Fl_Widget *status();
00111 
00112 private:
00113     Fl_Menu_Bar *m_menu;
00114     Fl_Tool_Bar *m_toolbar;
00115     Fl_Group    *m_view;
00116     Fl_Widget   *m_status;
00117 };
00118 
00119 #endif

Generated on Thu Jul 31 15:33:44 2003 for eFLTK by doxygen1.2.15