Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gl_gui/glgui_image.h @ 5392

Last change on this file since 5392 was 5392, checked in by bensch, 19 years ago

orxonox/trunk: definition of Connect-signals for GLWidgets

File size: 578 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
13struct SDL_Surface;
14
15//! This is Image part of the openglGUI class
16/**
17 *
18 */
19class GLGuiImage : public GLGuiWidget {
20
21 public:
22  GLGuiImage();
23  virtual ~GLGuiImage();
24
25  void init();
26  void loadImageFromFile(const char* fileName);
27  void loadImageFromSDLSurface(SDL_Surface* surface);
28  void loadImageFromDisplayList(GLuint displayList);
29
30  virtual void draw();
31
32 private:
33
34};
35
36#endif /* _GLGUI_IMAGE_H */
Note: See TracBrowser for help on using the repository browser.