Mario Kart 64
Loading...
Searching...
No Matches
TrackEditor::ContentBrowserWindow Class Reference

#include <ContentBrowser.h>

Inheritance diagram for TrackEditor::ContentBrowserWindow:
[legend]
Collaboration diagram for TrackEditor::ContentBrowserWindow:
[legend]

Public Member Functions

 ~ContentBrowserWindow ()
 

Data Fields

std::vector< std::string > Content
 
bool Refresh = true
 
bool ActorContent = false
 
bool CustomContent = false
 
bool TrackContent = false
 

Protected Member Functions

void InitElement () override
 
void DrawElement () override
 
void UpdateElement () override
 
void AddTrackContent (std::string search)
 
void AddActorContent (std::string search)
 
void AddCustomContent (std::string search)
 
void FindContent ()
 
void FolderButton (const char *label, bool &contentFlag, const ImVec2 &size=ImVec2(80, 32))
 
ATrainTrainWindow ()
 

Static Private Member Functions

static std::string ToLower (const std::string &str)
 

Private Attributes

char mSearchBuffer [128] = ""
 

Constructor & Destructor Documentation

◆ ~ContentBrowserWindow()

TrackEditor::ContentBrowserWindow::~ContentBrowserWindow ( )

Member Function Documentation

◆ AddActorContent()

void TrackEditor::ContentBrowserWindow::AddActorContent ( std::string search)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddCustomContent()

void TrackEditor::ContentBrowserWindow::AddCustomContent ( std::string search)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddTrackContent()

void TrackEditor::ContentBrowserWindow::AddTrackContent ( std::string search)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawElement()

void TrackEditor::ContentBrowserWindow::DrawElement ( )
overrideprotected
Here is the call graph for this function:

◆ FindContent()

void TrackEditor::ContentBrowserWindow::FindContent ( )
protected
Here is the caller graph for this function:

◆ FolderButton()

void TrackEditor::ContentBrowserWindow::FolderButton ( const char * label,
bool & contentFlag,
const ImVec2 & size = ImVec2(80, 32) )
protected
Here is the caller graph for this function:

◆ InitElement()

void TrackEditor::ContentBrowserWindow::InitElement ( )
inlineoverrideprotected

◆ ToLower()

static std::string TrackEditor::ContentBrowserWindow::ToLower ( const std::string & str)
inlinestaticprivate
Here is the caller graph for this function:

◆ TrainWindow()

ATrain * TrackEditor::ContentBrowserWindow::TrainWindow ( )
protected

Actors that need config windows before spawning

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateElement()

void TrackEditor::ContentBrowserWindow::UpdateElement ( )
inlineoverrideprotected

Field Documentation

◆ ActorContent

bool TrackEditor::ContentBrowserWindow::ActorContent = false

◆ Content

std::vector<std::string> TrackEditor::ContentBrowserWindow::Content

◆ CustomContent

bool TrackEditor::ContentBrowserWindow::CustomContent = false

◆ mSearchBuffer

char TrackEditor::ContentBrowserWindow::mSearchBuffer[128] = ""
private

◆ Refresh

bool TrackEditor::ContentBrowserWindow::Refresh = true

◆ TrackContent

bool TrackEditor::ContentBrowserWindow::TrackContent = false

The documentation for this class was generated from the following files: