#include <graphics_edit_context.h>

Public Attributes | |
| const zelda3::GameData * | owner = nullptr |
| std::string | label |
| std::string | limitation |
| zelda3::ResolvedGraphicsContext | resolved |
| std::vector< GraphicsEditTarget > | targets |
| size_t | selected_target = 0 |
| std::function< absl::StatusOr< usage_preview::PreviewImage >()> | render_preview |
| std::function< void()> | return_to_source |
| std::function< absl::StatusOr< uint64_t >()> | preview_revision |
| std::string | drawing_description |
| std::function< absl::Status(GraphicsEditContext &) | refresh_palettes ) |
| std::function< absl::Status(GraphicsEditContext &) | resolve_live_source ) |
| std::optional< uint64_t > | palette_revision |
| std::string | palette_error |
| int | pattern_width = 0 |
| int | pattern_height = 0 |
| std::vector< GraphicsSourceCell > | pattern_cells |
| std::function< absl::StatusOr< usage_preview::PreviewImage >(const std::map< uint16_t, std::vector< uint8_t > > &) | render_staged_preview ) |
Definition at line 72 of file graphics_edit_context.h.
| const zelda3::GameData* yaze::editor::GraphicsEditContext::owner = nullptr |
Definition at line 73 of file graphics_edit_context.h.
Referenced by yaze::editor::anonymous_namespace{palette_pixel_command.cc}::CheckLiveSource(), yaze::editor::anonymous_namespace{pixel_index_command.cc}::CheckLiveSource(), yaze::editor::ExecutePalettePixelPlan(), yaze::editor::sprite_graphics_context::Make(), yaze::editor::MakeDungeonGraphicsEditContext(), yaze::editor::MakeDungeonMapTilesGfxEditContext(), yaze::editor::MakeOverworldGraphicsEditContext(), yaze::editor::PlanPalettePixelPermutation(), yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::SameSourcePattern(), yaze::editor::UsagePreviewView::ScanSharedUses(), and yaze::editor::UpdateGraphicsContextPalettes().
| std::string yaze::editor::GraphicsEditContext::label |
Definition at line 74 of file graphics_edit_context.h.
Referenced by yaze::editor::sprite_graphics_context::Make(), yaze::editor::MakeDungeonGraphicsEditContext(), yaze::editor::MakeDungeonMapTilesGfxEditContext(), and yaze::editor::MakeOverworldGraphicsEditContext().
| std::string yaze::editor::GraphicsEditContext::limitation |
Definition at line 75 of file graphics_edit_context.h.
Referenced by yaze::editor::sprite_graphics_context::Make(), yaze::editor::MakeDungeonGraphicsEditContext(), yaze::editor::MakeDungeonMapTilesGfxEditContext(), and yaze::editor::MakeOverworldGraphicsEditContext().
| zelda3::ResolvedGraphicsContext yaze::editor::GraphicsEditContext::resolved |
Definition at line 76 of file graphics_edit_context.h.
Referenced by yaze::editor::anonymous_namespace{palette_pixel_command.cc}::CheckLiveSource(), yaze::editor::anonymous_namespace{pixel_index_command.cc}::CheckLiveSource(), yaze::editor::sprite_graphics_context::Make(), yaze::editor::MakeDungeonGraphicsEditContext(), yaze::editor::MakeDungeonMapTilesGfxEditContext(), yaze::editor::MakeOverworldGraphicsEditContext(), yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::SameSourcePattern(), yaze::editor::UsagePreviewView::ScanSharedUses(), and yaze::editor::UpdateGraphicsContextPalettes().
| std::vector<GraphicsEditTarget> yaze::editor::GraphicsEditContext::targets |
Definition at line 77 of file graphics_edit_context.h.
Referenced by yaze::editor::anonymous_namespace{palette_pixel_command.cc}::CheckLiveSource(), yaze::editor::anonymous_namespace{pixel_index_command.cc}::CheckLiveSource(), yaze::editor::sprite_graphics_context::Make(), yaze::editor::MakeDungeonGraphicsEditContext(), yaze::editor::MakeDungeonMapTilesGfxEditContext(), yaze::editor::MakeOverworldGraphicsEditContext(), yaze::editor::PlanPalettePixelPermutation(), yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::SameSourcePattern(), yaze::editor::anonymous_namespace{pixel_index_command.cc}::SelectedSourceCells(), and yaze::editor::UpdateGraphicsContextPalettes().
| size_t yaze::editor::GraphicsEditContext::selected_target = 0 |
Definition at line 78 of file graphics_edit_context.h.
| std::function<absl::StatusOr<usage_preview::PreviewImage>()> yaze::editor::GraphicsEditContext::render_preview |
Definition at line 79 of file graphics_edit_context.h.
Referenced by yaze::editor::MakeDungeonMapTilesGfxEditContext().
| std::function<void()> yaze::editor::GraphicsEditContext::return_to_source |
Definition at line 80 of file graphics_edit_context.h.
| std::function<absl::StatusOr<uint64_t>()> yaze::editor::GraphicsEditContext::preview_revision |
Definition at line 84 of file graphics_edit_context.h.
| std::string yaze::editor::GraphicsEditContext::drawing_description |
Definition at line 85 of file graphics_edit_context.h.
Referenced by yaze::editor::MakeDungeonGraphicsEditContext().
| std::function<absl::Status(GraphicsEditContext&) yaze::editor::GraphicsEditContext::refresh_palettes) |
Definition at line 88 of file graphics_edit_context.h.
| std::function<absl::Status(GraphicsEditContext&) yaze::editor::GraphicsEditContext::resolve_live_source) |
Definition at line 92 of file graphics_edit_context.h.
Referenced by yaze::editor::anonymous_namespace{palette_pixel_command.cc}::CheckLiveSource(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::ValidateCatalogArtPreviewInputs().
| std::optional<uint64_t> yaze::editor::GraphicsEditContext::palette_revision |
Definition at line 93 of file graphics_edit_context.h.
| std::string yaze::editor::GraphicsEditContext::palette_error |
Definition at line 94 of file graphics_edit_context.h.
| int yaze::editor::GraphicsEditContext::pattern_width = 0 |
| int yaze::editor::GraphicsEditContext::pattern_height = 0 |
| std::vector<GraphicsSourceCell> yaze::editor::GraphicsEditContext::pattern_cells |
| std::function<absl::StatusOr<usage_preview::PreviewImage>( const std::map<uint16_t, std::vector<uint8_t>>&) yaze::editor::GraphicsEditContext::render_staged_preview) |
Definition at line 102 of file graphics_edit_context.h.