|
Packit Service |
9ac617 |
//
|
|
Packit Service |
9ac617 |
// "$Id: Fl_Select_Browser.H 9637 2012-07-24 04:37:22Z matt $"
|
|
Packit Service |
9ac617 |
//
|
|
Packit Service |
9ac617 |
// Select browser header file for the Fast Light Tool Kit (FLTK).
|
|
Packit Service |
9ac617 |
//
|
|
Packit Service |
9ac617 |
// Copyright 1998-2010 by Bill Spitzak and others.
|
|
Packit Service |
9ac617 |
//
|
|
Packit Service |
9ac617 |
// This library is free software. Distribution and use rights are outlined in
|
|
Packit Service |
9ac617 |
// the file "COPYING" which should have been included with this file. If this
|
|
Packit Service |
9ac617 |
// file is missing or damaged, see the license at:
|
|
Packit Service |
9ac617 |
//
|
|
Packit Service |
9ac617 |
// http://www.fltk.org/COPYING.php
|
|
Packit Service |
9ac617 |
//
|
|
Packit Service |
9ac617 |
// Please report all bugs and problems on the following page:
|
|
Packit Service |
9ac617 |
//
|
|
Packit Service |
9ac617 |
// http://www.fltk.org/str.php
|
|
Packit Service |
9ac617 |
//
|
|
Packit Service |
9ac617 |
|
|
Packit Service |
9ac617 |
/* \file
|
|
Packit Service |
9ac617 |
Fl_Select_Browser widget . */
|
|
Packit Service |
9ac617 |
|
|
Packit Service |
9ac617 |
#ifndef Fl_Select_Browser_H
|
|
Packit Service |
9ac617 |
#define Fl_Select_Browser_H
|
|
Packit Service |
9ac617 |
|
|
Packit Service |
9ac617 |
#include "Fl_Browser.H"
|
|
Packit Service |
9ac617 |
|
|
Packit Service |
9ac617 |
/**
|
|
Packit Service |
9ac617 |
The class is a subclass of Fl_Browser
|
|
Packit Service |
9ac617 |
which lets the user select a single item, or no items by clicking on
|
|
Packit Service |
9ac617 |
the empty space. As long as the mouse button is held down on an
|
|
Packit Service |
9ac617 |
unselected item it is highlighted. Normally the callback is done when the
|
|
Packit Service |
9ac617 |
user presses the mouse, but you can change this with when().
|
|
Packit Service |
9ac617 |
See Fl_Browser for methods to add and remove lines from the browser.
|
|
Packit Service |
9ac617 |
*/
|
|
Packit Service |
9ac617 |
class FL_EXPORT Fl_Select_Browser : public Fl_Browser {
|
|
Packit Service |
9ac617 |
public:
|
|
Packit Service |
9ac617 |
/**
|
|
Packit Service |
9ac617 |
Creates a new Fl_Select_Browser widget using the given
|
|
Packit Service |
9ac617 |
position, size, and label string. The default boxtype is FL_DOWN_BOX.
|
|
Packit Service |
9ac617 |
The constructor specializes Fl_Browser() by setting the type to FL_SELECT_BROWSER.
|
|
Packit Service |
9ac617 |
The destructor destroys the widget and frees all memory that has been allocated.
|
|
Packit Service |
9ac617 |
*/
|
|
Packit Service |
9ac617 |
Fl_Select_Browser(int X,int Y,int W,int H,const char *L=0);
|
|
Packit Service |
9ac617 |
};
|
|
Packit Service |
9ac617 |
|
|
Packit Service |
9ac617 |
#endif
|
|
Packit Service |
9ac617 |
|
|
Packit Service |
9ac617 |
//
|
|
Packit Service |
9ac617 |
// End of "$Id: Fl_Select_Browser.H 9637 2012-07-24 04:37:22Z matt $".
|
|
Packit Service |
9ac617 |
//
|