diff options
Diffstat (limited to 'src/ui/LCDUI/LCDProgressBar.h')
-rw-r--r-- | src/ui/LCDUI/LCDProgressBar.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ui/LCDUI/LCDProgressBar.h b/src/ui/LCDUI/LCDProgressBar.h index 346bf6c2b..88b530095 100644 --- a/src/ui/LCDUI/LCDProgressBar.h +++ b/src/ui/LCDUI/LCDProgressBar.h @@ -3,14 +3,14 @@ // LCDProgressBar.h
//
// The CLCDProgressBar class draws a progress bar onto the LCD.
-//
+//
// Logitech LCD SDK
//
// Copyright 2005 Logitech Inc.
//************************************************************************
-#ifndef _LCDPROGRESSBAR_H_INCLUDED_
-#define _LCDPROGRESSBAR_H_INCLUDED_
+#ifndef _LCDPROGRESSBAR_H_INCLUDED_
+#define _LCDPROGRESSBAR_H_INCLUDED_
#include "LCDBase.h"
@@ -19,15 +19,15 @@ typedef struct RANGE __int64 nMin;
__int64 nMax;
-}RANGE, *LPRANGE;
+} RANGE, *LPRANGE;
enum ePROGRESS_STYLE { STYLE_FILLED_H, STYLE_FILLED_V, STYLE_CURSOR, STYLE_DASHED_CURSOR };
class CLCDProgressBar : public CLCDBase
{
public:
- enum ePROGRESS_STYLE { STYLE_FILLED_H, STYLE_FILLED_V, STYLE_CURSOR, STYLE_DASHED_CURSOR };
-
+ enum ePROGRESS_STYLE { STYLE_FILLED_H, STYLE_FILLED_V, STYLE_CURSOR, STYLE_DASHED_CURSOR };
+
CLCDProgressBar();
virtual ~CLCDProgressBar();
@@ -35,7 +35,7 @@ public: virtual HRESULT Initialize(void);
virtual void OnDraw(CLCDGfx &rGfx);
virtual void ResetUpdate(void);
-
+
// CLCDProgressBar
virtual void SetRange(__int64 nMin, __int64 nMax);
virtual void SetRange(RANGE& Range);
@@ -43,7 +43,7 @@ public: virtual __int64 SetPos(__int64 fPos);
virtual __int64 GetPos(void);
virtual void EnableCursor(BOOL bEnable);
- virtual void SetProgressStyle(ePROGRESS_STYLE eStyle);
+ virtual void SetProgressStyle(ePROGRESS_STYLE eStyle);
protected:
float Scalef(float fFromMin, float fFromMax,
@@ -56,7 +56,7 @@ private: __int64 m_Pos;
ePROGRESS_STYLE m_eStyle;
HBRUSH m_hBrush;
- HPEN m_hPen;
+ HPEN m_hPen;
int m_nCursorWidth;
};
|