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

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

# Flu_Combo_Tree.h

    00001 // $Id: Flu_Combo_Tree.h,v 1.6 2004/03/24 02:49:00 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_COMBO_TREE_H
    00017 #define _FLU_COMBO_TREE_H
    00018
    00019 #include "FLU/Flu_Combo_Box.h"
    00020 #include "FLU/Flu_Tree_Browser.h"
    00021
    00023 class FLU_EXPORT Flu_Combo_Tree : public Flu_Combo_Box
    00024 {
    00025
    00026 public:
    00027
    00029   Flu_Combo_Tree( int x, int y, int w, int h, const char *l = 0 );
    00030
    00032   ~Flu_Combo_Tree();
    00033
    00035   Flu_Tree_Browser tree;
    00036
    00037  protected:
    00038
    00039   bool _value( const char *v );
    00040   const char* _next();
    00041   const char* _previous();
    00042   void _hilight( int x, int y );
    00043
    00044   inline static void _cb( Fl_Widget *w, void *arg )
    00045     { ((Flu_Combo_Tree*)arg)->cb(); }
    00046   void cb();
    00047
    00048 };
    00049
    00050 #endif