yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gui::anonymous_namespace{canvas.cc} Namespace Reference

Functions

void PreventViewportWheelPropagation (ImGuiContext *ctx, ImGuiContextHook *)
 
void RegisterViewportWheelOwner (const ImRect &bounds)
 
ImVec2 AlignPosToGrid (ImVec2 pos, float scale)
 

Variables

const ImGuiID kViewportWheelOwner = ImHashStr("yaze.canvas.viewport-wheel")
 

Function Documentation

◆ PreventViewportWheelPropagation()

void yaze::gui::anonymous_namespace{canvas.cc}::PreventViewportWheelPropagation ( ImGuiContext * ctx,
ImGuiContextHook *  )

Definition at line 29 of file canvas.cc.

References kViewportWheelOwner, and PreventViewportWheelPropagation().

Referenced by PreventViewportWheelPropagation(), and RegisterViewportWheelOwner().

Here is the call graph for this function:

◆ RegisterViewportWheelOwner()

void yaze::gui::anonymous_namespace{canvas.cc}::RegisterViewportWheelOwner ( const ImRect & bounds)

Definition at line 78 of file canvas.cc.

References kViewportWheelOwner, PreventViewportWheelPropagation(), and RegisterViewportWheelOwner().

Referenced by RegisterViewportWheelOwner().

Here is the call graph for this function:

◆ AlignPosToGrid()

ImVec2 yaze::gui::anonymous_namespace{canvas.cc}::AlignPosToGrid ( ImVec2 pos,
float scale )

Definition at line 251 of file canvas.cc.

References AlignPosToGrid().

Referenced by AlignPosToGrid().

Here is the call graph for this function:

Variable Documentation

◆ kViewportWheelOwner

const ImGuiID yaze::gui::anonymous_namespace{canvas.cc}::kViewportWheelOwner = ImHashStr("yaze.canvas.viewport-wheel")

Definition at line 27 of file canvas.cc.

Referenced by PreventViewportWheelPropagation(), and RegisterViewportWheelOwner().