summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/LCDFramework/CLCDBitmap.h
blob: d8c7813b819f8a3d036c20bf2cb5723938b8fb8b (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
#ifndef _CLCDBITMAP_H_
#define _CLCDBITMAP_H_

#include "CLCDGfx.h"
#include "CLCDObject.h"

class CLCDBitmap : public CLCDObject
{
public:
	// constructor
	CLCDBitmap();
	// destructor
	~CLCDBitmap();

	// Initializes the bitmap
	bool Initialize();
	// Deinitializes the bitmap
	bool Shutdown();

	// updates the bitmap
	bool Update();
	// draws the bitmap
	bool Draw(CLCDGfx *pGfx);

	// Sets the bitmap
	void SetBitmap(HBITMAP hBitmap);
private:
	HBITMAP m_hBitmap;
};

#endif