mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-11 07:30:57 +02:00
CFrameBuffer: outsource code for icon path detecting
Unified handling and makes it possible to use in other objects.
Origin commit data
------------------
Commit: 97343d1190
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-03-17 (Thu, 17 Mar 2016)
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