yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::gui::CanvasRuntime Struct Reference

#include <canvas_types.h>

Public Attributes

ImDrawList * draw_list = nullptr
 
ImVec2 canvas_p0 = ImVec2(0, 0)
 
ImVec2 canvas_sz = ImVec2(0, 0)
 
ImVec2 scrolling = ImVec2(0, 0)
 
ImVec2 mouse_pos_local = ImVec2(0, 0)
 
bool hovered = false
 
float grid_step = 16.0f
 
float scale = 1.0f
 
ImVec2 content_size = ImVec2(0, 0)
 

Detailed Description

Definition at line 43 of file canvas_types.h.

Member Data Documentation

◆ draw_list

◆ canvas_p0

◆ canvas_sz

◆ scrolling

◆ mouse_pos_local

ImVec2 yaze::gui::CanvasRuntime::mouse_pos_local = ImVec2(0, 0)

Definition at line 48 of file canvas_types.h.

Referenced by yaze::gui::Canvas::BuildCurrentRuntime().

◆ hovered

◆ grid_step

float yaze::gui::CanvasRuntime::grid_step = 16.0f

◆ scale

◆ content_size

ImVec2 yaze::gui::CanvasRuntime::content_size = ImVec2(0, 0)

The documentation for this struct was generated from the following file: