source-engine/public/toolutils/ToolEditMenuButton.h

36 lines
900 B
C
Raw Normal View History

2020-04-23 00:56:21 +08:00
//========= 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