mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CFrameBuffer: add function to get icon base path
This commit is contained in:
@@ -198,6 +198,7 @@ class CFrameBuffer
|
|||||||
void paintHLineRel(int x, int dx, int y, const fb_pixel_t col);
|
void paintHLineRel(int x, int dx, int y, const fb_pixel_t col);
|
||||||
|
|
||||||
void setIconBasePath(const std::string & iconPath);
|
void setIconBasePath(const std::string & iconPath);
|
||||||
|
std::string getIconBasePath(){return iconBasePath;};
|
||||||
|
|
||||||
void getIconSize(const char * const filename, int* width, int *height);
|
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 */
|
/* h is the height of the target "window", if != 0 the icon gets centered in that window */
|
||||||
|
Reference in New Issue
Block a user