2026-06-03 10:32:55 -07:00
|
|
|
/* Copyright (C) 2026 Wildfire Games.
|
2023-12-02 16:30:12 -08:00
|
|
|
* This file is part of 0 A.D.
|
2017-04-08 19:12:20 -07:00
|
|
|
*
|
2023-12-02 16:30:12 -08:00
|
|
|
* 0 A.D. is free software: you can redistribute it and/or modify
|
2017-04-08 19:12:20 -07:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
* the Free Software Foundation, either version 2 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
2023-12-02 16:30:12 -08:00
|
|
|
* 0 A.D. is distributed in the hope that it will be useful,
|
2017-04-08 19:12:20 -07:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2023-12-02 16:30:12 -08:00
|
|
|
* along with 0 A.D. If not, see <http://www.gnu.org/licenses/>.
|
2017-04-08 19:12:20 -07:00
|
|
|
*/
|
|
|
|
|
|
2025-08-09 03:01:01 -07:00
|
|
|
#include "tools/atlas/AtlasUI/ScenarioEditor/Sections/Common/Sidebar.h"
|
|
|
|
|
|
|
|
|
|
#include <wx/event.h>
|
|
|
|
|
|
|
|
|
|
class ScenarioEditor;
|
|
|
|
|
class wxCheckBox;
|
|
|
|
|
class wxListBox;
|
|
|
|
|
class wxScrolledWindow;
|
|
|
|
|
class wxTextCtrl;
|
|
|
|
|
class wxWindow;
|
2017-04-08 19:12:20 -07:00
|
|
|
|
|
|
|
|
class CinemaSidebar : public Sidebar
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CinemaSidebar(ScenarioEditor& scenarioEditor, wxWindow* sidebarContainer, wxWindow* bottomBarContainer);
|
|
|
|
|
|
2026-06-03 10:32:55 -07:00
|
|
|
void OnMapReload() override;
|
2017-04-08 19:12:20 -07:00
|
|
|
|
|
|
|
|
protected:
|
2026-06-03 10:32:55 -07:00
|
|
|
void OnFirstDisplay() override;
|
2017-04-08 19:12:20 -07:00
|
|
|
|
|
|
|
|
private:
|
2026-07-30 10:22:27 -07:00
|
|
|
void SetPathsDrawing(const bool enable);
|
|
|
|
|
void AddPath(wxString name);
|
|
|
|
|
void DeleteSelectedPath();
|
2026-06-03 10:32:55 -07:00
|
|
|
|
|
|
|
|
void ReloadPathList();
|
|
|
|
|
|
2017-04-08 19:12:20 -07:00
|
|
|
wxCheckBox* m_DrawPath;
|
2017-04-17 20:30:16 -07:00
|
|
|
wxListBox* m_PathList;
|
2017-04-08 19:12:20 -07:00
|
|
|
};
|