You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.0 KiB
C++
52 lines
1.0 KiB
C++
//
|
|
// G A M E.O.N.E - LOW LEVEL LIB V1.0
|
|
// Copyright (C) 2001 LEVEL ONE ENTERTAINMENT,
|
|
// Licensed under the terms of LGPL.
|
|
//:---------------------------------------------------------------------------
|
|
//:Description
|
|
//
|
|
// FRAMEWORK Layerobject
|
|
//
|
|
// CActor
|
|
// +--CLayer
|
|
// +--CLayerAnim : CAnim
|
|
// +--CLayerButton
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(_LAYERBUTTON_H)
|
|
#define _LAYERBUTTON_H
|
|
|
|
|
|
#include "llfrm_layeranim.h"
|
|
|
|
class CLayerButton : public CLayerAnim
|
|
{
|
|
public:
|
|
CLayerButton();
|
|
virtual ~CLayerButton();
|
|
|
|
virtual bool ParseMsg(const char *arg );
|
|
virtual void Action(float delta);
|
|
virtual void Draw(llgfx_id id);
|
|
|
|
char * m_selectmessage;
|
|
char * m_overmessage;
|
|
char * m_leavemessage;
|
|
|
|
bool m_bMouseinRect;
|
|
bool m_bMousedown;
|
|
bool m_initDone;
|
|
bool m_enabled;
|
|
|
|
void StepUp();
|
|
void StepDown();
|
|
void HighLight();
|
|
void HighLightOff();
|
|
|
|
bool LoadCurFrame(int &frm);
|
|
void SaveCurFrame(int frm);
|
|
|
|
};
|
|
|
|
#endif // !defined(_LAYERBUTTON_H)
|