Skyscraper 2.0
Skyscraper::TextureManager Class Reference

#include <texturemanager.h>

Inheritance diagram for Skyscraper::TextureManager:
Collaboration diagram for Skyscraper::TextureManager:

Public Member Functions

 TextureManager (DebugPanel *parent, wxWindowID id=wxID_ANY)
 
virtual ~TextureManager ()
 
void Loop ()
 

Public Attributes

wxButton * bExport
 
wxButton * bOK
 
wxButton * bSave
 
wxButton * bUnload
 
wxCheckBox * chkEnableForce
 
wxCheckBox * chkForceMode
 
wxListBox * TextureList
 
wxStaticBitmap * bmpMain
 
wxStaticText * StaticText10
 
wxStaticText * StaticText11
 
wxStaticText * StaticText12
 
wxStaticText * StaticText1
 
wxStaticText * StaticText2
 
wxStaticText * StaticText3
 
wxStaticText * StaticText4
 
wxStaticText * StaticText5
 
wxStaticText * StaticText6
 
wxStaticText * StaticText7
 
wxStaticText * StaticText8
 
wxStaticText * StaticText9
 
wxTextCtrl * tAlpha
 
wxTextCtrl * tDependencies
 
wxTextCtrl * tFilename
 
wxTextCtrl * tHeight
 
wxTextCtrl * tHeightMult
 
wxTextCtrl * tMaterial
 
wxTextCtrl * tMemory
 
wxTextCtrl * tMipMaps
 
wxTextCtrl * tWidth
 
wxTextCtrl * tWidthMult
 

Static Protected Attributes

static const wxWindowID ID_TextureList = wxNewId()
 
static const wxWindowID ID_STATICTEXT7 = wxNewId()
 
static const wxWindowID ID_tDependencies = wxNewId()
 
static const wxWindowID ID_STATICTEXT4 = wxNewId()
 
static const wxWindowID ID_tMaterial = wxNewId()
 
static const wxWindowID ID_STATICTEXT1 = wxNewId()
 
static const wxWindowID ID_tFilename = wxNewId()
 
static const wxWindowID ID_STATICTEXT8 = wxNewId()
 
static const wxWindowID ID_tWidth = wxNewId()
 
static const wxWindowID ID_STATICTEXT9 = wxNewId()
 
static const wxWindowID ID_tHeight = wxNewId()
 
static const wxWindowID ID_STATICTEXT11 = wxNewId()
 
static const wxWindowID ID_tAlpha = wxNewId()
 
static const wxWindowID ID_STATICTEXT12 = wxNewId()
 
static const wxWindowID ID_tMipMaps = wxNewId()
 
static const wxWindowID ID_STATICTEXT10 = wxNewId()
 
static const wxWindowID ID_tMemory = wxNewId()
 
static const wxWindowID ID_STATICTEXT5 = wxNewId()
 
static const wxWindowID ID_tWidthMult = wxNewId()
 
static const wxWindowID ID_STATICTEXT6 = wxNewId()
 
static const wxWindowID ID_tHeightMult = wxNewId()
 
static const wxWindowID ID_STATICTEXT2 = wxNewId()
 
static const wxWindowID ID_chkEnableForce = wxNewId()
 
static const wxWindowID ID_STATICTEXT3 = wxNewId()
 
static const wxWindowID ID_chkForceMode = wxNewId()
 
static const wxWindowID ID_bSave = wxNewId()
 
static const wxWindowID ID_bExport = wxNewId()
 
static const wxWindowID ID_bUnload = wxNewId()
 
static const wxWindowID ID_bmpMain = wxNewId()
 
static const wxWindowID ID_bOK = wxNewId()
 

Private Member Functions

void On_bUnload_Click (wxCommandEvent &event)
 
void On_bOK_Click (wxCommandEvent &event)
 
void On_TextureList_Select (wxCommandEvent &event)
 
void On_bSave_Click (wxCommandEvent &event)
 
void On_bExport_Click (wxCommandEvent &event)
 
std::string GetTextureName (const std::string &material)
 

Private Attributes

SBS::SBSSimcore
 
DebugPanelpanel
 
int lastcount
 

Detailed Description

