aboutsummaryrefslogtreecommitdiffstats
path: root/systray.h
diff options
context:
space:
mode:
authorjoesis2018-10-17 03:05:42 -0700
committerGitHub2018-10-17 03:05:42 -0700
commit89b3d9c45cc69f861868cc7f3159eba2b4cdfb22 (patch)
treed44d0e0f1eaba23282d2f15f602aba0941cd33b9 /systray.h
parent3fd1443dac5c8297999189fe28d5836b2b075b66 (diff)
parent1a665b2c73c12a4cdf5402daef46b1082a822e0d (diff)
downloadsystray-89b3d9c45cc69f861868cc7f3159eba2b4cdfb22.tar.bz2
Merge pull request #65 from jefvel/menu-item-icons
Made it possible to add icons to menu items on Mac
Diffstat (limited to 'systray.h')
-rw-r--r--systray.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/systray.h b/systray.h
index f9b1d3c..36bcf98 100644
--- a/systray.h
+++ b/systray.h
@@ -4,6 +4,7 @@ extern void systray_menu_item_selected(int menu_id);
int nativeLoop(void);
void setIcon(const char* iconBytes, int length);
+void setMenuItemIcon(const char* iconBytes, int length, int menuId);
void setTitle(char* title);
void setTooltip(char* tooltip);
void add_or_update_menu_item(int menuId, char* title, char* tooltip, short disabled, short checked);