yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_workbench_toolbar.cc File Reference
#include "app/editor/dungeon/widgets/dungeon_workbench_toolbar.h"
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <string>
#include "app/editor/dungeon/dungeon_canvas_viewer.h"
#include "app/editor/dungeon/widgets/dungeon_room_nav_widget.h"
#include "app/gui/core/color.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 "imgui/imgui.h"
#include "imgui/imgui_internal.h"
#include "zelda3/resource_labels.h"

Go to the source code of this file.

Classes

class  yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::ScopedWorkbenchToolbar
 
struct  yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::CompareDefaultResult
 

Namespaces

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

Functions

float yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::CalcIconButtonWidth (const char *icon, float btn_height)
 
float yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::CalcIconToggleButtonWidth (const char *icon_on, const char *icon_off, float btn_height)
 
CompareDefaultResult yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::PickDefaultCompareRoom (int current_room, int previous_room, const std::function< const std::deque< int > &()> &get_recent_rooms)
 
bool yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::IconToggleButton (const char *id, const char *icon_on, const char *icon_off, bool *value, float btn_size, const char *tooltip_on, const char *tooltip_off)
 
bool yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::SquareIconButton (const char *id, const char *icon, float btn_size, const char *tooltip)
 
void yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::DrawComparePicker (int current_room_id, int *compare_room_id, const std::function< const std::deque< int > &()> &get_recent_rooms, char *search_buf, size_t search_buf_size)
 

Variables

constexpr float yaze::editor::anonymous_namespace{dungeon_workbench_toolbar.cc}::kTightCompareStackThreshold = 520.0f