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 10374 of file imgui_demo.cc.
|
inline |
Definition at line 10404 of file imgui_demo.cc.
References AddItems().
|
inline |
Definition at line 10408 of file imgui_demo.cc.
References Items, NextItemId, and RequestSort.
Referenced by Draw(), and ExampleAssetsBrowser().
|
inline |
Definition at line 10417 of file imgui_demo.cc.
References Items, and Selection.
Referenced by Draw().
|
inline |
Definition at line 10446 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 10425 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 10380 of file imgui_demo.cc.
Referenced by Draw().
bool ExampleAssetsBrowser::AllowDragUnselected = false |
Definition at line 10379 of file imgui_demo.cc.
Referenced by Draw().
bool ExampleAssetsBrowser::AllowSorting = true |
Definition at line 10378 of file imgui_demo.cc.
Referenced by Draw().
int ExampleAssetsBrowser::IconHitSpacing = 4 |
Definition at line 10383 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
float ExampleAssetsBrowser::IconSize = 32.0f |
Definition at line 10381 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
int ExampleAssetsBrowser::IconSpacing = 10 |
Definition at line 10382 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
ImVector<ExampleAsset> ExampleAssetsBrowser::Items |
Definition at line 10387 of file imgui_demo.cc.
Referenced by AddItems(), ClearItems(), Draw(), and UpdateLayoutSizes().
int ExampleAssetsBrowser::LayoutColumnCount = 0 |
Definition at line 10400 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
ImVec2 ExampleAssetsBrowser::LayoutItemSize |
Definition at line 10395 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
float ExampleAssetsBrowser::LayoutItemSpacing = 0.0f |
Definition at line 10397 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
ImVec2 ExampleAssetsBrowser::LayoutItemStep |
Definition at line 10396 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
int ExampleAssetsBrowser::LayoutLineCount = 0 |
Definition at line 10401 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
float ExampleAssetsBrowser::LayoutOuterPadding = 0.0f |
Definition at line 10399 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
float ExampleAssetsBrowser::LayoutSelectableSpacing = 0.0f |
Definition at line 10398 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
ImGuiID ExampleAssetsBrowser::NextItemId = 0 |
Definition at line 10389 of file imgui_demo.cc.
Referenced by AddItems().
bool ExampleAssetsBrowser::RequestDelete = false |
Definition at line 10390 of file imgui_demo.cc.
Referenced by Draw().
bool ExampleAssetsBrowser::RequestSort = false |
Definition at line 10391 of file imgui_demo.cc.
Referenced by AddItems(), and Draw().
ExampleSelectionWithDeletion ExampleAssetsBrowser::Selection |
Definition at line 10388 of file imgui_demo.cc.
Referenced by ClearItems(), and Draw().
bool ExampleAssetsBrowser::ShowTypeOverlay = true |
Definition at line 10377 of file imgui_demo.cc.
Referenced by Draw().
bool ExampleAssetsBrowser::StretchSpacing = true |
Definition at line 10384 of file imgui_demo.cc.
Referenced by Draw(), and UpdateLayoutSizes().
float ExampleAssetsBrowser::ZoomWheelAccum = 0.0f |
Definition at line 10392 of file imgui_demo.cc.
Referenced by Draw().