FLTK Utility Library and Widget Collection (FLU): Flu_Separator.h Source File

Main Page | Class Hierarchy | Class List | File List | Class Members

# Flu_Separator.h

    00001 // $Id: Flu_Separator.h,v 1.6 2003/08/20 16:29:42 jbryan Exp $
    00002
    00003 /***************************************************************
    00004  *                FLU - FLTK Utility Widgets
    00005  *  Copyright (C) 2002 Ohio Supercomputer Center, Ohio State University
    00006  *
    00007  * This file and its content is protected by a software license.
    00008  * You should have received a copy of this license with this file.
    00009  * If not, please contact the Ohio Supercomputer Center immediately:
    00010  * Attn: Jason Bryan Re: FLU 1224 Kinnear Rd, Columbus, Ohio 43212
    00011  *
    00012  ***************************************************************/
    00013
    00014
    00015
    00016 #ifndef _FLU_SEPARATOR_H
    00017 #define _FLU_SEPARATOR_H
    00018
    00019 /* fltk includes */
    00020 #include <FL/Fl.H>
    00021 #include <FL/Fl_Widget.H>
    00022 #include <FL/fl_draw.H>
    00023
    00024 #include "FLU/Flu_Enumerations.h"
    00025
    00027 class FLU_EXPORT Flu_Separator : public Fl_Widget
    00028 {
    00029  public:
    00030
    00031   enum {
    00032     HORIZONTAL,
    00033     VERTICAL
    00034   };
    00035
    00037   Flu_Separator( int X, int Y, int W, int H, const char *l = 0 );
    00038
    00040   inline int type() const
    00041     { return _type; }
    00042
    00044   inline void type( int t )
    00045     { _type = t; }
    00046
    00047  protected:
    00048
    00049   int _type;
    00050
    00051   void draw();
    00052
    00053 };
    00054
    00055 #endif