yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
object_editor_content.cc File Reference
#include "app/editor/dungeon/inspectors/object_editor_content.h"
#include "util/i18n/tr.h"
#include <algorithm>
#include <array>
#include <functional>
#include <initializer_list>
#include <string>
#include <vector>
#include "absl/strings/str_format.h"
#include "app/editor/agent/agent_ui_theme.h"
#include "imgui/imgui.h"
#include "zelda3/dungeon/door_position.h"
#include "zelda3/dungeon/object_layer_semantics.h"
#include "zelda3/dungeon/room_object.h"
#include "zelda3/sprite/sprite.h"

Go to the source code of this file.

Classes

struct  yaze::editor::anonymous_namespace{object_editor_content.cc}::InspectorAction
 

Namespaces

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

Typedefs

using yaze::editor::anonymous_namespace{object_editor_content.cc}::InspectorStat = std::pair<const char*, std::string>
 

Functions

bool yaze::editor::SyncObjectEditorSelectionToCanvas (DungeonObjectInteraction &interaction, const std::vector< size_t > &editor_selected_indices)
 
const char * yaze::editor::anonymous_namespace{object_editor_content.cc}::GetStoredPlacementLabel (const zelda3::RoomObject &object)
 
bool yaze::editor::anonymous_namespace{object_editor_content.cc}::MutateSelectedSprite (DungeonCanvasViewer *viewer, std::function< void(zelda3::Sprite &)> mutator)
 
bool yaze::editor::anonymous_namespace{object_editor_content.cc}::MutateSelectedItem (DungeonCanvasViewer *viewer, std::function< void(zelda3::PotItem &)> mutator)
 
void yaze::editor::anonymous_namespace{object_editor_content.cc}::DrawInspectorSummaryGrid (const char *table_id, std::initializer_list< InspectorStat > stats)
 
void yaze::editor::anonymous_namespace{object_editor_content.cc}::DrawWrappedInspectorActions (std::initializer_list< InspectorAction > actions)
 
const char * yaze::editor::anonymous_namespace{object_editor_content.cc}::GetDeleteAllSelectedTypeLabel (DungeonSelectionKind kind)
 

Variables

constexpr std::array< zelda3::DoorType, 20 > yaze::editor::anonymous_namespace{object_editor_content.cc}::kInspectorDoorTypes