summaryrefslogtreecommitdiff
path: root/skinengine/src/data_source.cpp
blob: ec8545f6fc3c3391651b03911c2e1e7a40ce5177 (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
#include "headers.h"

CSkinDataSource::CSkinDataSource()
{
}

CSkinDataSource::~CSkinDataSource()
{
}

LPCTSTR CSkinDataSource::GetText(const TCHAR *key)
{
	if (!key || key[0] != '@') return key;
	if (key[1] == '@') return key + 1;
	return NULL;
}

HICON CSkinDataSource::GetIcon(const TCHAR *key)
{
	return NULL;
}

HBITMAP CSkinDataSource::GetBitmap(const TCHAR *key)
{
	return g_BitmapCache.LoadBitmap(key);
}

ISkinBackend *CSkinDataSource::GetObject(const TCHAR *key)
{
	return NULL;
}