WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
FileBrowserPanel.h
Go to the documentation of this file.
1
#pragma once
2
3
class
GameFile
;
4
5
namespace
FileBrowserPanel
6
{
7
10
struct
LoadState
11
{
12
bool
isLoaded
=
false
;
13
bool
inProgress
=
false
;
14
float
progress
= 0.0f;
// 0..1
15
const
char
*
statusText
=
""
;
16
};
17
23
GameFile
*
draw
(
bool
& visible,
const
LoadState
& load);
24
26
void
markDirty
();
27
29
void
shutdown
();
30
31
}
// namespace FileBrowserPanel
GameFile
Abstract base class representing a file within the game data archive.
Definition
GameFile.h:12
FileBrowserPanel
Definition
FileBrowserPanel.cpp:140
FileBrowserPanel::draw
GameFile * draw(bool &visible, const LoadState &load)
Definition
FileBrowserPanel.cpp:142
FileBrowserPanel::shutdown
void shutdown()
Free all internal allocations (call at application shutdown).
Definition
FileBrowserPanel.cpp:232
FileBrowserPanel::markDirty
void markDirty()
Mark the file tree as dirty so it will be rebuilt on the next draw().
Definition
FileBrowserPanel.cpp:227
FileBrowserPanel::LoadState
Definition
FileBrowserPanel.h:11
FileBrowserPanel::LoadState::progress
float progress
Definition
FileBrowserPanel.h:14
FileBrowserPanel::LoadState::inProgress
bool inProgress
Definition
FileBrowserPanel.h:13
FileBrowserPanel::LoadState::isLoaded
bool isLoaded
Definition
FileBrowserPanel.h:12
FileBrowserPanel::LoadState::statusText
const char * statusText
Definition
FileBrowserPanel.h:15
Source
App
Panels
FileBrowserPanel.h
Generated by
1.9.8