#include <canvas_types.h>
Public Attributes | |
| ImVec2 | canvas_size = ImVec2(0, 0) |
| std::optional< ImVec2 > | viewport_size |
| bool | draw_context_menu = true |
| bool | draw_grid = true |
| std::optional< float > | grid_step |
| bool | draw_overlay = true |
| bool | render_popups = true |
| bool | use_child_window = false |
| bool | show_scrollbar = false |
Definition at line 55 of file canvas_types.h.
| ImVec2 yaze::gui::CanvasFrameOptions::canvas_size = ImVec2(0, 0) |
Definition at line 56 of file canvas_types.h.
Referenced by yaze::gui::Canvas::Begin(), yaze::gui::Canvas::BeginInTable(), yaze::editor::DungeonCanvasViewer::BuildRoomCanvasFrameOptions(), yaze::editor::RoomGraphicsContent::Draw(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::DungeonCanvasViewer::DrawConnectedRoomMatrix(), yaze::editor::ScreenEditor::DrawDungeonMapsRoomGfx(), yaze::editor::ScreenEditor::DrawInventoryMenuEditor(), yaze::editor::LinkSpritePanel::DrawPreviewCanvas(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), yaze::editor::Tile16Editor::DrawTile16EditorWorkbenchColumn(), and yaze::editor::OverworldCanvasRenderer::DrawTile8Selector().
| std::optional<ImVec2> yaze::gui::CanvasFrameOptions::viewport_size |
Definition at line 59 of file canvas_types.h.
Referenced by yaze::gui::Canvas::Begin(), yaze::gui::BeginCanvas(), and yaze::editor::DungeonCanvasViewer::BuildRoomCanvasFrameOptions().
| bool yaze::gui::CanvasFrameOptions::draw_context_menu = true |
Definition at line 60 of file canvas_types.h.
Referenced by yaze::gui::Canvas::Begin(), yaze::editor::DungeonCanvasViewer::BuildRoomCanvasFrameOptions(), yaze::editor::RoomGraphicsContent::Draw(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::DungeonCanvasViewer::DrawConnectedRoomMatrix(), yaze::editor::LinkSpritePanel::DrawPreviewCanvas(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), yaze::editor::Tile16Editor::DrawTile16EditorWorkbenchColumn(), yaze::editor::OverworldCanvasRenderer::DrawTile8Selector(), yaze::editor::Tile16Editor::DrawTile8SourcePanel(), and yaze::editor::Tile16Editor::UpdateBlockset().
| bool yaze::gui::CanvasFrameOptions::draw_grid = true |
Definition at line 61 of file canvas_types.h.
Referenced by yaze::editor::DungeonCanvasViewer::BuildRoomCanvasFrameOptions(), yaze::editor::RoomGraphicsContent::Draw(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::DungeonCanvasViewer::DrawConnectedRoomMatrix(), yaze::editor::ScreenEditor::DrawDungeonMapsRoomGfx(), yaze::editor::ScreenEditor::DrawInventoryMenuEditor(), yaze::editor::LinkSpritePanel::DrawPreviewCanvas(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), yaze::editor::Tile16Editor::DrawTile16EditorWorkbenchColumn(), yaze::editor::OverworldCanvasRenderer::DrawTile8Selector(), yaze::editor::Tile16Editor::DrawTile8SourcePanel(), yaze::gui::Canvas::End(), yaze::gui::Canvas::EndInTable(), and yaze::editor::Tile16Editor::UpdateBlockset().
| std::optional<float> yaze::gui::CanvasFrameOptions::grid_step |
Definition at line 62 of file canvas_types.h.
Referenced by yaze::gui::Canvas::Begin(), yaze::gui::BeginCanvas(), yaze::gui::Canvas::BeginInTable(), yaze::editor::DungeonCanvasViewer::BuildRoomCanvasFrameOptions(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::ScreenEditor::DrawDungeonMapsRoomGfx(), yaze::editor::ScreenEditor::DrawInventoryMenuEditor(), yaze::editor::LinkSpritePanel::DrawPreviewCanvas(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), yaze::editor::Tile16Editor::DrawTile16EditorWorkbenchColumn(), yaze::editor::OverworldCanvasRenderer::DrawTile8Selector(), yaze::editor::Tile16Editor::DrawTile8SourcePanel(), yaze::gui::Canvas::End(), yaze::gui::Canvas::EndInTable(), and yaze::editor::Tile16Editor::UpdateBlockset().
| bool yaze::gui::CanvasFrameOptions::draw_overlay = true |
Definition at line 63 of file canvas_types.h.
Referenced by yaze::editor::DungeonCanvasViewer::BuildRoomCanvasFrameOptions(), yaze::editor::RoomGraphicsContent::Draw(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::DungeonCanvasViewer::DrawConnectedRoomMatrix(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), yaze::editor::Tile16Editor::DrawTile16EditorWorkbenchColumn(), yaze::editor::OverworldCanvasRenderer::DrawTile8Selector(), yaze::editor::Tile16Editor::DrawTile8SourcePanel(), yaze::gui::Canvas::End(), yaze::gui::Canvas::EndInTable(), and yaze::editor::Tile16Editor::UpdateBlockset().
| bool yaze::gui::CanvasFrameOptions::render_popups = true |
Definition at line 64 of file canvas_types.h.
Referenced by yaze::editor::DungeonCanvasViewer::BuildRoomCanvasFrameOptions(), yaze::editor::RoomGraphicsContent::Draw(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::DungeonCanvasViewer::DrawConnectedRoomMatrix(), yaze::editor::ScreenEditor::DrawDungeonMapsRoomGfx(), yaze::editor::ScreenEditor::DrawInventoryMenuEditor(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::SheetBrowserPanel::DrawSheetThumbnail(), yaze::editor::Tile16Editor::DrawTile16EditorWorkbenchColumn(), yaze::editor::OverworldCanvasRenderer::DrawTile8Selector(), yaze::editor::Tile16Editor::DrawTile8SourcePanel(), yaze::gui::Canvas::End(), yaze::gui::Canvas::EndInTable(), and yaze::editor::Tile16Editor::UpdateBlockset().
| bool yaze::gui::CanvasFrameOptions::use_child_window = false |
Definition at line 65 of file canvas_types.h.
Referenced by yaze::gui::Canvas::Begin(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::OverworldEditor::DrawScratchSpace(), yaze::editor::Tile16Editor::DrawTile16EditorWorkbenchColumn(), yaze::editor::OverworldCanvasRenderer::DrawTile8Selector(), yaze::editor::Tile16Editor::DrawTile8SourcePanel(), yaze::gui::Canvas::End(), and yaze::editor::Tile16Editor::UpdateBlockset().
| bool yaze::gui::CanvasFrameOptions::show_scrollbar = false |
Definition at line 66 of file canvas_types.h.
Referenced by yaze::gui::Canvas::Begin(), and yaze::gui::Canvas::BeginInTable().