yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
overworld_canvas_renderer.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_CANVAS_RENDERER_H
2#define YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_CANVAS_RENDERER_H
3
4#include "absl/status/status.h"
5
6namespace yaze {
7namespace editor {
8
9class OverworldEditor;
10
27 public:
29
30 // =========================================================================
31 // Main Canvas Drawing
32 // =========================================================================
33
37
38 // =========================================================================
39 // Panel Drawing Methods
40 // =========================================================================
41
43 absl::Status DrawTile16Selector();
44
46 void DrawTile8Selector();
47
49 absl::Status DrawAreaGraphics();
50
52 void DrawV3Settings();
53
55 void DrawMapProperties();
56
59
60 private:
61 // =========================================================================
62 // Internal Canvas Drawing Helpers
63 // =========================================================================
64
66 void DrawOverworldMaps();
67
68 // =========================================================================
69 // Data
70 // =========================================================================
71
73};
74
75} // namespace editor
76} // namespace yaze
77
78#endif // YAZE_APP_EDITOR_OVERWORLD_OVERWORLD_CANVAS_RENDERER_H
Handles all canvas drawing and panel rendering for the overworld editor.
absl::Status DrawTile16Selector()
Draw the tile16 selector panel.
absl::Status DrawAreaGraphics()
Draw the area graphics panel.
void DrawMapProperties()
Draw the map properties panel (sidebar-based)
void DrawOverworldProperties()
Draw the overworld properties grid (debug/info view)
OverworldEditor * editor_
Non-owning pointer to the parent editor.
void DrawOverworldCanvas()
Draw the main overworld canvas with toolbar, maps, and entities. This is the primary entry point call...
void DrawV3Settings()
Draw the v3 settings panel.
void DrawTile8Selector()
Draw the tile8 selector panel (graphics bin)
void DrawOverworldMaps()
Render the 64 overworld map bitmaps to the canvas.
Main UI class for editing overworld maps in A Link to the Past.