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

#include <canvas.h>

Public Attributes

ImVec2 canvas_size = ImVec2(0, 0)
 
ImVec2 dest_pos = ImVec2(0, 0)
 
ImVec2 dest_size = ImVec2(0, 0)
 
ImVec2 src_pos = ImVec2(0, 0)
 
ImVec2 src_size = ImVec2(0, 0)
 
float scale = 1.0f
 
int alpha = 255
 
bool draw_context_menu = false
 
bool draw_grid = true
 
std::optional< float > grid_step
 
bool draw_overlay = true
 
bool render_popups = true
 
bool ensure_texture = false
 
int selector_tile_size = 0
 
int selector_tile_size_y = 0
 

Detailed Description

Definition at line 80 of file canvas.h.

Member Data Documentation

◆ canvas_size

ImVec2 yaze::gui::BitmapPreviewOptions::canvas_size = ImVec2(0, 0)

Definition at line 81 of file canvas.h.

Referenced by yaze::editor::SheetBrowserPanel::DrawSheetThumbnail().

◆ dest_pos

ImVec2 yaze::gui::BitmapPreviewOptions::dest_pos = ImVec2(0, 0)

◆ dest_size

ImVec2 yaze::gui::BitmapPreviewOptions::dest_size = ImVec2(0, 0)

◆ src_pos

ImVec2 yaze::gui::BitmapPreviewOptions::src_pos = ImVec2(0, 0)

Definition at line 84 of file canvas.h.

Referenced by yaze::gui::DrawBitmapPreview().

◆ src_size

ImVec2 yaze::gui::BitmapPreviewOptions::src_size = ImVec2(0, 0)

Definition at line 85 of file canvas.h.

Referenced by yaze::gui::DrawBitmapPreview().

◆ scale

float yaze::gui::BitmapPreviewOptions::scale = 1.0f

Definition at line 86 of file canvas.h.

Referenced by yaze::gui::DrawBitmapPreview().

◆ alpha

int yaze::gui::BitmapPreviewOptions::alpha = 255

Definition at line 87 of file canvas.h.

Referenced by yaze::gui::DrawBitmapPreview().

◆ draw_context_menu

bool yaze::gui::BitmapPreviewOptions::draw_context_menu = false

Definition at line 88 of file canvas.h.

Referenced by yaze::editor::SheetBrowserPanel::DrawSheetThumbnail().

◆ draw_grid

bool yaze::gui::BitmapPreviewOptions::draw_grid = true

Definition at line 89 of file canvas.h.

Referenced by yaze::editor::SheetBrowserPanel::DrawSheetThumbnail().

◆ grid_step

std::optional<float> yaze::gui::BitmapPreviewOptions::grid_step

Definition at line 90 of file canvas.h.

Referenced by yaze::editor::SheetBrowserPanel::DrawSheetThumbnail().

◆ draw_overlay

bool yaze::gui::BitmapPreviewOptions::draw_overlay = true

Definition at line 91 of file canvas.h.

Referenced by yaze::editor::SheetBrowserPanel::DrawSheetThumbnail().

◆ render_popups

bool yaze::gui::BitmapPreviewOptions::render_popups = true

Definition at line 92 of file canvas.h.

Referenced by yaze::editor::SheetBrowserPanel::DrawSheetThumbnail().

◆ ensure_texture

bool yaze::gui::BitmapPreviewOptions::ensure_texture = false

◆ selector_tile_size

int yaze::gui::BitmapPreviewOptions::selector_tile_size = 0

Definition at line 94 of file canvas.h.

◆ selector_tile_size_y

int yaze::gui::BitmapPreviewOptions::selector_tile_size_y = 0

Definition at line 95 of file canvas.h.


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