summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/LCDFramework/CLCDBitmap.h
blob: 4eaabe756d7b954249f211f716baee485315b316 (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
{
	HBITMAP m_hBitmap = nullptr;

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);
};

#endif