This commit is contained in:
Paul 2000-11-02 17:19:06 +00:00
parent 3b2b2c2001
commit 7b80782ebc
3 changed files with 188 additions and 0 deletions

65
source/gui/gbutton.h Normal file
View file

@ -0,0 +1,65 @@
/*=========================================================================
gbutton.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __GUI_GBUTTON_H__
#define __GUI_GBUTTON_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __GUI_GUI_H__
#include "gui\gui.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CGUIButton : public CGUIObject
{
public:
virtual void setButtonTarget(int *_target);
virtual void setButtonData(int *_data);
virtual void think(int _frames);
private:
int *m_target;
int *m_data;
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __GUI_GBUTTON_H__ */
/*===========================================================================
end */