PieDock
1.6.3
Main Page
Classes
Files
File List
src
ArgbSurfaceSizeMap.h
1
/*
2
* O ,-
3
* ° o . -´ ' ,-
4
* ° .´ ` . ´,´
5
* ( ° )) . (
6
* `-;_ . -´ `.`.
7
* `._' ´
8
*
9
* Copyright (c) 2007-2010 Markus Fisch <mf@markusfisch.de>
10
*
11
* Licensed under the MIT license:
12
* http://www.opensource.org/licenses/mit-license.php
13
*/
14
#ifndef _PieDock_ArgbSurfaceSizeMap_
15
#define _PieDock_ArgbSurfaceSizeMap_
16
17
#include "ArgbSurface.h"
18
19
#include <string>
20
#include <map>
21
22
namespace
PieDock
23
{
29
class
ArgbSurfaceSizeMap
30
{
31
public
:
32
ArgbSurfaceSizeMap
(
const
ArgbSurface
* );
33
virtual
~ArgbSurfaceSizeMap
();
34
inline
const
ArgbSurface
&getSurface()
const
{
35
return
surface; }
36
virtual
const
ArgbSurface
*getSurface(
int
,
int
);
37
virtual
void
setSurface
(
ArgbSurface
* );
38
39
protected
:
40
virtual
void
clear
();
41
42
private
:
43
typedef
std::map<int, ArgbSurface *> SurfaceMap;
44
45
ArgbSurface
surface;
46
SurfaceMap surfaceMap;
47
};
48
}
49
50
#endif
Generated on Fri Feb 28 2014 19:48:22 for PieDock by
1.8.3.1