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

Fl_Divider.h

00001 /*
00002  * $Id: Fl_Divider.h,v 1.4 2003/03/15 16:09:55 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_DIVIDER_H_
00023 #define _FL_DIVIDER_H_
00024 
00025 #include "Fl_Widget.h"
00026 
00028 class FL_API Fl_Divider : public Fl_Widget {
00029 public:
00030     Fl_Divider(int x, int y, int w, int h, const char *l=0);
00031     Fl_Divider(int w, int h);
00032     Fl_Divider();
00033 
00034     enum {
00035         HORIZONTAL = RESERVED_TYPE+10,
00036         VERTICAL   = RESERVED_TYPE+11
00037     };
00038 
00039     virtual void draw();
00040 };
00041 
00043 class Fl_VertDivider : public Fl_Divider {
00044 public:
00045     Fl_VertDivider(int x, int y, int w, int h, const char *l) : Fl_Divider(x,y,w,h,l) { type(Fl_Divider::VERTICAL); }
00046     Fl_VertDivider(int w, int h) : Fl_Divider(w,h) { type(Fl_Divider::VERTICAL); }
00047     Fl_VertDivider() : Fl_Divider() { type(Fl_Divider::VERTICAL); }
00048 };
00049 
00051 class Fl_Menu_Divider : public Fl_Divider {
00052 public:
00053     Fl_Menu_Divider() : Fl_Divider() { h(2); }
00054 };
00055 
00056 #endif

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