yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
canvas.cc File Reference
#include "imgui/imgui_internal.h"
#include "canvas.h"
#include "util/i18n/tr.h"
#include <algorithm>
#include <cmath>
#include <string>
#include "app/editor/core/content_registry.h"
#include "app/editor/core/event_bus.h"
#include "app/editor/events/core_events.h"
#include "app/gfx/core/bitmap.h"
#include "app/gfx/debug/performance/performance_profiler.h"
#include "app/gfx/util/bpp_format_manager.h"
#include "app/gui/canvas/canvas_automation_api.h"
#include "app/gui/canvas/canvas_extensions.h"
#include "app/gui/canvas/canvas_utils.h"
#include "app/gui/core/layout_helpers.h"
#include "app/gui/core/style.h"
#include "imgui/imgui.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::gui
 Graphical User Interface (GUI) components for the application.
 
namespace  yaze::gui::anonymous_namespace{canvas.cc}
 

Functions

void yaze::gui::anonymous_namespace{canvas.cc}::PreventViewportWheelPropagation (ImGuiContext *ctx, ImGuiContextHook *)
 
void yaze::gui::anonymous_namespace{canvas.cc}::RegisterViewportWheelOwner (const ImRect &bounds)
 
ImVec2 yaze::gui::anonymous_namespace{canvas.cc}::AlignPosToGrid (ImVec2 pos, float scale)
 

Variables

const ImGuiID yaze::gui::anonymous_namespace{canvas.cc}::kViewportWheelOwner = ImHashStr("yaze.canvas.viewport-wheel")
 
constexpr uint32_t yaze::gui::kRectangleColor = IM_COL32(32, 32, 32, 255)
 
constexpr uint32_t yaze::gui::kWhiteColor = IM_COL32(255, 255, 255, 255)
 
constexpr ImGuiButtonFlags yaze::gui::kMouseFlags