FLImaging
7.8.25.3
Toggle main menu visibility
FLImagingFoundation
FLImagingGUI
GUIProgressCtrlFloatingPoint.h
1
#pragma once
2
#include "GUIProgressCtrl.h"
3
4
namespace
FLImaging
5
{
6
namespace
GUI
7
{
8
class
CGUIStatusBarMainFrame;
9
class
CGUIMainFrame;
10
11
class
FL_EXPORT CGUIProgressCtrlFloatingPoint :
public
CGUIProgressCtrl
12
{
13
public
:
14
CGUIProgressCtrlFloatingPoint();
15
CGUIProgressCtrlFloatingPoint(CGUIStatusBarMainFrame* pParent);
16
virtual
~CGUIProgressCtrlFloatingPoint();
17
18
protected
:
19
double
m_f64Min;
// default 0.
20
double
m_f64Max;
// default 1.
21
double
m_f64Pos;
// default 0.
22
double
m_f64Step;
// default 0.01
23
24
public
:
25
virtual
void
SetPos(
double
f64Pos);
26
virtual
double
GetPos()
const
;
27
28
// Sets range of values for the control.
29
virtual
void
SetRange(
double
f64Lower,
double
f64Upper);
30
// Retrieves range of values for the control.
31
virtual
void
GetRange(
double
& f64Lower,
double
& f64Upper)
const
;
32
33
// Displaces the current position within the set range of the
34
// control by the passed value.
35
virtual
int
OffsetPos(
double
f64Pos);
36
37
// Sets the step by which increments happen with a call to StepIt().
38
virtual
void
SetStep(
double
f64Step);
39
40
// REVIEW: Retrieves the step increment for the progress bar control.
41
virtual
double
GetStep()
const
;
42
43
// Steps the control by the value set with SetStep().
44
virtual
double
StepIt();
45
46
virtual
const
Base::CFLString<wchar_t> GetDisplayedText()
const override
;
47
48
protected
:
49
DECLARE_MESSAGE_MAP()
50
virtual
void
Update(CDC* pDC)override;
51
52
};
53
}
54
}
55
FLImaging::GUI
Definition
D2DObject.h:12
FLImaging
Generated on
for FLImaging by
1.17.0