FLImaging 6.5.8.1
GUIPropertyItemSpin.h
1#pragma once
2#include "GUIPropertyItemBase.h"
3
4
5namespace FLImaging
6{
7 namespace GUI
8 {
9 class CGUIPropertyGridPropertySpin;
10
11 class FL_EXPORT CGUIPropertyItemSpin :public CGUIPropertyItemBase
12 {
13 public:
14 CGUIPropertyItemSpin();
15 virtual ~CGUIPropertyItemSpin();
16
17 virtual CMFCPropertyGridProperty* CreateGridProperty() override;
18
19 virtual bool SetValue(Base::CFLString<wchar_t> strValue, bool bInvokeCallback = true) override;
20 virtual Base::CFLString<wchar_t> GetValue() const override;
21
22 virtual bool IncreaseTick(int32_t i32Tick);
23 virtual bool DecreaseTick(int32_t i32Tick);
24
25 virtual bool SetRange(int32_t i32Min, int32_t i32Max);
26 virtual void GetRange(int32_t& i32Min, int32_t& i32Max) const;
27
28 virtual bool SetOrigValue(const Base::CFLString<wchar_t>& strValue);
29
30 protected:
31 int32_t m_i32Range[2];
32 };
33 }
34
35}
36