yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_room_property_controls.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_DUNGEON_DUNGEON_ROOM_PROPERTY_CONTROLS_H_
2#define YAZE_APP_EDITOR_DUNGEON_DUNGEON_ROOM_PROPERTY_CONTROLS_H_
3
4#include <functional>
5
6namespace yaze::zelda3 {
7class Room;
8}
9
10namespace yaze::editor {
11class DungeonCanvasViewer;
12
22
23// Both hosts edit through the viewer's validated, undoable metadata callback.
24// Navigation and surrounding layout remain owned by each host.
25// kCoreGraphicsRow appends Message and the optional pit-damage checkbox. The
26// callback draws only the value widget; this renderer owns its label and cell.
28 DungeonCanvasViewer& viewer, zelda3::Room& room, int room_id,
29 RoomPropertyLayout layout,
30 const std::function<void()>& draw_pit_damage = {});
31
32} // namespace yaze::editor
33
34#endif // YAZE_APP_EDITOR_DUNGEON_DUNGEON_ROOM_PROPERTY_CONTROLS_H_
Editors are the view controllers for the application.
void DrawDungeonRoomPropertyFields(DungeonCanvasViewer &viewer, zelda3::Room &room, int room_id, RoomPropertyLayout layout, const std::function< void()> &draw_pit_damage)
Zelda 3 specific classes and functions.