Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gl/glgui_pushbutton.h @ 10659

Last change on this file since 10659 was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 813 bytes
Line 
1/*!
2 * @file glgui_pushbutton.h
3 * The gl_pushbutton widget of th openglGUI
4 *
5 */
6
7#ifndef _GLGUI_PUSHBUTTON_H
8#define _GLGUI_PUSHBUTTON_H
9
10#include "glgui_button.h"
11
12namespace OrxGui
13{
14
15  // FORWARD DECLARATION
16
17  //! This is part of the openglGUI class
18  /**
19   *
20   */
21  class GLGuiPushButton : public GLGuiButton
22  {
23    ObjectListDeclaration(GLGuiPushButton);
24  public:
25    GLGuiPushButton(const std::string& label = "");
26    virtual ~GLGuiPushButton();
27
28
29
30
31    virtual void draw() const;
32    virtual void update();
33
34  protected:
35    virtual void resize();
36    virtual void clicking(const Vector2D& pos);
37    virtual void releasing(const Vector2D& pos, bool focused);
38    virtual void receivedFocus();
39    virtual void removedFocus();
40
41
42
43  private:
44    void init();
45
46  };
47}
48#endif /* _GLGUI_PUSHBUTTON_H */
Note: See TracBrowser for help on using the repository browser.