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

SynthGUI::AInput Class Reference

Combined drop box / slider component. More...

#include <AInput.h>

Inheritance diagram for SynthGUI::AInput:

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

Public Methods

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

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

void HandleEvents (event ev)
 Call this to set eventhandler. (Lot of 'background' code in this!).

float getValue ()
 Return current value.

void setValue (float f)
 Sets current value.


Detailed Description

Combined drop box / slider component.

Special UI component. A drop down box allows the user to choose between different input methods: drop down, slider or text box input Used to select mappable parameters in the Synth GUI.

Definition at line 39 of file AInput.h.


Constructor & Destructor Documentation

SynthGUI::AInput::AInput 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 12 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