SBSPSS/source/gui/gframe.h

85 lines
1.7 KiB
C
Raw Normal View History

2000-11-02 16:54:27 +01:00
/*=========================================================================
gframe.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __GUI_GFRAME_H__
#define __GUI_GFRAME_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __GUI_GUI_H__
#include "gui\gui.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CGUIGroupFrame : public CGUIObject
{
public:
virtual void setFlags(GUI_FLAGS _flags);
virtual void clearFlags(GUI_FLAGS _flags);
2000-11-02 18:35:44 +01:00
virtual int isSelectable();
2000-11-07 23:05:42 +01:00
virtual int isUnselectable();
2000-11-02 16:54:27 +01:00
2000-11-02 18:35:44 +01:00
2000-11-02 16:54:27 +01:00
protected:
2000-11-09 17:58:22 +01:00
GUI_FLAGS getInitialFlags() {return FLAG_NONE;}
2000-11-02 16:54:27 +01:00
};
class CGUIControlFrame : public CGUIObject
{
public:
virtual void think(int _frames);
virtual void setFlags(GUI_FLAGS _flags);
virtual void clearFlags(GUI_FLAGS _flags);
protected:
GUI_FLAGS getInitialFlags() {return FLAG_DRAWBORDER;}
void selectFrame();
void unselectFrame();
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __GUI_GFRAME_H__ */
/*===========================================================================
end */