Definition at line 39 of file texturemanager.h.

Constructor & Destructor Documentation

◆ TextureManager()

Skyscraper::TextureManager::TextureManager ( DebugPanel * parent,
wxWindowID id = wxID_ANY )

Definition at line 76 of file texturemanager.cpp.

References On_bExport_Click(), On_bOK_Click(), On_bSave_Click(), On_bUnload_Click(), and On_TextureList_Select().

Here is the call graph for this function:

◆ ~TextureManager()

Skyscraper::TextureManager::~TextureManager ( )
virtual

Definition at line 176 of file texturemanager.cpp.

Member Function Documentation

◆ GetTextureName()

std::string Skyscraper::TextureManager::GetTextureName ( const std::string & material)
private

Definition at line 351 of file texturemanager.cpp.

References SBS::TextureManager::GetMaterialByName(), SBS::SBS::GetTextureManager(), and Simcore.

Referenced by On_bExport_Click(), and On_TextureList_Select().

Here is the call graph for this function:

◆ Loop()

◆ On_bExport_Click()

void Skyscraper::TextureManager::On_bExport_Click ( wxCommandEvent & event)
private

◆ On_bOK_Click()

void Skyscraper::TextureManager::On_bOK_Click ( wxCommandEvent & event)
private

Definition at line 248 of file texturemanager.cpp.

Referenced by TextureManager().

◆ On_bSave_Click()

◆ On_bUnload_Click()

◆ On_TextureList_Select()

Member Data Documentation

◆ bExport

wxButton* Skyscraper::TextureManager::bExport

Definition at line 47 of file texturemanager.h.

◆ bmpMain

wxStaticBitmap* Skyscraper::TextureManager::bmpMain

Definition at line 54 of file texturemanager.h.

Referenced by On_TextureList_Select().

◆ bOK

wxButton* Skyscraper::TextureManager::bOK

Definition at line 48 of file texturemanager.h.

◆ bSave

wxButton* Skyscraper::TextureManager::bSave

Definition at line 49 of file texturemanager.h.

◆ bUnload

wxButton* Skyscraper::TextureManager::bUnload

Definition at line 50 of file texturemanager.h.

◆ chkEnableForce

wxCheckBox* Skyscraper::TextureManager::chkEnableForce

Definition at line 51 of file texturemanager.h.

Referenced by Loop(), On_bSave_Click(), and On_TextureList_Select().

◆ chkForceMode

wxCheckBox* Skyscraper::TextureManager::chkForceMode

Definition at line 52 of file texturemanager.h.

Referenced by Loop(), On_bSave_Click(), and On_TextureList_Select().

◆ ID_bExport

const wxWindowID Skyscraper::TextureManager::ID_bExport = wxNewId()
staticprotected

Definition at line 109 of file texturemanager.h.

◆ ID_bmpMain

const wxWindowID Skyscraper::TextureManager::ID_bmpMain = wxNewId()
staticprotected

Definition at line 111 of file texturemanager.h.

◆ ID_bOK

const wxWindowID Skyscraper::TextureManager::ID_bOK = wxNewId()
staticprotected

Definition at line 112 of file texturemanager.h.

◆ ID_bSave

const wxWindowID Skyscraper::TextureManager::ID_bSave = wxNewId()
staticprotected

Definition at line 108 of file texturemanager.h.

◆ ID_bUnload

const wxWindowID Skyscraper::TextureManager::ID_bUnload = wxNewId()
staticprotected

Definition at line 110 of file texturemanager.h.

◆ ID_chkEnableForce

const wxWindowID Skyscraper::TextureManager::ID_chkEnableForce = wxNewId()
staticprotected

Definition at line 105 of file texturemanager.h.

◆ ID_chkForceMode

const wxWindowID Skyscraper::TextureManager::ID_chkForceMode = wxNewId()
staticprotected

Definition at line 107 of file texturemanager.h.

◆ ID_STATICTEXT1

const wxWindowID Skyscraper::TextureManager::ID_STATICTEXT1 = wxNewId()
staticprotected

Definition at line 88 of file texturemanager.h.

◆ ID_STATICTEXT10

