logo
Main Page | Namespaces | Classes | Compounds | Files | Compound Members | Related

SynthGUI::SlideInput Class Reference

A combined slider and text box input component. More...

#include <AInput.h>

Inheritance diagram for SynthGUI::SlideInput:

GUIToolkit::Component GUIToolkit::EventHandler List of all members.

Public Methods

 SlideInput (std::string s, float min, float max, int steps, bool integral)
 ~SlideInput ()
 Destructor.

void PutInWinForm (WinForm *WF, int x0, int x1, int y0, int y1)
 Places component on WinForm.

void HandleEvents (event ev)
 Set user event handler.

float getValue ()
 Returns value.


Detailed Description

A combined slider and text box input component.

Definition at line 88 of file AInput.h.


Constructor & Destructor Documentation

SynthGUI::SlideInput::SlideInput std::string    s,
float    min,
float    max,
int    steps,
bool    integral
 

's' is the caption of the module. The allowed interval is [min;max] quantized in 'steps' steps. 'integral' can be set to true, if only integral values are allowed.

Definition at line 133 of file AInput.cpp.


The documentation for this class was generated from the following files:
Syntopia Project. Visit the web page, or the SourceForge page.
Docs made by Doxygen. Email: Mikael Christensen