22#ifndef GTKMM_KAGE_ASSET_MANAGER_LAYER_H
23 #define GTKMM_KAGE_ASSET_MANAGER_LAYER_H
25 #include <gtkmm/box.h>
26 #include <gtkmm/label.h>
27 #include <gtkmm/button.h>
29 #include "../../asset_rename.h"
30 #include "../../util/string/stringhelper.h"
39 unsigned int addAsset(Glib::ustring p_name =
"");
52 void render(
unsigned int p_renderID);
64 bool exists(
string p_filePath);
forward declaration
Definition: asset.h:32
AssetType
Definition: asset.h:34
Definition: assetmanager.h:34
unsigned int assetCtr
Definition: assetmanager.h:75
string _KageStudioAsset
Definition: assetmanager.h:67
virtual ~KageAssetManager()
Definition: assetmanager.cpp:34
void renderLibrary(unsigned int p_ID)
Definition: assetmanager.cpp:215
void setAssetType(KageAsset::AssetType p_assetType)
Definition: assetmanager.cpp:183
void deleteAsset()
Definition: assetmanager.cpp:126
unsigned int _currentAssetID
Definition: assetmanager.h:78
void setCurrentAssetByID(unsigned int p_assetID)
Definition: assetmanager.cpp:319
unsigned int _currentAssetIndex
Definition: assetmanager.h:79
bool moveToTop()
Definition: assetmanager.cpp:437
void render(unsigned int p_renderID)
Definition: assetmanager.cpp:197
void setLabel(string p_label)
Sets the label of current active Asset.
Definition: assetmanager.cpp:404
void renderStage()
Definition: assetmanager.cpp:347
void setAssetHash(string p_assetHash)
Definition: assetmanager.cpp:562
void setCurrentAsset(unsigned int p_asset)
Definition: assetmanager.cpp:290
KageAsset::AssetType getAssetType()
Definition: assetmanager.cpp:167
KageAsset * getAsset()
Definition: assetmanager.cpp:253
std::vector< Gtk::Button * > labels
Definition: assetmanager.h:76
string getImageByID(unsigned int p_id)
Definition: assetmanager.cpp:605
void setSelected(KageAsset *p_asset)
Definition: assetmanager.cpp:231
bool exists(string p_filePath)
Definition: assetmanager.cpp:546
Kage * _kage
Definition: assetmanager.h:73
unsigned int getCurrentAsset()
Definition: assetmanager.cpp:272
bool moveToBottom()
Definition: assetmanager.cpp:520
bool moveDown()
Definition: assetmanager.cpp:491
string getImagePathByID(unsigned int p_index)
Definition: assetmanager.cpp:575
unsigned int addAsset(Glib::ustring p_name="")
Definition: assetmanager.cpp:40
string getLabel()
Definition: assetmanager.cpp:418
unsigned int assetCount()
Definition: assetmanager.cpp:361
void renameAsset()
Definition: assetmanager.cpp:379
std::vector< KageAsset * > assets
Definition: assetmanager.h:77
bool removeAllAssets()
Definition: assetmanager.cpp:218
bool moveUp()
Definition: assetmanager.cpp:462