framebuffer_ng: implement getIconPath

this implements upstream commit 1cfe8b44 in framebuffer_ng


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3f48c41090
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-10-22 (Sat, 22 Oct 2016)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2016-10-22 11:46:34 +02:00
parent deb4f31146
commit 2addd15b8c
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 */