mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 22:27:05 +00:00
46 lines
1.3 KiB
C++
46 lines
1.3 KiB
C++
//========= 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
|