FLImaging 6.10.23.2
GUIPropertyItemSpin.h
1
8
9#pragma once
10#include "GUIPropertyItemBase.h"
11
13namespace FLImaging
14{
16 namespace GUI
17 {
18 class CGUIPropertyGridPropertySpin;
19
35 {
36 public:
45
54
55 virtual CMFCPropertyGridProperty* CreateGridProperty() override;
56
70 virtual bool SetValue(Base::CFLString<wchar_t> strValue, bool bInvokeCallback = true) override;
71
81 virtual Base::CFLString<wchar_t> GetValue() const override;
82
94 virtual bool IncreaseTick(int32_t i32Tick);
95
107 virtual bool DecreaseTick(int32_t i32Tick);
108
122 virtual bool SetRange(int32_t i32Min, int32_t i32Max);
123
135 virtual void GetRange(int32_t& i32Min, int32_t& i32Max) const;
136
137 protected:
138 int32_t m_i32Range[2];
139
140 friend class CGUIPropertyGridPropertySpin;
141 };
142 }
143
144}
145
Template type string class.
Definition FLString.h:34
CGUIPropertyItemBase()
Default constructor.
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 CMFCPropertyGridProperty * CreateGridProperty() override
It creates and returns the MFC grid property for this item. If an instance has already been created,...
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.
Definition D2DObject.h:12