blob: 822f034f4aa5830c6fcea39d2523ce6e25c6a6c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
//************************************************************************
//
// LCDManager.h
//
// The CLCDManager class is the representation of a "Screen". LCD UI class
// objects are added here.
//
// Logitech LCD SDK
//
// Copyright 2005 Logitech Inc.
//************************************************************************
#ifndef _LCDMANAGER_H_INCLUDED_
#define _LCDMANAGER_H_INCLUDED_
#include "LCDCollection.h"
class CLCDManager : public CLCDCollection
{
public:
CLCDManager();
virtual ~CLCDManager();
virtual HRESULT Initialize(void);
virtual void Shutdown(void);
lgLcdBitmap160x43x1 *GetLCDScreen(void);
BITMAPINFO *GetBitmapInfo(void);
virtual HRESULT Draw(void);
virtual void Update(DWORD dwTimestamp);
virtual void OnLCDButtonDown(int nButton);
virtual void OnLCDButtonUp(int nButton);
void SetExpiration(DWORD dwMilliseconds);
virtual BOOL HasExpired(void);
private:
CLCDGfx m_Gfx;
DWORD m_dwStartTime, m_dwElapsedTime, m_dwExpirationTime;
};
#endif // !_LCDMANAGER_H_INCLUDED_
//** end of LCDManager.h *************************************************
|