FLImaging
7.5.30.1
Toggle main menu visibility
FLImagingFoundation
FLImagingGUI
GUIPropertyItemDraggableSpin.h
1
#pragma once
2
#include "GUIPropertyItemSliderBase.h"
3
11
13
namespace
FLImaging
14
{
16
namespace
GUI
17
{
36
class
FL_EXPORT
CGUIPropertyItemDraggableSpin
:
public
CGUIPropertyItemSliderBase
37
{
38
friend
class
CGUIPropertyGridPropertyDraggableSpin;
39
40
public
:
50
CGUIPropertyItemDraggableSpin
(
ESliderTemplateType
eTemplateType);
51
58
virtual
~CGUIPropertyItemDraggableSpin
();
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
FLImaging::Base::CFLString
Template type string class.
Definition
FLString.h:34
FLImaging::GUI::CGUIPropertyItemDraggableSpin::GetDragValuePerPixel
virtual double GetDragValuePerPixel() const
Returns the drag sensitivity of the control.
FLImaging::GUI::CGUIPropertyItemDraggableSpin::IsDragValuePerPixelSet
virtual bool IsDragValuePerPixelSet() const
Returns whether the drag value-per-pixel setting has been explicitly specified.
FLImaging::GUI::CGUIPropertyItemDraggableSpin::SetDragValuePerPixel
virtual void SetDragValuePerPixel(double f64DragValuePerPixel)
Sets the drag sensitivity of the control. This value determines how much the numerical value changes ...
FLImaging::GUI::CGUIPropertyItemDraggableSpin::SetValue
virtual bool SetValue(Base::CFLString< wchar_t > strValue, bool bInvokeCallback=true) override
Sets the value for this.
FLImaging::GUI::CGUIPropertyItemDraggableSpin::CGUIPropertyItemDraggableSpin
CGUIPropertyItemDraggableSpin(ESliderTemplateType eTemplateType)
Constructor for CGUIPropertyItemDraggableSpin class.
FLImaging::GUI::CGUIPropertyItemDraggableSpin::~CGUIPropertyItemDraggableSpin
virtual ~CGUIPropertyItemDraggableSpin()
Destructor for CGUIPropertyItemDraggableSpin class.
FLImaging::GUI::CGUIPropertyItemDraggableSpin::CreateGridProperty
virtual CMFCPropertyGridProperty * CreateGridProperty() override
Creates a property for the slider.
FLImaging::GUI::CGUIPropertyItemSliderBase::CGUIPropertyItemSliderBase
CGUIPropertyItemSliderBase(ESliderTemplateType eTemplateType)
Constructor for CGUIPropertyItemSliderBase class.
FLImaging::GUI
Definition
D2DObject.h:12
FLImaging::GUI::ESliderTemplateType
ESliderTemplateType
Template type of slider.
Definition
DefinitionsGUI.h:11402
FLImaging
Generated on
for FLImaging by
1.17.0