2#include "GUISliderOwnerDrawnBase.h"
9 class FL_EXPORT CGUISliderOwnerDrawn :
public CGUISliderOwnerDrawnBase
25 CGUISliderOwnerDrawn(CWnd* pParentWnd, EOrientation eOrientation = EOrientation_Horizontal);
34 virtual ~CGUISliderOwnerDrawn();
47 virtual const CResult CalcSliderRegion(CRect* pRect)
override;
58 virtual void Draw(CDC* pDC)
const override;
71 void SetRangeMin(T tMin,
bool bRedraw =
false);
84 void SetRangeMax(T tMax,
bool bRedraw =
false);
99 void SetRange(T tMin, T tMax,
bool bRedraw =
false);
110 T GetRangeMax()
const;
121 T GetRangeMin()
const;
134 void GetRange(T& tMin, T& tMax)
const;
147 void SetUnit(T tUnit,
bool bRedraw =
false);
174 void SetExponentialBase(T tExponentialBase = 10,
bool bRedraw =
false);
185 T GetExponentialBase()
const;
200 void SetValue(T tValue,
bool bRedraw,
bool bSendMessage =
true);
213 void IncreaseValue(T tValue,
bool bRedraw);
226 void DecreaseValue(T tValue,
bool bRedraw);
239 void IncreaseTick(int32_t i32Tick,
bool bRedraw);
252 void DecreaseTick(int32_t i32Tick,
bool bRedraw);
265 void IncreasePos(int32_t i32PosDelta,
bool bRedraw);
278 void DecreasePos(int32_t i32PosDelta,
bool bRedraw);
302 int32_t GetPosByValue(T tValue)
const;
315 T GetValueByPos(int32_t i32Pos)
const;
324 virtual void UpdateSlider()
override;
337 T GetRemainder(T tValue)
const;
350 virtual void OnMouseWheel(
const CPoint& ptPoint,
bool bUpWheel);
351 virtual void OnLButtonUp(
const CPoint& ptPoint)
override;
352 virtual void OnMouseMove(
const CPoint& ptPoint)
override;
355 virtual void SetPos(int32_t i32Pos,
bool bSetValue,
bool bSendMsg,
bool bRedraw)
override;
356 virtual void RecalculateLayoutMetrics()
override;
363 T m_tExponentialBase;
Definition D2DObject.h:12
@ SetRange
그래프 뷰의 표시 범위 지정
Definition DefinitionsGUIViewGraph.h:1164