WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
FileBrowserPanel Namespace Reference

Classes

struct  LoadState
 

Functions

GameFiledraw (bool &visible, const LoadState &load)
 
void markDirty ()
 Mark the file tree as dirty so it will be rebuilt on the next draw().
 
void shutdown ()
 Free all internal allocations (call at application shutdown).
 

Function Documentation

◆ draw()

GameFile * FileBrowserPanel::draw ( bool &  visible,
const LoadState load 
)

Draw the File Browser ImGui panel.

Parameters
visiblePanel open/close toggle (passed to ImGui::Begin).
loadCurrent game-loading state.
Returns
The GameFile the user clicked, or nullptr if nothing was selected this frame.

Definition at line 142 of file FileBrowserPanel.cpp.

Here is the caller graph for this function:

◆ markDirty()

void FileBrowserPanel::markDirty ( )

Mark the file tree as dirty so it will be rebuilt on the next draw().

Definition at line 227 of file FileBrowserPanel.cpp.

Here is the caller graph for this function:

◆ shutdown()

void FileBrowserPanel::shutdown ( )

Free all internal allocations (call at application shutdown).

Definition at line 232 of file FileBrowserPanel.cpp.

Here is the caller graph for this function: