openMSX
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ExampleAsset Struct Reference

Public Member Functions

 ExampleAsset (ImGuiID id, int type)
 

Static Public Member Functions

static void SortWithSortSpecs (ImGuiTableSortSpecs *sort_specs, ExampleAsset *items, int items_count)
 
static int IMGUI_CDECL 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 10284 of file imgui_demo.cc.

Constructor & Destructor Documentation

◆ ExampleAsset()

ExampleAsset::ExampleAsset ( ImGuiID  id,
int  type 
)
inline

Definition at line 10289 of file imgui_demo.cc.

References ID, id, and Type.

Member Function Documentation

◆ CompareWithSortSpecs()

static int IMGUI_CDECL ExampleAsset::CompareWithSortSpecs ( const void *  lhs,
const void *  rhs 
)
inlinestatic

Definition at line 10302 of file imgui_demo.cc.

References ID, s_current_sort_specs, and Type.

Referenced by SortWithSortSpecs().

◆ SortWithSortSpecs()

static void ExampleAsset::SortWithSortSpecs ( ImGuiTableSortSpecs *  sort_specs,
ExampleAsset items,
int  items_count 
)
inlinestatic

Definition at line 10293 of file imgui_demo.cc.

References CompareWithSortSpecs(), and s_current_sort_specs.

Referenced by ExampleAssetsBrowser::Draw().

Member Data Documentation

◆ ID

ImGuiID ExampleAsset::ID

Definition at line 10286 of file imgui_demo.cc.

Referenced by CompareWithSortSpecs(), ExampleAssetsBrowser::Draw(), and ExampleAsset().

◆ s_current_sort_specs

const ImGuiTableSortSpecs * ExampleAsset::s_current_sort_specs = NULL
static

Definition at line 10291 of file imgui_demo.cc.

Referenced by CompareWithSortSpecs(), and SortWithSortSpecs().

◆ Type

int ExampleAsset::Type

Definition at line 10287 of file imgui_demo.cc.

Referenced by CompareWithSortSpecs(), ExampleAssetsBrowser::Draw(), and ExampleAsset().


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