FLImaging 6.12.9.2
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 의 문자열 클래스
Definition FLString.h:34
virtual double GetDragValuePerPixel() const
컨트롤의 드래그 감도를 반환합니다.
virtual bool IsDragValuePerPixelSet() const
드래그 시 픽셀당 값 변화량이 명시적으로 설정되었는지 여부를 반환합니다.
virtual void SetDragValuePerPixel(double f64DragValuePerPixel)
컨트롤의 드래그 감도를 설정합니다. 이 값은 사용자가 마우스를 좌우로 드래그할 때 픽셀 이동당 값이 얼마나 변하는지를 결정합니다.
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
this에 값을 설정합니다.
CGUIPropertyItemDraggableSpin(ESliderTemplateType eTemplateType)
CGUIPropertyItemDraggableSpin 클래스의 생성자입니다.
virtual ~CGUIPropertyItemDraggableSpin()
CGUIPropertyItemDraggableSpin 클래스의 소멸자입니다.
virtual CMFCPropertyGridProperty * CreateGridProperty() override
슬라이더의 속성을 생성합니다.
CGUIPropertyItemSliderBase(ESliderTemplateType eTemplateType)
CGUIPropertyItemSliderBase 클래스의 생성자입니다.
Definition D2DObject.h:12
ESliderTemplateType
슬라이더 자료형
Definition DefinitionsGUI.h:10348