mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CFrameBuffer: outsource code for icon path detecting
Unified handling and makes it possible to use in other objects.
This commit is contained in:
@@ -226,6 +226,7 @@ class CFrameBuffer : public sigc::trackable
|
||||
|
||||
void setIconBasePath(const std::string & iconPath);
|
||||
std::string getIconBasePath(){return iconBasePath;};
|
||||
std::string getIconPath(std::string icon_name, std::string file_type = "png");
|
||||
|
||||
void getIconSize(const char * const filename, int* width, int *height);
|
||||
/* h is the height of the target "window", if != 0 the icon gets centered in that window */
|
||||
|
Reference in New Issue
Block a user