mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
1
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================
|
||||
|
||||
#ifndef MAPCYCLEEDITDIALOG_H
|
||||
#define MAPCYCLEEDITDIALOG_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <vgui_controls/Frame.h>
|
||||
#include "utlvector.h"
|
||||
#include "utlsymbol.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Dialog for editing the game server map cycle list
|
||||
//-----------------------------------------------------------------------------
|
||||
class CMapCycleEditDialog : public vgui::Frame
|
||||
{
|
||||
DECLARE_CLASS_SIMPLE( CMapCycleEditDialog, vgui::Frame );
|
||||
public:
|
||||
CMapCycleEditDialog(vgui::Panel *parent, const char *name);
|
||||
~CMapCycleEditDialog();
|
||||
virtual void Activate(vgui::Panel *updateTarget, CUtlVector<CUtlSymbol> &availableMaps, CUtlVector<CUtlSymbol> &mapCycle);
|
||||
|
||||
protected:
|
||||
virtual void OnCommand(const char *command);
|
||||
virtual void PerformLayout();
|
||||
|
||||
private:
|
||||
MESSAGE_FUNC_PTR( OnItemSelected, "ItemSelected", panel );
|
||||
|
||||
vgui::ListPanel *m_pAvailableMapList;
|
||||
vgui::ListPanel *m_pMapCycleList;
|
||||
vgui::Button *m_RightArrow;
|
||||
vgui::Button *m_LeftArrow;
|
||||
vgui::Button *m_UpArrow;
|
||||
vgui::Button *m_DownArrow;
|
||||
};
|
||||
|
||||
|
||||
#endif // MAPCYCLEEDITDIALOG_H
|
||||
Reference in New Issue
Block a user