10#include "GUIPropertyItemBase.h"
18 class CGUIPropertyGridPropertySpin;
122 virtual bool SetRange(int32_t i32Min, int32_t i32Max);
135 virtual void GetRange(int32_t& i32Min, int32_t& i32Max)
const;
190 int32_t m_i32Range[2];
194 friend class CGUIPropertyGridPropertySpin;
Template type string class.
Definition FLString.h:34
CGUIPropertyItemBase()
Default constructor.
virtual ESpinButtonLayout GetSpinButtonLayout() const
Gets the layout of the spin control buttons.
virtual bool IncreaseTick(int32_t i32Tick)
Increase the value by a number of ticks (steps).
CGUIPropertyItemSpin()
Default constructor.
virtual Base::CFLString< wchar_t > GetValue() const override
Get the current value as a string.
virtual void SetSpinButtonLayout(ESpinButtonLayout eSpinButtonLayout=ESpinButtonLayout_Compact)
Sets the layout of the spin control buttons.
virtual CMFCPropertyGridProperty * CreateGridProperty() override
It creates and returns the MFC grid property for this item. If an instance has already been created,...
virtual ESpinIcon GetSpinIcon() const
Gets the icon for the spin control button.
virtual bool DecreaseTick(int32_t i32Tick)
Decrease the value by a number of ticks (steps).
virtual void GetRange(int32_t &i32Min, int32_t &i32Max) const
Get the current valid range.
virtual ~CGUIPropertyItemSpin()
Destructor.
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
Set the current value as a string.
virtual bool SetRange(int32_t i32Min, int32_t i32Max)
Set the valid integer range for the control.
virtual void SetSpinIcon(ESpinIcon eSpinIcon=ESpinIcon_UpDownArrow_Brackets)
Sets the icon for the spin control button.
Definition D2DObject.h:12
ESpinIcon
Icons for the spin control button.
Definition FLImagingGUI/DefinitionsGUI.h:14770
@ ESpinIcon_UpDownArrow_Brackets
Up and down arrow icons(Angle Brackets Arrow): ∧∨
Definition FLImagingGUI/DefinitionsGUI.h:14793
ESpinButtonLayout
Layout of the spin control buttons.
Definition FLImagingGUI/DefinitionsGUI.h:14820
@ ESpinButtonLayout_Compact
Small buttons stacked vertically on the right side of the edit box.
Definition FLImagingGUI/DefinitionsGUI.h:14827