6 #ifndef TB_INLINE_SELECT_H
7 #define TB_INLINE_SELECT_H
9 #include "tb_widgets_listener.h"
10 #include "tb_select_item.h"
11 #include "tb_editfield.h"
35 void SetLimits(
long min,
long max);
36 long GetMinValue()
const {
return m_min; }
37 long GetMaxValue()
const {
return m_max; }
39 virtual void SetValue(
long value) { SetValueInternal(value,
true); }
40 virtual long GetValue()
const {
return m_value; }
51 void SetValueInternal(
long value,
bool update_text);
56 #endif // TB_INLINE_SELECT_H
AXIS
Definition: tb_widgets.h:251
virtual long GetValue() const
See TBWidget::SetValue.
Definition: tb_inline_select.h:40
TBEditField is a one line or multi line textfield that is editable or read-only.
Definition: tb_editfield.h:74
virtual void OnSkinChanged()
Called when the background skin changes by calling SetSkinBg(), or when the skin has changed indirect...
Definition: tb_inline_select.cpp:83
TBSelectList is a select widget with no popups.
Definition: tb_inline_select.h:22
virtual void SetValue(long value)
Set the value of this widget.
Definition: tb_inline_select.h:39
virtual void OnInflate(const INFLATE_INFO &info)
Called when this widget is inflated from resources, before any children have been inflated...
Definition: tb_widgets_reader.cpp:386
INFLATE_INFO contains info passed to TBWidget::OnInflate during resource loading. ...
Definition: tb_widgets_reader.h:21
virtual void SetAxis(AXIS axis)
Set along which axis the content should be layouted.
Definition: tb_layout.cpp:30
virtual AXIS GetAxis() const
See TBWidget::SetAxis.
Definition: tb_inline_select.h:33
virtual void SetAxis(AXIS axis)
Set along which axis the content should layouted.
Definition: tb_inline_select.h:32
virtual AXIS GetAxis() const
See TBWidget::SetAxis.
Definition: tb_layout.h:106
TBLayout layouts its children along the given axis.
Definition: tb_layout.h:96
virtual bool OnEvent(const TBWidgetEvent &ev)
Callback for handling events.
Definition: tb_inline_select.cpp:88