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

Configuration for canvas display and interaction. More...

#include <canvas_utils.h>

Public Attributes

bool enable_grid = true
 
bool enable_hex_labels = false
 
bool enable_custom_labels = false
 
bool enable_context_menu = true
 
bool is_draggable = false
 
bool auto_resize = false
 
bool clamp_rect_to_local_maps = true
 
float grid_step = 32.0f
 
float global_scale = 1.0f
 
ImVec2 canvas_size = ImVec2(0, 0)
 
ImVec2 content_size = ImVec2(0, 0)
 
bool custom_canvas_size = false
 

Detailed Description

Configuration for canvas display and interaction.

Definition at line 16 of file canvas_utils.h.

Member Data Documentation

◆ enable_grid

◆ enable_hex_labels

◆ enable_custom_labels

◆ enable_context_menu

◆ is_draggable

◆ auto_resize

◆ clamp_rect_to_local_maps

◆ grid_step

◆ global_scale

◆ canvas_size

◆ content_size

◆ custom_canvas_size


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