Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5364 in orxonox.OLD for trunk/src/lib/gui/gl_gui/glgui_window.h


Ignore:
Timestamp:
Oct 11, 2005, 11:48:19 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some more definition of the GUI

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl_gui/glgui_window.h

    r5363 r5364  
    11/*!
    2  * @file glgui_button.h
    3  * The gl_BUTTON widget of th openglGUI
     2 * @file glgui_window.h
     3 * The gl_WINDOW widget of th openglGUI
    44 *
    55 */
    66
    7 #ifndef _GLGUI_BUTTON_H
    8 #define _GLGUI_BUTTON_H
     7#ifndef _GLGUI_WINDOW_H
     8#define _GLGUI_WINDOW_H
    99
    10 #include "glgui_widget.h"
    11 
    12 typedef enum
    13 {
    14   GLGui_Button_Active,
    15   GLGui_Button_Inactive,
    16   GLGui_Button_Pressed,
    17   GLGui_Button_Released,
    18   GLGui_Button_Activating,
    19   GLGui_Button_Deactivating,
    20 
    21 } GLGui_ButtonState;
     10#include "glgui_container.h"
    2211
    2312// FORWARD DECLARATION
    2413
    25 //! This is part of the openglGUI class
     14//! This is window part of the openglGUI class
    2615/**
    2716 *
    2817 */
    29 class GLGuiButton : public GLGuiWidget {
     18class GLGuiWindow : public GLGuiContainer {
    3019
    3120 public:
    32   GLGuiButton();
    33   virtual ~GLGuiButton();
     21  GLGuiWindow();
     22  virtual ~GLGuiWindow();
    3423
    3524  void init();
     
    3827
    3928 private:
    40   char*                text;
    41   GLGui_ButtonState    state;
    4229
    4330};
Note: See TracChangeset for help on using the changeset viewer.