eXperiment robotics framework

erf_widgets.hpp File Reference

> Widgets More...

#include <fltk/events.h>
#include <fltk/CycleButton.h>
#include <fltk/draw.h>
#include <fltk/Cursor.h>
#include <fltk/ValueInput.h>
#include <fltk/Input.h>
#include <fltk/NumericInput.h>
#include <fltk/Window.h>
#include <fltk/Browser.h>
#include <fltk/xpmImage.h>
#include <fltk/Item.h>
#include <fltk/ItemGroup.h>
#include <fltk/Group.h>
#include <fltk/CheckButton.h>
#include <erf_debug.hpp>
#include <erf_singleton.hpp>
#include <iostream>
#include <sstream>

Include dependency graph for erf_widgets.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MaxValuesWidget
 switch the value of a boolean More...
class  ItemBrowser
#define MItems   ManagerItemsSingleton::instance()
 shortcut to a singleton of ManagerWindows.
typedef Singleton< ItemBrowserManagerItemsSingleton
template<typename T>
void callback_input (fltk::Widget *w, void *arguments)
 associate with any input to automatically update.
void callback_set_bool (fltk::Widget *w, void *arguments)
void callback_set_float (fltk::Widget *w, void *arguments)
void addBool (fltk::ItemGroup *itemGroup, const char *text, bool *b)
void addFloatRange (fltk::ItemGroup *itemGroup, const char *text, float *f, double min, double max, double step, double linesize)


Detailed Description

> Widgets

Definition in file erf_widgets.hpp.


Define Documentation

#define MItems   ManagerItemsSingleton::instance()

shortcut to a singleton of ManagerWindows.

Definition at line 106 of file erf_widgets.hpp.


Typedef Documentation

Definition at line 103 of file erf_widgets.hpp.


Function Documentation

void addBool ( fltk::ItemGroup *  itemGroup,
const char *  text,
bool *  b 
)

void addFloatRange ( fltk::ItemGroup *  itemGroup,
const char *  text,
float *  f,
double  min,
double  max,
double  step,
double  linesize 
)

template<typename T>
void callback_input ( fltk::Widget *  w,
void *  arguments 
) [inline]

associate with any input to automatically update.

Todo:
also allow this to be modified by other events to reflect current values of anything.

Definition at line 39 of file erf_widgets.hpp.

void callback_set_bool ( fltk::Widget *  w,
void *  arguments 
)

void callback_set_float ( fltk::Widget *  w,
void *  arguments 
)


The miarn project - written by Joao Xavier