set taskbar button tool tips based on app language

This commit is contained in:
Drew Weymouth
2025-08-08 19:15:46 -07:00
committed by Drew Weymouth
parent 041e4d3ba7
commit d4660075f0
5 changed files with 53 additions and 4 deletions
+4
View File
@@ -6,6 +6,10 @@ extern "C" {
typedef void (*ThumbnailCallback)(int buttonId);
// sets the tool tip strings for prev, next, play, and pause
// should be called before initialize_taskbar_buttons or they will not have tool tips
void set_tooltips_utf8(const char* prev, const char* next, const char* play, const char* pause);
// sets the icons that will be used for the buttons.
// the arguments are pointers to BGRA pixel data, and the dimensions (w, h) of all 4 images.
int initialize_taskbar_icons(const void *bgraPrev, const void *bgraNext, const void *bgraPlay, const void *bgraPause, int width, int height);