blob: 8d977991cf5bc311238efef054fbc2ed437c4604 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
|