yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_workbench_inspector_helpers.h File Reference
#include <cstddef>
#include <span>
#include <string>
#include "imgui/imgui.h"
#include "zelda3/dungeon/room_object.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::editor::workbench::ObjectSizeDescription
 

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::workbench
 

Enumerations

enum class  yaze::editor::workbench::ObjectSizeControlKind {
  yaze::editor::workbench::kFixed , yaze::editor::workbench::kLength , yaze::editor::workbench::kArea , yaze::editor::workbench::kSize ,
  yaze::editor::workbench::kVariant
}
 

Functions

bool yaze::editor::workbench::HasEditableRoomObjectSize (std::span< const zelda3::RoomObject > objects, std::span< const size_t > selected_indices)
 
ObjectSizeDescription yaze::editor::workbench::DescribeObjectSize (const zelda3::RoomObject &object)
 
bool yaze::editor::workbench::DrawObjectSizeControls (const zelda3::RoomObject &object, uint8_t *requested_size)
 
void yaze::editor::workbench::DrawInspectorSectionHeader (const char *label)
 
bool yaze::editor::workbench::BeginInspectorSection (const char *label, bool default_open)
 
bool yaze::editor::workbench::DrawActionButton (const char *label, const ImVec2 &size)