#include <canvas_types.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 |
Definition at line 66 of file canvas_types.h.
| ImVec2 yaze::gui::BitmapPreviewOptions::canvas_size = ImVec2(0, 0) |
Definition at line 67 of file canvas_types.h.
Referenced by yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), and yaze::editor::SheetBrowserView::DrawSheetThumbnail().
| ImVec2 yaze::gui::BitmapPreviewOptions::dest_pos = ImVec2(0, 0) |
Definition at line 68 of file canvas_types.h.
Referenced by yaze::editor::RoomGraphicsContent::Draw(), yaze::gui::DrawBitmapPreview(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), and yaze::editor::SheetBrowserView::DrawSheetThumbnail().
| ImVec2 yaze::gui::BitmapPreviewOptions::dest_size = ImVec2(0, 0) |
Definition at line 69 of file canvas_types.h.
Referenced by yaze::editor::RoomGraphicsContent::Draw(), yaze::gui::DrawBitmapPreview(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), and yaze::editor::SheetBrowserView::DrawSheetThumbnail().
| ImVec2 yaze::gui::BitmapPreviewOptions::src_pos = ImVec2(0, 0) |
Definition at line 70 of file canvas_types.h.
Referenced by yaze::gui::DrawBitmapPreview().
| ImVec2 yaze::gui::BitmapPreviewOptions::src_size = ImVec2(0, 0) |
Definition at line 71 of file canvas_types.h.
Referenced by yaze::gui::DrawBitmapPreview().
| float yaze::gui::BitmapPreviewOptions::scale = 1.0f |
Definition at line 72 of file canvas_types.h.
Referenced by yaze::gui::DrawBitmapPreview().
| int yaze::gui::BitmapPreviewOptions::alpha = 255 |
Definition at line 73 of file canvas_types.h.
Referenced by yaze::gui::DrawBitmapPreview().
| bool yaze::gui::BitmapPreviewOptions::draw_context_menu = false |
Definition at line 74 of file canvas_types.h.
Referenced by yaze::editor::RoomGraphicsContent::Draw(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), and yaze::editor::SheetBrowserView::DrawSheetThumbnail().
| bool yaze::gui::BitmapPreviewOptions::draw_grid = true |
Definition at line 75 of file canvas_types.h.
Referenced by yaze::editor::RoomGraphicsContent::Draw(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), and yaze::editor::SheetBrowserView::DrawSheetThumbnail().
| std::optional<float> yaze::gui::BitmapPreviewOptions::grid_step |
Definition at line 76 of file canvas_types.h.
Referenced by yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), and yaze::editor::SheetBrowserView::DrawSheetThumbnail().
| bool yaze::gui::BitmapPreviewOptions::draw_overlay = true |
Definition at line 77 of file canvas_types.h.
Referenced by yaze::editor::RoomGraphicsContent::Draw(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), and yaze::editor::SheetBrowserView::DrawSheetThumbnail().
| bool yaze::gui::BitmapPreviewOptions::render_popups = true |
Definition at line 78 of file canvas_types.h.
Referenced by yaze::editor::RoomGraphicsContent::Draw(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), and yaze::editor::SheetBrowserView::DrawSheetThumbnail().
| bool yaze::gui::BitmapPreviewOptions::ensure_texture = false |
Definition at line 79 of file canvas_types.h.
Referenced by yaze::editor::RoomGraphicsContent::Draw(), yaze::gui::DrawBitmapPreview(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), and yaze::editor::SheetBrowserView::DrawSheetThumbnail().
| int yaze::gui::BitmapPreviewOptions::selector_tile_size = 0 |
Definition at line 80 of file canvas_types.h.
| int yaze::gui::BitmapPreviewOptions::selector_tile_size_y = 0 |
Definition at line 81 of file canvas_types.h.