initial
This commit is contained in:
39
game/client/cstrike15/gameui/backgroundmenubutton.h
Normal file
39
game/client/cstrike15/gameui/backgroundmenubutton.h
Normal file
@ -0,0 +1,39 @@
|
||||
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================//
|
||||
|
||||
#ifndef BACKGROUNDMENUBUTTON_H
|
||||
#define BACKGROUNDMENUBUTTON_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <vgui_controls/Button.h>
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Baseclass for the left and right ingame menus that lay on the background
|
||||
//-----------------------------------------------------------------------------
|
||||
class CBackgroundMenuButton : public vgui::Button
|
||||
{
|
||||
public:
|
||||
CBackgroundMenuButton(vgui::Panel *parent, const char *name);
|
||||
~CBackgroundMenuButton();
|
||||
|
||||
virtual void OnCommand(const char *command);
|
||||
|
||||
protected:
|
||||
vgui::Menu *RecursiveLoadGameMenu(KeyValues *datafile);
|
||||
vgui::Menu *m_pMenu;
|
||||
|
||||
virtual void ApplySchemeSettings(vgui::IScheme *pScheme);
|
||||
|
||||
private:
|
||||
vgui::IImage *m_pImage, *m_pMouseOverImage;
|
||||
typedef vgui::Button BaseClass;
|
||||
};
|
||||
|
||||
|
||||
#endif // BACKGROUNDMENUBUTTON_H
|
Reference in New Issue
Block a user