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

#include <canvas.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 54 of file canvas.h.

Member Data Documentation

◆ draw_list

◆ canvas_p0

◆ canvas_sz

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

◆ scrolling

◆ mouse_pos_local

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

Definition at line 59 of file canvas.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)

Definition at line 63 of file canvas.h.

Referenced by yaze::gui::BeginCanvas(), and yaze::gui::Canvas::BuildCurrentRuntime().


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