36 lines
900 B
C++
36 lines
900 B
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Standard file menu
|
|
//
|
|
//=============================================================================
|
|
|
|
|
|
#ifndef TOOLEDITMENUBUTTON_H
|
|
#define TOOLEDITMENUBUTTON_H
|
|
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// forward declarations
|
|
//-----------------------------------------------------------------------------
|
|
namespace vgui
|
|
{
|
|
class Panel;
|
|
}
|
|
|
|
class CToolMenuButton;
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Global function to create the switch menu
|
|
//-----------------------------------------------------------------------------
|
|
CToolMenuButton* CreateToolEditMenuButton( vgui::Panel *parent, const char *panelName,
|
|
const char *text, vgui::Panel *pActionTarget );
|
|
|
|
|
|
#endif // TOOLEDITMENUBUTTON_H
|
|
|