17#ifndef __albaGUICrossIncremental_H__
18#define __albaGUICrossIncremental_H__
37#define MININT -2147483647-1
38#define MAXINT 2147483647
39#define MINFLOAT -1.0e+38F
40#define MAXFLOAT 1.0e+38F
41#define MINDOUBLE -1.0e+299
42#define MAXDOUBLE 1.0e+299
60 double *topBottomVariable,
61 double *leftRightVariable,
62 bool boldLabel =
true,
63 int modality = ID_COMPLETE_LAYOUT,
64 const wxPoint& pos = wxDefaultPosition,
65 const wxSize& size = wxDefaultSize,
67 long style = wxTAB_TRAVERSAL | wxCLIP_CHILDREN,
68 bool comboStep =
false,
77 ID_TOP_BOTTOM_LAYOUT = 0,
125 void CreateWidgetTopBottom(
albaString *button_text);
126 void CreateWidgetLeftRight(
albaString *button_text);
127 void CreateWidgetTextEntry(
double min,
double max);
128 void CreateWidgetComboBox();
129 void ConvertStepComboIntoStepVariable();
135 wxTextCtrl *m_StepText;
140 double *m_TopBottomVariable;
141 double *m_LeftRightVariable;
143 double m_TopBottomVariation;
144 double m_LeftRightVariation;
149 double *m_StepVariable;
156 DECLARE_EVENT_TABLE()
Implementation of the message object for the Subject/Observer design pattern.
a ListBox that send albaEventNotification in the form albaEvent(this, widget_id, item_id,...
Class that represent a widget with 4 buttons and a text array disposed like a cross It can use two ac...
void EnableStep(bool value)
void SetTextButtonRight(const char *text)
virtual ~albaGUICrossIncremental()
double GetLeftRightVariation()
void OnEvent(albaEventBase *alba_event)
process the events sent by subjects
albaGUIComboBox * GetComboBox()
void SetListener(albaObserver *Listener)
void SetTextButtonTop(const char *text)
MODALITY_CROSS_INCREMENTAL_ID
CROSS_INCREMENTAL_MODE_ID
void LayoutStyle(const char *label)
void SetStepVariable(double step)
albaGUICrossIncremental(wxWindow *parent, wxWindowID id, const char *label, double *stepVariable, double *topBottomVariable, double *leftRightVariable, bool boldLabel=true, int modality=ID_COMPLETE_LAYOUT, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, double min=MINFLOAT, double max=MAXFLOAT, int decimal_digit=-1, long style=wxTAB_TRAVERSAL|wxCLIP_CHILDREN, bool comboStep=false, albaString *buttonUpDown_text=NULL, albaString *buttonLeftRight_text=NULL)
void SetComboBoxItems(wxArrayString &array, int selected=0)
void SetTextButtonBottom(const char *text)
void SetTextButtonLeft(const char *text)
double GetTopBottomVariation()
void SetComboValue(int index)
class name: albaGUIPanel Inherits directly from wxPanel and adds the pointer to the next panel
Interface implementing the Observer of the Subject/Observer design pattern.
albaString - performs common string operations on c-strings.