Last change
on this file since 7930 was
7779,
checked in by bensch, 19 years ago
|
3088 linews changed : trunk: namespaces
|
File size:
628 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file glgui_image.h |
---|
3 | * The gl_Image widget of th openglGUI |
---|
4 | * |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef _GLGUI_IMAGE_H |
---|
8 | #define _GLGUI_IMAGE_H |
---|
9 | |
---|
10 | #include "base_object.h" |
---|
11 | |
---|
12 | // FORWARD DECLARATION |
---|
13 | struct SDL_Surface; |
---|
14 | namespace OrxGui |
---|
15 | { |
---|
16 | |
---|
17 | //! This is Image part of the openglGUI class |
---|
18 | /** |
---|
19 | * |
---|
20 | */ |
---|
21 | class GLGuiImage : public GLGuiWidget |
---|
22 | { |
---|
23 | |
---|
24 | public: |
---|
25 | GLGuiImage(); |
---|
26 | virtual ~GLGuiImage(); |
---|
27 | |
---|
28 | void init(); |
---|
29 | void loadImageFromFile(const char* fileName); |
---|
30 | void loadImageFromSDLSurface(SDL_Surface* surface); |
---|
31 | void loadImageFromDisplayList(GLuint displayList); |
---|
32 | |
---|
33 | virtual void draw(); |
---|
34 | |
---|
35 | private: |
---|
36 | |
---|
37 | }; |
---|
38 | } |
---|
39 | #endif /* _GLGUI_IMAGE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.