yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_room_nav_widget.cc File Reference
#include "app/editor/dungeon/widgets/dungeon_room_nav_widget.h"
#include <string>
#include "imgui/imgui.h"
#include "zelda3/dungeon/room.h"
#include "zelda3/resource_labels.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::anonymous_namespace{dungeon_room_nav_widget.cc}
 

Functions

std::optional< int > yaze::editor::anonymous_namespace{dungeon_room_nav_widget.cc}::RoomIfValid (int candidate)
 
std::string yaze::editor::anonymous_namespace{dungeon_room_nav_widget.cc}::MakeTooltip (const std::optional< int > &target, const char *direction)
 
bool yaze::editor::anonymous_namespace{dungeon_room_nav_widget.cc}::ArrowButtonWithTooltip (const char *id, ImGuiDir dir, const std::optional< int > &target, const std::string &tooltip, const std::function< void(int)> &on_navigate)
 

Variables

constexpr int yaze::editor::anonymous_namespace{dungeon_room_nav_widget.cc}::kRoomMatrixCols = 16
 
constexpr int yaze::editor::anonymous_namespace{dungeon_room_nav_widget.cc}::kRoomMatrixRows = 19