Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
1.3 KiB

//========= 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