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

#include <graphics_edit_context.h>

Collaboration diagram for yaze::editor::GraphicsEditContext:

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 )
 

Detailed Description

Definition at line 72 of file graphics_edit_context.h.

Member Data Documentation

◆ owner

◆ label

◆ limitation

◆ resolved

◆ targets

◆ selected_target

size_t yaze::editor::GraphicsEditContext::selected_target = 0

Definition at line 78 of file graphics_edit_context.h.

◆ render_preview

std::function<absl::StatusOr<usage_preview::PreviewImage>()> yaze::editor::GraphicsEditContext::render_preview

◆ return_to_source

std::function<void()> yaze::editor::GraphicsEditContext::return_to_source

Definition at line 80 of file graphics_edit_context.h.

◆ preview_revision

std::function<absl::StatusOr<uint64_t>()> yaze::editor::GraphicsEditContext::preview_revision

Definition at line 84 of file graphics_edit_context.h.

◆ drawing_description

std::string yaze::editor::GraphicsEditContext::drawing_description

◆ refresh_palettes

std::function<absl::Status(GraphicsEditContext&) yaze::editor::GraphicsEditContext::refresh_palettes)

Definition at line 88 of file graphics_edit_context.h.

◆ resolve_live_source

◆ palette_revision

std::optional<uint64_t> yaze::editor::GraphicsEditContext::palette_revision

Definition at line 93 of file graphics_edit_context.h.

◆ palette_error

std::string yaze::editor::GraphicsEditContext::palette_error

Definition at line 94 of file graphics_edit_context.h.

◆ pattern_width

◆ pattern_height

◆ pattern_cells

◆ render_staged_preview

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.


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