const wxWindowID Skyscraper::TextureManager::ID_STATICTEXT10 = wxNewId()
staticprotected

Definition at line 98 of file texturemanager.h.

◆ ID_STATICTEXT11

const wxWindowID Skyscraper::TextureManager::ID_STATICTEXT11 = wxNewId()
staticprotected

Definition at line 94 of file texturemanager.h.

◆ ID_STATICTEXT12

const wxWindowID Skyscraper::TextureManager::ID_STATICTEXT12 = wxNewId()
staticprotected

Definition at line 96 of file texturemanager.h.

◆ ID_STATICTEXT2

const wxWindowID Skyscraper::TextureManager::ID_STATICTEXT2 = wxNewId()
staticprotected

Definition at line 104 of file texturemanager.h.

◆ ID_STATICTEXT3

const wxWindowID Skyscraper::TextureManager::ID_STATICTEXT3 = wxNewId()
staticprotected

Definition at line 106 of file texturemanager.h.

◆ ID_STATICTEXT4

const wxWindowID Skyscraper::TextureManager::ID_STATICTEXT4 = wxNewId()
staticprotected

Definition at line 86 of file texturemanager.h.

◆ ID_STATICTEXT5

const wxWindowID Skyscraper::TextureManager::ID_STATICTEXT5 = wxNewId()
staticprotected

Definition at line 100 of file texturemanager.h.

◆ ID_STATICTEXT6

const wxWindowID Skyscraper::TextureManager::ID_STATICTEXT6 = wxNewId()
staticprotected

Definition at line 102 of file texturemanager.h.

◆ ID_STATICTEXT7

const wxWindowID Skyscraper::TextureManager::ID_STATICTEXT7 = wxNewId()
staticprotected

Definition at line 84 of file texturemanager.h.

◆ ID_STATICTEXT8

const wxWindowID Skyscraper::TextureManager::ID_STATICTEXT8 = wxNewId()
staticprotected

Definition at line 90 of file texturemanager.h.

◆ ID_STATICTEXT9

const wxWindowID Skyscraper::TextureManager::ID_STATICTEXT9 = wxNewId()
staticprotected

Definition at line 92 of file texturemanager.h.

◆ ID_tAlpha

const wxWindowID Skyscraper::TextureManager::ID_tAlpha = wxNewId()
staticprotected

Definition at line 95 of file texturemanager.h.

◆ ID_tDependencies

const wxWindowID Skyscraper::TextureManager::ID_tDependencies = wxNewId()
staticprotected

Definition at line 85 of file texturemanager.h.

◆ ID_TextureList

const wxWindowID Skyscraper::TextureManager::ID_TextureList = wxNewId()
staticprotected

Definition at line 83 of file texturemanager.h.

◆ ID_tFilename

const wxWindowID Skyscraper::TextureManager::ID_tFilename = wxNewId()
staticprotected

Definition at line 89 of file texturemanager.h.

◆ ID_tHeight

const wxWindowID Skyscraper::TextureManager::ID_tHeight = wxNewId()
staticprotected

Definition at line 93 of file texturemanager.h.

◆ ID_tHeightMult

const wxWindowID Skyscraper::TextureManager::ID_tHeightMult = wxNewId()
staticprotected

Definition at line 103 of file texturemanager.h.

◆ ID_tMaterial

const wxWindowID Skyscraper::TextureManager::ID_tMaterial = wxNewId()
staticprotected

Definition at line 87 of file texturemanager.h.

◆ ID_tMemory

const wxWindowID Skyscraper::TextureManager::ID_tMemory = wxNewId()
staticprotected

Definition at line 99 of file texturemanager.h.

◆ ID_tMipMaps

const wxWindowID Skyscraper::TextureManager::ID_tMipMaps = wxNewId()
staticprotected

Definition at line 97 of file texturemanager.h.

◆ ID_tWidth

const wxWindowID Skyscraper::TextureManager::ID_tWidth = wxNewId()
staticprotected

Definition at line 91 of file texturemanager.h.

◆ ID_tWidthMult

const wxWindowID Skyscraper::TextureManager::ID_tWidthMult = wxNewId()
staticprotected

Definition at line 101 of file texturemanager.h.

