#include <albaGUILutSlider.h>
|
| albaGUILutSlider (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxBORDER_SIMPLE|wxCLIP_CHILDREN, const char *middleButtonTitle="windowing") |
|
| ~albaGUILutSlider () |
|
void | SetListener (albaObserver *listener) |
|
void | SetRange (double rmin, double rmax) |
|
void | SetRange (double *range) |
|
void | GetRange (double *rmin, double *rmax) |
|
void | GetRange (double *range) |
|
void | SetSubRange (double low, double hi) |
|
void | SetSubRange (const double *range) |
|
void | GetSubRange (double *low, double *hi) |
|
void | GetSubRange (double *range) |
|
void | MoveButton (int id, int pos) |
|
void | ReleaseButton () |
|
void | ShowEntry (int id) |
|
void | SetText (long i, wxString text) |
|
void | SetColour (long i, wxColour colour) |
|
void | SetFloatingPointTextOn () |
|
void | SetFloatingPointTextOff () |
|
void | SetFixedTextOn () |
|
void | SetFixedTextOff () |
|
void | SetFixedTextMinButton (const char *label) |
|
void | SetFixedTextMaxButton (const char *label) |
|
void | EnableMiddleButton (bool enable) |
|
void | EnableMaxButton (bool enable) |
|
void | EnableMinButton (bool enable) |
|
albaGUILutSlider is a Label that notify user-click using the normal wxEvents.
It is used on the title bar of albaGUINamedPanel to popup a menu.
Definition at line 39 of file albaGUILutSlider.h.
◆ ID_ARG_MOUSE_MOVE
Enumerator |
---|
ID_MOUSE_RELEASE | |
ID_MOUSE_MOVE | |
ID_MOUSE_D_CLICK_LEFT | |
Definition at line 52 of file albaGUILutSlider.h.
◆ ID_BUTTON
◆ albaGUILutSlider()
albaGUILutSlider::albaGUILutSlider |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id, |
|
|
const wxPoint & |
pos = wxDefaultPosition , |
|
|
const wxSize & |
size = wxDefaultSize , |
|
|
long |
style = wxBORDER_SIMPLE|wxCLIP_CHILDREN , |
|
|
const char * |
middleButtonTitle = "windowing" |
|
) |
| |
◆ ~albaGUILutSlider()
albaGUILutSlider::~albaGUILutSlider |
( |
| ) |
|
◆ SetListener()
void albaGUILutSlider::SetListener |
( |
albaObserver * |
listener | ) |
|
|
inline |
◆ SetRange() [1/2]
void albaGUILutSlider::SetRange |
( |
double |
rmin, |
|
|
double |
rmax |
|
) |
| |
Set the range of the double slider.
◆ SetRange() [2/2]
void albaGUILutSlider::SetRange |
( |
double * |
range | ) |
|
|
inline |
◆ GetRange() [1/2]
void albaGUILutSlider::GetRange |
( |
double * |
rmin, |
|
|
double * |
rmax |
|
) |
| |
|
inline |
◆ GetRange() [2/2]
void albaGUILutSlider::GetRange |
( |
double * |
range | ) |
|
|
inline |
◆ SetSubRange() [1/2]
void albaGUILutSlider::SetSubRange |
( |
double |
low, |
|
|
double |
hi |
|
) |
| |
Set the values of the slider's cursors.
◆ SetSubRange() [2/2]
void albaGUILutSlider::SetSubRange |
( |
const double * |
range | ) |
|
|
inline |
◆ GetSubRange() [1/2]
void albaGUILutSlider::GetSubRange |
( |
double * |
low, |
|
|
double * |
hi |
|
) |
| |
|
inline |
◆ GetSubRange() [2/2]
void albaGUILutSlider::GetSubRange |
( |
double * |
range | ) |
|
|
inline |
◆ MoveButton()
void albaGUILutSlider::MoveButton |
( |
int |
id, |
|
|
int |
pos |
|
) |
| |
Set the position of the slider's cursors and send the event foe range modified.
◆ ReleaseButton()
void albaGUILutSlider::ReleaseButton |
( |
| ) |
|
Set the position of the slider's cursors and send the event foe range modified.
◆ ShowEntry()
void albaGUILutSlider::ShowEntry |
( |
int |
id | ) |
|
Show an entry to insert a numerical values from keyboard.
◆ SetText()
void albaGUILutSlider::SetText |
( |
long |
i, |
|
|
wxString |
text |
|
) |
| |
◆ SetColour()
void albaGUILutSlider::SetColour |
( |
long |
i, |
|
|
wxColour |
colour |
|
) |
| |
Set the label background colour.
◆ SetFloatingPointTextOn()
void albaGUILutSlider::SetFloatingPointTextOn |
( |
| ) |
|
|
inline |
◆ SetFloatingPointTextOff()
void albaGUILutSlider::SetFloatingPointTextOff |
( |
| ) |
|
|
inline |
◆ SetFixedTextOn()
void albaGUILutSlider::SetFixedTextOn |
( |
| ) |
|
|
inline |
◆ SetFixedTextOff()
void albaGUILutSlider::SetFixedTextOff |
( |
| ) |
|
|
inline |
◆ SetFixedTextMinButton()
void albaGUILutSlider::SetFixedTextMinButton |
( |
const char * |
label | ) |
|
Set the fixed text for min button.
◆ SetFixedTextMaxButton()
void albaGUILutSlider::SetFixedTextMaxButton |
( |
const char * |
label | ) |
|
Set the fixed text for max button.
◆ EnableMiddleButton()
void albaGUILutSlider::EnableMiddleButton |
( |
bool |
enable | ) |
|
Enable/Disable middle button.
◆ EnableMaxButton()
void albaGUILutSlider::EnableMaxButton |
( |
bool |
enable | ) |
|
Enable/Disable max button.
◆ EnableMinButton()
void albaGUILutSlider::EnableMinButton |
( |
bool |
enable | ) |
|
Enable/Disable min button.
◆ OnSize()
void albaGUILutSlider::OnSize |
( |
wxSizeEvent & |
event | ) |
|
|
protected |
◆ UpdateButtons()
void albaGUILutSlider::UpdateButtons |
( |
| ) |
|
|
protected |
Update slider's cursors position.
◆ m_MinButton
albaGUILutButt* albaGUILutSlider::m_MinButton |
|
protected |
◆ m_MiddleButton
albaGUILutButt* albaGUILutSlider::m_MiddleButton |
|
protected |
◆ m_MaxButton
albaGUILutButt* albaGUILutSlider::m_MaxButton |
|
protected |
◆ m_MinEntry
wxTextCtrl* albaGUILutSlider::m_MinEntry |
|
protected |
◆ m_MaxEntry
wxTextCtrl* albaGUILutSlider::m_MaxEntry |
|
protected |
◆ m_MinLabel
wxStaticText* albaGUILutSlider::m_MinLabel |
|
protected |
◆ m_MaxLabel
wxStaticText* albaGUILutSlider::m_MaxLabel |
|
protected |
◆ m_MinValue
double albaGUILutSlider::m_MinValue |
|
protected |
◆ m_MaxValue
double albaGUILutSlider::m_MaxValue |
|
protected |
◆ m_LowValue
double albaGUILutSlider::m_LowValue |
|
protected |
◆ m_HighValue
double albaGUILutSlider::m_HighValue |
|
protected |
◆ m_FloatingPointText
bool albaGUILutSlider::m_FloatingPointText |
|
protected |
flag used for visualization of decimal in the title of button, default : false
Definition at line 153 of file albaGUILutSlider.h.
◆ m_FixedText
bool albaGUILutSlider::m_FixedText |
|
protected |
flag used for visualization of fixed text, default: false
Definition at line 154 of file albaGUILutSlider.h.
◆ m_Listener
The documentation for this class was generated from the following file: