yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_workbench_content.cc File Reference
#include "app/editor/dungeon/workspace/dungeon_workbench_content.h"
#include "util/i18n/tr.h"
#include <algorithm>
#include <array>
#include <cctype>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <utility>
#include <vector>
#include "absl/strings/str_format.h"
#include "app/editor/agent/agent_ui_theme.h"
#include "app/editor/dungeon/dungeon_canvas_viewer.h"
#include "app/editor/dungeon/dungeon_project_labels.h"
#include "app/editor/dungeon/dungeon_room_selector.h"
#include "app/editor/dungeon/dungeon_selection_snapshot.h"
#include "app/editor/dungeon/ui/window/custom_collision_panel.h"
#include "app/editor/dungeon/ui/window/dungeon_map_panel.h"
#include "app/editor/dungeon/ui/window/minecart_track_editor_panel.h"
#include "app/editor/dungeon/ui/window/room_tag_editor_panel.h"
#include "app/editor/dungeon/ui/window/shortcut_legend_panel.h"
#include "app/editor/dungeon/ui/window/water_fill_panel.h"
#include "app/editor/dungeon/ui/workbench/dungeon_workbench_chrome.h"
#include "app/editor/dungeon/widgets/dungeon_status_bar.h"
#include "app/editor/dungeon/widgets/dungeon_workbench_toolbar.h"
#include "app/editor/dungeon/workspace/dungeon_pit_damage_view_model.h"
#include "app/editor/dungeon/workspace/dungeon_workbench_inspector_helpers.h"
#include "app/editor/dungeon/workspace/dungeon_workbench_layout.h"
#include "app/gui/core/icons.h"
#include "app/gui/core/input.h"
#include "app/gui/core/layout_helpers.h"
#include "app/gui/core/style_guard.h"
#include "app/gui/core/ui_config.h"
#include "app/gui/widgets/themed_widgets.h"
#include "core/features.h"
#include "core/project.h"
#include "imgui/imgui.h"
#include "rom/rom.h"
#include "zelda3/dungeon/door_types.h"
#include "zelda3/dungeon/dungeon_rom_addresses.h"
#include "zelda3/dungeon/object_layer_semantics.h"
#include "zelda3/dungeon/pit_damage_table.h"
#include "zelda3/dungeon/room_entrance.h"
#include "zelda3/dungeon/room_layer_manager.h"
#include "zelda3/dungeon/room_object.h"
#include "zelda3/resource_labels.h"
#include "zelda3/sprite/sprite.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_workbench_content.cc}
 

Functions

const char * yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::GetObjectCategory (int object_id)
 
const char * yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::GetObjectStreamName (int layer_value)
 
const char * yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::GetSpecialLayerName (int layer_value)
 
const char * yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::GetBg2ModeName (int value)
 
const char * yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::GetCollisionName (int value)
 
const char * yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::GetPotItemName (uint8_t item)
 
float yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::ClampWorkbenchPaneWidth (float desired_width, float min_width, float max_width)
 
float yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::GetCompactSidebarWidth (bool right_sidebar, float min_sidebar_width)
 
DungeonWorkbenchTestRect yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::CaptureLastItemRectForTesting ()
 
DungeonWorkbenchResponsiveLayout yaze::editor::ResolveDungeonWorkbenchResponsiveLayout (float total_width, float min_canvas_width, float min_sidebar_width, float splitter_width, bool want_left, bool want_right)
 
DungeonWorkbenchPaneLayout yaze::editor::ResolveDungeonWorkbenchPaneLayout (float total_width, float min_canvas_width, float min_sidebar_width, float splitter_width, float stored_left_width, float stored_right_width, bool want_left, bool want_right)
 

Variables

constexpr float yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::kCompactLeftSidebarMinWidth = 224.0f
 
constexpr float yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::kCompactRightSidebarMinWidth = 272.0f
 
constexpr float yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::kCompactLeftSidebarScale = 0.72f
 
constexpr float yaze::editor::anonymous_namespace{dungeon_workbench_content.cc}::kCompactRightSidebarScale = 0.84f