◆ lastcount

int Skyscraper::TextureManager::lastcount
private

Definition at line 129 of file texturemanager.h.

Referenced by Loop().

◆ panel

DebugPanel* Skyscraper::TextureManager::panel
private

Definition at line 128 of file texturemanager.h.

Referenced by Loop(), and On_TextureList_Select().

◆ Simcore

SBS::SBS* Skyscraper::TextureManager::Simcore
private

◆ StaticText1

wxStaticText* Skyscraper::TextureManager::StaticText1

Definition at line 58 of file texturemanager.h.

◆ StaticText10

wxStaticText* Skyscraper::TextureManager::StaticText10

Definition at line 55 of file texturemanager.h.

◆ StaticText11

wxStaticText* Skyscraper::TextureManager::StaticText11

Definition at line 56 of file texturemanager.h.

◆ StaticText12

wxStaticText* Skyscraper::TextureManager::StaticText12

Definition at line 57 of file texturemanager.h.

◆ StaticText2

wxStaticText* Skyscraper::TextureManager::StaticText2

Definition at line 59 of file texturemanager.h.

◆ StaticText3

wxStaticText* Skyscraper::TextureManager::StaticText3

Definition at line 60 of file texturemanager.h.

◆ StaticText4

wxStaticText* Skyscraper::TextureManager::StaticText4

Definition at line 61 of file texturemanager.h.

◆ StaticText5

wxStaticText* Skyscraper::TextureManager::StaticText5

Definition at line 62 of file texturemanager.h.

◆ StaticText6

wxStaticText* Skyscraper::TextureManager::StaticText6

Definition at line 63 of file texturemanager.h.

◆ StaticText7

wxStaticText* Skyscraper::TextureManager::StaticText7

Definition at line 64 of file texturemanager.h.

◆ StaticText8

wxStaticText* Skyscraper::TextureManager::StaticText8

Definition at line 65 of file texturemanager.h.

◆ StaticText9

wxStaticText* Skyscraper::TextureManager::StaticText9

Definition at line 66 of file texturemanager.h.

◆ tAlpha

wxTextCtrl* Skyscraper::TextureManager::tAlpha

Definition at line 67 of file texturemanager.h.

Referenced by Loop(), and On_TextureList_Select().

◆ tDependencies

wxTextCtrl* Skyscraper::TextureManager::tDependencies

Definition at line 68 of file texturemanager.h.

Referenced by Loop(), and On_TextureList_Select().

◆ TextureList

wxListBox* Skyscraper::TextureManager::TextureList

◆ tFilename

wxTextCtrl* Skyscraper::TextureManager::tFilename

Definition at line 69 of file texturemanager.h.

Referenced by Loop(), and On_TextureList_Select().

◆ tHeight

wxTextCtrl* Skyscraper::TextureManager::tHeight

Definition at line 70 of file texturemanager.h.

Referenced by Loop(), and On_TextureList_Select().

◆ tHeightMult

wxTextCtrl* Skyscraper::TextureManager::tHeightMult

Definition at line 71 of file texturemanager.h.

Referenced by Loop(), On_bSave_Click(), and On_TextureList_Select().

◆ tMaterial

wxTextCtrl* Skyscraper::TextureManager::tMaterial

Definition at line 72 of file texturemanager.h.

Referenced by Loop(), and On_TextureList_Select().

◆ tMemory

wxTextCtrl* Skyscraper::TextureManager::tMemory

Definition at line 73 of file texturemanager.h.

Referenced by Loop(), and On_TextureList_Select().

◆ tMipMaps

wxTextCtrl* Skyscraper::TextureManager::tMipMaps

Definition at line 74 of file texturemanager.h.

Referenced by Loop(), and On_TextureList_Select().

◆ tWidth

wxTextCtrl* Skyscraper::TextureManager::tWidth

Definition at line 75 of file texturemanager.h.

Referenced by Loop(), and On_TextureList_Select().

◆ tWidthMult

wxTextCtrl* Skyscraper::TextureManager::tWidthMult

Definition at line 76 of file texturemanager.h.

Referenced by Loop(), On_bSave_Click(), and On_TextureList_Select().


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