FLImaging 6.12.24.4
GUIPropertyItemDraggableSpin.h
1#pragma once
2#include "GUIPropertyItemSliderBase.h"
3
11
13namespace FLImaging
14{
16 namespace GUI
17 {
37 {
38 friend class CGUIPropertyGridPropertyDraggableSpin;
39
40 public:
51
59
60
70 virtual CMFCPropertyGridProperty* CreateGridProperty() override;
71
85 virtual void SetDragValuePerPixel(double f64DragValuePerPixel);
86
96 virtual double GetDragValuePerPixel() const;
97
117 virtual bool IsDragValuePerPixelSet() const;
118
119 virtual bool SetValue(Base::CFLString<wchar_t> strValue, bool bInvokeCallback = true) override;
120
121 protected:
122 SVariant m_varValue;
123 double m_f64DragValuePerPixel; // Drag sensitivity
124 bool m_bDragValuePerPixelSet;
125 };
126 }
127}
128
Template type string class.
Definition FLString.h:34
virtual double GetDragValuePerPixel() const
Returns the drag sensitivity of the control.
virtual bool IsDragValuePerPixelSet() const
Returns whether the drag value-per-pixel setting has been explicitly specified.
virtual void SetDragValuePerPixel(double f64DragValuePerPixel)
Sets the drag sensitivity of the control. This value determines how much the numerical value changes ...
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
Sets the value for this.
CGUIPropertyItemDraggableSpin(ESliderTemplateType eTemplateType)
Constructor for CGUIPropertyItemDraggableSpin class.
virtual ~CGUIPropertyItemDraggableSpin()
Destructor for CGUIPropertyItemDraggableSpin class.
virtual CMFCPropertyGridProperty * CreateGridProperty() override
Creates a property for the slider.
CGUIPropertyItemSliderBase(ESliderTemplateType eTemplateType)
Constructor for CGUIPropertyItemSliderBase class.
Definition D2DObject.h:12
ESliderTemplateType
Template type of slider.
Definition DefinitionsGUI.h:10348