#include <catalog_tile_browser.h>

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 |
Definition at line 21 of file catalog_tile_browser.h.
|
default |
| 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.

|
delete |
|
delete |
| std::string yaze::editor::CatalogTileBrowserState::path |
Definition at line 26 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser(), and yaze::editor::LoadCatalogTileBrowser().
| std::string yaze::editor::CatalogTileBrowserState::loaded_path |
Definition at line 27 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser(), and yaze::editor::LoadCatalogTileBrowser().
| std::string yaze::editor::CatalogTileBrowserState::search |
Definition at line 28 of file catalog_tile_browser.h.
Referenced by yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::BrowserFilter(), and yaze::editor::DrawCatalogTileBrowser().
| std::string yaze::editor::CatalogTileBrowserState::group_filter |
Definition at line 29 of file catalog_tile_browser.h.
Referenced by yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::BrowserFilter(), and yaze::editor::DrawCatalogTileBrowser().
| std::string yaze::editor::CatalogTileBrowserState::category_filter |
Definition at line 29 of file catalog_tile_browser.h.
Referenced by yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::BrowserFilter(), and yaze::editor::DrawCatalogTileBrowser().
| int yaze::editor::CatalogTileBrowserState::kind_filter = 0 |
Definition at line 31 of file catalog_tile_browser.h.
Referenced by yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::BrowserFilter(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::DrawKindFilter().
| std::string yaze::editor::CatalogTileBrowserState::palette_search |
Definition at line 32 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser().
| std::string yaze::editor::CatalogTileBrowserState::status |
Definition at line 33 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser(), yaze::editor::LoadCatalogTileBrowser(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::ResetSourceSelection().
| std::vector<CatalogSheetSource> yaze::editor::CatalogTileBrowserState::sources |
Definition at line 34 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser(), yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::EnsureAssetPreview(), yaze::editor::LoadCatalogTileBrowser(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::SelectedSource().
| std::vector<CatalogPreviewPalette> yaze::editor::CatalogTileBrowserState::palettes |
Definition at line 35 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser(), and yaze::editor::LoadCatalogTileBrowser().
| int yaze::editor::CatalogTileBrowserState::source = -1 |
| int yaze::editor::CatalogTileBrowserState::palette = -1 |
Definition at line 37 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser(), and yaze::editor::LoadCatalogTileBrowser().
| int yaze::editor::CatalogTileBrowserState::first_destination_tile = 0 |
Definition at line 38 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser().
| int yaze::editor::CatalogTileBrowserState::last_source_tile = -1 |
Definition at line 39 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::ResetSourceSelection().
| int yaze::editor::CatalogTileBrowserState::drag_start = -1 |
Definition at line 40 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::ResetSourceSelection().
| bool yaze::editor::CatalogTileBrowserState::preserve_layout = true |
Definition at line 41 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser().
| std::set<int> yaze::editor::CatalogTileBrowserState::selected |
Definition at line 42 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::ResetSourceSelection().
| std::optional<CatalogTileTransferPlan> yaze::editor::CatalogTileBrowserState::pending |
| const void* yaze::editor::CatalogTileBrowserState::destination_owner = nullptr |
Definition at line 44 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser(), and yaze::editor::TryCatalogArtOnObject().
| int yaze::editor::CatalogTileBrowserState::destination_sheet = -1 |
Definition at line 45 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser(), and yaze::editor::TryCatalogArtOnObject().
| bool yaze::editor::CatalogTileBrowserState::default_attempted = false |
Definition at line 46 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser().
| std::string yaze::editor::CatalogTileBrowserState::asset_cache_id |
Definition at line 47 of file catalog_tile_browser.h.
Referenced by yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::EnsureAssetPreview(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::ResetSourceSelection().
| std::optional<CatalogAssetPreview> yaze::editor::CatalogTileBrowserState::asset_preview |
Definition at line 48 of file catalog_tile_browser.h.
Referenced by yaze::editor::DrawCatalogTileBrowser(), yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::DrawLogicalAsset(), yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::EnsureAssetPreview(), yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::ResetSourceSelection(), and yaze::editor::TryCatalogArtOnObject().
| CatalogArtRect yaze::editor::CatalogTileBrowserState::art_selection |
Definition at line 49 of file catalog_tile_browser.h.
Referenced by yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::DrawLogicalAsset(), yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::EnsureAssetPreview(), yaze::editor::TryCatalogArtOnObject(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::ValidateCatalogArtPreviewInputs().
| int yaze::editor::CatalogTileBrowserState::art_drag_x = -1 |
Definition at line 50 of file catalog_tile_browser.h.
Referenced by yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::DrawLogicalAsset(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::EnsureAssetPreview().
| int yaze::editor::CatalogTileBrowserState::art_drag_y = -1 |
Definition at line 50 of file catalog_tile_browser.h.
Referenced by yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::DrawLogicalAsset(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::EnsureAssetPreview().
| std::optional<PixelIndexPlan> yaze::editor::CatalogTileBrowserState::object_pending |
Definition at line 51 of file catalog_tile_browser.h.
Referenced by yaze::editor::ApplyCatalogArtToObject(), yaze::editor::CancelCatalogArtPreview(), yaze::editor::DrawCatalogTileBrowser(), yaze::editor::TryCatalogArtOnObject(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::ValidateCatalogArtPreviewInputs().
| std::optional<uint64_t> yaze::editor::CatalogTileBrowserState::candidate_source_revision |
Definition at line 52 of file catalog_tile_browser.h.
Referenced by yaze::editor::CancelCatalogArtPreview(), yaze::editor::TryCatalogArtOnObject(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::ValidateCatalogArtPreviewInputs().
| std::string yaze::editor::CatalogTileBrowserState::candidate_source_id |
Definition at line 53 of file catalog_tile_browser.h.
Referenced by yaze::editor::CancelCatalogArtPreview(), yaze::editor::TryCatalogArtOnObject(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::ValidateCatalogArtPreviewInputs().
| CatalogArtRect yaze::editor::CatalogTileBrowserState::candidate_selection |
Definition at line 54 of file catalog_tile_browser.h.
Referenced by yaze::editor::TryCatalogArtOnObject(), and yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::ValidateCatalogArtPreviewInputs().
| gfx::Bitmap yaze::editor::CatalogTileBrowserState::staged_bitmap |
Definition at line 55 of file catalog_tile_browser.h.
Referenced by yaze::editor::CancelCatalogArtPreview(), yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::DrawStagedPreview(), yaze::editor::TryCatalogArtOnObject(), and ~CatalogTileBrowserState().
| gui::Canvas yaze::editor::CatalogTileBrowserState::staged_canvas |
Definition at line 56 of file catalog_tile_browser.h.
Referenced by yaze::editor::anonymous_namespace{catalog_tile_browser.cc}::DrawStagedPreview().