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

#include <catalog_tile_browser.h>

Collaboration diagram for yaze::editor::CatalogTileBrowserState:

Public Member Functions

 CatalogTileBrowserState ()=default
 
 ~CatalogTileBrowserState ()
 
 CatalogTileBrowserState (const CatalogTileBrowserState &)=delete
 
CatalogTileBrowserState & operator= (const CatalogTileBrowserState &)=delete
 

Public Attributes

std::string path
 
std::string loaded_path
 
std::string search
 
std::string group_filter
 
std::string category_filter
 
int kind_filter = 0
 
std::string palette_search
 
std::string status
 
std::vector< CatalogSheetSource > sources
 
std::vector< CatalogPreviewPalette > palettes
 
int source = -1
 
int palette = -1
 
int first_destination_tile = 0
 
int last_source_tile = -1
 
int drag_start = -1
 
bool preserve_layout = true
 
std::set< int > selected
 
std::optional< CatalogTileTransferPlan > pending
 
const void * destination_owner = nullptr
 
int destination_sheet = -1
 
bool default_attempted = false
 
std::string asset_cache_id
 
std::optional< CatalogAssetPreview > asset_preview
 
CatalogArtRect art_selection
 
int art_drag_x = -1
 
int art_drag_y = -1
 
std::optional< PixelIndexPlan > object_pending
 
std::optional< uint64_t > candidate_source_revision
 
std::string candidate_source_id
 
CatalogArtRect candidate_selection
 
gfx::Bitmap staged_bitmap
 
gui::Canvas staged_canvas
 

Detailed Description

Definition at line 21 of file catalog_tile_browser.h.

Constructor & Destructor Documentation

◆ CatalogTileBrowserState() [1/2]

yaze::editor::CatalogTileBrowserState::CatalogTileBrowserState ( )
default

◆ ~CatalogTileBrowserState()

yaze::editor::CatalogTileBrowserState::~CatalogTileBrowserState ( )

Definition at line 401 of file catalog_tile_browser.cc.

References yaze::gfx::Arena::Get(), yaze::gfx::Arena::RetireBitmap(), and staged_bitmap.

Here is the call graph for this function:

◆ CatalogTileBrowserState() [2/2]

yaze::editor::CatalogTileBrowserState::CatalogTileBrowserState ( const CatalogTileBrowserState & )
delete

Member Function Documentation

◆ operator=()

CatalogTileBrowserState & yaze::editor::CatalogTileBrowserState::operator= ( const CatalogTileBrowserState & )
delete

Member Data Documentation

◆ path

std::string yaze::editor::CatalogTileBrowserState::path

◆ loaded_path

std::string yaze::editor::CatalogTileBrowserState::loaded_path

◆ search

std::string yaze::editor::CatalogTileBrowserState::search

◆ group_filter

std::string yaze::editor::CatalogTileBrowserState::group_filter

◆ category_filter

std::string yaze::editor::CatalogTileBrowserState::category_filter

◆ kind_filter

◆ palette_search

std::string yaze::editor::CatalogTileBrowserState::palette_search

Definition at line 32 of file catalog_tile_browser.h.

Referenced by yaze::editor::DrawCatalogTileBrowser().

◆ status

◆ sources

◆ palettes

std::vector<CatalogPreviewPalette> yaze::editor::CatalogTileBrowserState::palettes

◆ source

◆ palette

int yaze::editor::CatalogTileBrowserState::palette = -1

◆ first_destination_tile

int yaze::editor::CatalogTileBrowserState::first_destination_tile = 0

Definition at line 38 of file catalog_tile_browser.h.

Referenced by yaze::editor::DrawCatalogTileBrowser().

◆ last_source_tile

int yaze::editor::CatalogTileBrowserState::last_source_tile = -1

◆ drag_start

int yaze::editor::CatalogTileBrowserState::drag_start = -1

◆ preserve_layout

bool yaze::editor::CatalogTileBrowserState::preserve_layout = true

Definition at line 41 of file catalog_tile_browser.h.

Referenced by yaze::editor::DrawCatalogTileBrowser().

◆ selected

std::set<int> yaze::editor::CatalogTileBrowserState::selected

◆ pending

◆ destination_owner

const void* yaze::editor::CatalogTileBrowserState::destination_owner = nullptr

◆ destination_sheet

int yaze::editor::CatalogTileBrowserState::destination_sheet = -1

◆ default_attempted

bool yaze::editor::CatalogTileBrowserState::default_attempted = false

Definition at line 46 of file catalog_tile_browser.h.

Referenced by yaze::editor::DrawCatalogTileBrowser().

◆ asset_cache_id

◆ asset_preview

◆ art_selection

◆ art_drag_x

◆ art_drag_y

◆ object_pending

◆ candidate_source_revision

std::optional<uint64_t> yaze::editor::CatalogTileBrowserState::candidate_source_revision

◆ candidate_source_id

◆ candidate_selection

CatalogArtRect yaze::editor::CatalogTileBrowserState::candidate_selection

◆ staged_bitmap

◆ staged_canvas

gui::Canvas yaze::editor::CatalogTileBrowserState::staged_canvas
Initial value:
{"CatalogStagedPreview", ImVec2(256, 256),

Definition at line 56 of file catalog_tile_browser.h.

Referenced by yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::DrawStagedPreview().


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