openMSX
|
Public Member Functions | |
ExampleAssetsBrowser () | |
void | AddItems (int count) |
void | ClearItems () |
void | UpdateLayoutSizes (float avail_width) |
void | Draw (const char *title, bool *p_open) |
Public Attributes | |
bool | ShowTypeOverlay = true |
bool | AllowSorting = true |
bool | AllowDragUnselected = false |
bool | AllowBoxSelect = true |
float | IconSize = 32.0f |
int | IconSpacing = 10 |
int | IconHitSpacing = 4 |
bool | StretchSpacing = true |
ImVector< ExampleAsset > | Items |
ExampleSelectionWithDeletion | Selection |
ImGuiID | NextItemId = 0 |
bool | RequestDelete = false |
bool | RequestSort = false |
float | ZoomWheelAccum = 0.0f |
ImVec2 | LayoutItemSize |
ImVec2 | LayoutItemStep |
float | LayoutItemSpacing = 0.0f |
float | LayoutSelectableSpacing = 0.0f |
float | LayoutOuterPadding = 0.0f |
int | LayoutColumnCount = 0 |
int | LayoutLineCount = 0 |
Definition at line 10324 of file imgui_demo.cc.
|
inline |
Definition at line 10354 of file imgui_demo.cc.
References AddItems().
|
inline |
Definition at line 10358 of file imgui_demo.cc.
References Items, NextItemId, and RequestSort.
Referenced by Draw(), and ExampleAssetsBrowser().
|
inline |
Definition at line 10367 of file imgui_demo.cc.
References Items, and Selection.
Referenced by Draw().
|
inline |
Definition at line 10396 of file imgui_demo.cc.
References AddItems(), AllowBoxSelect, AllowDragUnselected, AllowSorting, ExampleSelectionWithDeletion::ApplyDeletionPostLoop(), ExampleSelectionWithDeletion::ApplyDeletionPreLoop(), ImGui::CalcTextSize(), ClearItems(), IconHitSpacing, IconSize, IconSpacing, ExampleAsset::ID, IM_CLAMP, IM_MIN, Items, LayoutColumnCount, LayoutItemSize, LayoutItemSpacing, LayoutItemStep, LayoutLineCount, LayoutOuterPadding, LayoutSelectableSpacing, RequestDelete, RequestSort, Selection, ShowTypeOverlay, ExampleAsset::SortWithSortSpecs(), StretchSpacing, ExampleAsset::Type, UpdateLayoutSizes(), and ZoomWheelAccum.
|
inline |
Definition at line 10375 of file imgui_demo.cc.
References IconHitSpacing, IconSize, IconSpacing, IM_MAX, Items, LayoutColumnCount, LayoutItemSize, LayoutItemSpacing, LayoutItemStep, LayoutLineCount, LayoutOuterPadding, LayoutSelectableSpacing, and StretchSpacing.
Referenced by Draw().
bool ExampleAssetsBrowser::AllowBoxSelect = true |
Definition at line 10330 of file imgui_demo.cc.
Referenced by Draw().
bool ExampleAssetsBrowser::AllowDragUnselected = false |
Definition at line 10329 of file imgui_demo.cc.
Referenced by Draw().
bool ExampleAssetsBrowser::AllowSorting = true |
Definition at line 10328 of file imgui_demo.cc.
Referenced by Draw().
int ExampleAssetsBrowser::IconHitSpacing = 4 |
Definition at line 10333 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
float ExampleAssetsBrowser::IconSize = 32.0f |
Definition at line 10331 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
int ExampleAssetsBrowser::IconSpacing = 10 |
Definition at line 10332 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
ImVector<ExampleAsset> ExampleAssetsBrowser::Items |
Definition at line 10337 of file imgui_demo.cc.
Referenced by AddItems(), ClearItems(), Draw(), and UpdateLayoutSizes().
int ExampleAssetsBrowser::LayoutColumnCount = 0 |
Definition at line 10350 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
ImVec2 ExampleAssetsBrowser::LayoutItemSize |
Definition at line 10345 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
float ExampleAssetsBrowser::LayoutItemSpacing = 0.0f |
Definition at line 10347 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
ImVec2 ExampleAssetsBrowser::LayoutItemStep |
Definition at line 10346 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
int ExampleAssetsBrowser::LayoutLineCount = 0 |
Definition at line 10351 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
float ExampleAssetsBrowser::LayoutOuterPadding = 0.0f |
Definition at line 10349 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
float ExampleAssetsBrowser::LayoutSelectableSpacing = 0.0f |
Definition at line 10348 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
ImGuiID ExampleAssetsBrowser::NextItemId = 0 |
Definition at line 10339 of file imgui_demo.cc.
Referenced by AddItems().
bool ExampleAssetsBrowser::RequestDelete = false |
Definition at line 10340 of file imgui_demo.cc.
Referenced by Draw().
bool ExampleAssetsBrowser::RequestSort = false |
Definition at line 10341 of file imgui_demo.cc.
Referenced by AddItems(), and Draw().
ExampleSelectionWithDeletion ExampleAssetsBrowser::Selection |
Definition at line 10338 of file imgui_demo.cc.
Referenced by ClearItems(), and Draw().
bool ExampleAssetsBrowser::ShowTypeOverlay = true |
Definition at line 10327 of file imgui_demo.cc.
Referenced by Draw().
bool ExampleAssetsBrowser::StretchSpacing = true |
Definition at line 10334 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
float ExampleAssetsBrowser::ZoomWheelAccum = 0.0f |
Definition at line 10342 of file imgui_demo.cc.
Referenced by Draw().