yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::gui::AssetObject Struct Reference

#include <asset_browser.h>

Inheritance diagram for yaze::app::gui::AssetObject:

Public Member Functions

 AssetObject (ImGuiID id, int type)
 

Static Public Member Functions

static void SortWithSortSpecs (ImGuiTableSortSpecs *sort_specs, AssetObject *items, int items_count)
 
static int CompareWithSortSpecs (const void *lhs, const void *rhs)
 

Public Attributes

ImGuiID ID
 
int Type
 

Static Public Attributes

static const ImGuiTableSortSpecs * s_current_sort_specs = NULL
 

Detailed Description

Definition at line 94 of file asset_browser.h.

Constructor & Destructor Documentation

◆ AssetObject()

yaze::app::gui::AssetObject::AssetObject ( ImGuiID id,
int type )
inline

Definition at line 98 of file asset_browser.h.

References ID, and Type.

Member Function Documentation

◆ SortWithSortSpecs()

static void yaze::app::gui::AssetObject::SortWithSortSpecs ( ImGuiTableSortSpecs * sort_specs,
AssetObject * items,
int items_count )
inlinestatic

Definition at line 105 of file asset_browser.h.

References CompareWithSortSpecs(), and s_current_sort_specs.

Referenced by yaze::app::gui::GfxSheetAssetBrowser::Draw().

Here is the call graph for this function:

◆ CompareWithSortSpecs()

static int yaze::app::gui::AssetObject::CompareWithSortSpecs ( const void * lhs,
const void * rhs )
inlinestatic

Definition at line 116 of file asset_browser.h.

References ID, s_current_sort_specs, and Type.

Referenced by SortWithSortSpecs().

Member Data Documentation

◆ ID

ImGuiID yaze::app::gui::AssetObject::ID

◆ Type

int yaze::app::gui::AssetObject::Type

◆ s_current_sort_specs

const ImGuiTableSortSpecs * yaze::app::gui::AssetObject::s_current_sort_specs = NULL
static

Definition at line 103 of file asset_browser.h.

Referenced by CompareWithSortSpecs(), and SortWithSortSpecs().


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