framebuffer_ng: implement getIconPath

this implements upstream commit 97343d11 in framebuffer_ng
This commit is contained in:
Stefan Seyfried
2016-10-22 11:46:34 +02:00
parent 8f5f8781e6
commit 3f48c41090
2 changed files with 15 additions and 10 deletions

View File

@@ -218,6 +218,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 */