yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_overlay_controls.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_DUNGEON_DUNGEON_OVERLAY_CONTROLS_H
2#define YAZE_APP_EDITOR_DUNGEON_DUNGEON_OVERLAY_CONTROLS_H
3
4#include <array>
5
7
8namespace yaze::editor {
9
25
30
31const std::array<DungeonOverlayControlSpec, 13>&
33
34// Shared by standalone rooms and the Workbench; visibility is viewer state.
36void DrawDungeonLayerControls(DungeonCanvasViewer& viewer, int room_id,
37 float height = 0.0f);
39
42
44 DungeonOverlayControlId id, bool enabled);
45
46} // namespace yaze::editor
47
48#endif // YAZE_APP_EDITOR_DUNGEON_DUNGEON_OVERLAY_CONTROLS_H
Editors are the view controllers for the application.
void DrawDungeonOverlayControls(DungeonCanvasViewer &viewer)
void SetDungeonOverlayControlEnabled(DungeonCanvasViewer &viewer, DungeonOverlayControlId id, bool enabled)
bool GetDungeonOverlayControlEnabled(const DungeonCanvasViewer &viewer, DungeonOverlayControlId id)
void DrawDungeonLayerControls(DungeonCanvasViewer &viewer, int room_id, float height)
const std::array< DungeonOverlayControlSpec, 13 > & GetDungeonOverlayControlSpecs()