diff options
Diffstat (limited to 'src/ui/LCDUI/LCDBase.h')
-rw-r--r-- | src/ui/LCDUI/LCDBase.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/ui/LCDUI/LCDBase.h b/src/ui/LCDUI/LCDBase.h index 78372b7a1..dbf677cc7 100644 --- a/src/ui/LCDUI/LCDBase.h +++ b/src/ui/LCDUI/LCDBase.h @@ -3,7 +3,7 @@ // LCDBase.h
//
// The CLCDBase class is the generic base class for all lcd ui objects
-//
+//
// Logitech LCD SDK
//
// Copyright 2005 Logitech Inc.
@@ -37,15 +37,9 @@ public: virtual void SetSize(SIZE& size);
virtual void SetSize(int nCX, int nCY);
virtual SIZE& GetSize(void);
-
- virtual int GetWidth(void)
- {
- return GetSize().cx;
- }
- virtual int GetHeight(void)
- {
- return GetSize().cy;
- };
+
+ virtual int GetWidth(void) { return GetSize().cx; }
+ virtual int GetHeight(void) { return GetSize().cy; };
virtual void Show(BOOL bShow);
virtual BOOL IsVisible();
@@ -66,12 +60,12 @@ public: virtual const LGObjectType GetObjectType();
virtual void SetObjectType(const LGObjectType type);
-
+
public:
virtual void OnDraw(CLCDGfx &rGfx) = 0;
virtual void OnUpdate(DWORD dwTimestamp);
-protected:
+protected:
SIZE m_Size;
POINT m_Origin;
BOOL m_bVisible;
|