Steppable 0.0.1
A CAS project written from scratch in C++
Loading...
Searching...
No Matches
ExampleAssetsBrowser Struct Reference
Collaboration diagram for ExampleAssetsBrowser:
[legend]

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< ExampleAssetItems
 
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
 

Constructor & Destructor Documentation

◆ ExampleAssetsBrowser()

ExampleAssetsBrowser::ExampleAssetsBrowser ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ AddItems()

void ExampleAssetsBrowser::AddItems ( int count)
inline
Here is the caller graph for this function:

◆ ClearItems()

void ExampleAssetsBrowser::ClearItems ( )
inline
Here is the caller graph for this function:

◆ Draw()

void ExampleAssetsBrowser::Draw ( const char * title,
bool * p_open )
inline

◆ UpdateLayoutSizes()

void ExampleAssetsBrowser::UpdateLayoutSizes ( float avail_width)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ AllowBoxSelect

bool ExampleAssetsBrowser::AllowBoxSelect = true

◆ AllowDragUnselected

bool ExampleAssetsBrowser::AllowDragUnselected = false

◆ AllowSorting

bool ExampleAssetsBrowser::AllowSorting = true

◆ IconHitSpacing

int ExampleAssetsBrowser::IconHitSpacing = 4

◆ IconSize

float ExampleAssetsBrowser::IconSize = 32.0f

◆ IconSpacing

int ExampleAssetsBrowser::IconSpacing = 10

◆ Items

ImVector<ExampleAsset> ExampleAssetsBrowser::Items

◆ LayoutColumnCount

int ExampleAssetsBrowser::LayoutColumnCount = 0

◆ LayoutItemSize

ImVec2 ExampleAssetsBrowser::LayoutItemSize

◆ LayoutItemSpacing

float ExampleAssetsBrowser::LayoutItemSpacing = 0.0f

◆ LayoutItemStep

ImVec2 ExampleAssetsBrowser::LayoutItemStep

◆ LayoutLineCount

int ExampleAssetsBrowser::LayoutLineCount = 0

◆ LayoutOuterPadding

float ExampleAssetsBrowser::LayoutOuterPadding = 0.0f

◆ LayoutSelectableSpacing

float ExampleAssetsBrowser::LayoutSelectableSpacing = 0.0f

◆ NextItemId

ImGuiID ExampleAssetsBrowser::NextItemId = 0

◆ RequestDelete

bool ExampleAssetsBrowser::RequestDelete = false

◆ RequestSort

bool ExampleAssetsBrowser::RequestSort = false

◆ Selection

ExampleSelectionWithDeletion ExampleAssetsBrowser::Selection

◆ ShowTypeOverlay

bool ExampleAssetsBrowser::ShowTypeOverlay = true

◆ StretchSpacing

bool ExampleAssetsBrowser::StretchSpacing = true

◆ ZoomWheelAccum

float ExampleAssetsBrowser::ZoomWheelAccum = 0.0f

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