mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-13 08:23:39 +02:00
framebuffer_ng: implement getIconPath
this implements upstream commit1cfe8b44
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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user