Debian Codegraph @

src/surface.h

raw symbols SCIP
1 /***************************************************************************
2 surface.h - description
3 -------------------
4 begin : Sat Oct 14 2000
5 copyright : (C) 2000 by Waldemar Baraldi
6 email : [email protected]
7 ***************************************************************************/
8
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18 #ifndef SURFACE_H
19 #define SURFACE_H
20
21 #include "object.h"
22 #include "SDL.h"
23
24 class VideoManager;
25
26 class Surface: public Object{
27
28 public:
29
30 Surface();
31
32 /** Constructor.*/
33 Surface(int width, int height);
34
35 /** Destructor.*/
36 virtual ~Surface();
37
38 /**
39 @return El ancho de la surface.
40 */
41 virtual int width();
42
43 /**
44 @return El alto de la surface.
45 */
46 virtual int height();
47
48 protected:
49
50 friend class VideoManager;
51 friend class Sprite;
52 SDL_Surface * surface;
53
54 };
55 #endif
56