diff options
author | George Hazan <ghazan@miranda.im> | 2019-06-02 15:58:09 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-06-02 15:58:09 +0300 |
commit | b97afa71c6593939d96244cd19053846b9992a61 (patch) | |
tree | 410fbcca35b76bd68793e8f04271746ba079bda4 /include | |
parent | b348c6840a351158d0c6c544147ba96f23cf825c (diff) |
Button_SetIcon_IcoLib - a helper to set MButton's icon using an icolib handle
Diffstat (limited to 'include')
-rw-r--r-- | include/m_icolib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/m_icolib.h b/include/m_icolib.h index e8a0ec3704..e0432d6101 100644 --- a/include/m_icolib.h +++ b/include/m_icolib.h @@ -99,7 +99,8 @@ MIR_APP_DLL(HANDLE) IcoLib_IsManaged(HICON hIcon); ///////////////////////////////////////////////////////////////////////////////
// Helper to apply an icolib's icon to a button
-MIR_APP_DLL(void) Button_SetIcon_IcoLib(HWND hDlg, int itemId, int iconId, const char* tooltip);
+MIR_APP_DLL(void) Button_SetIcon_IcoLib(HWND hDlg, int itemId, HANDLE hIcolib, const char *tooltip = nullptr);
+MIR_APP_DLL(void) Button_SetSkin_IcoLib(HWND hDlg, int itemId, int skinIconId, const char *tooltip = nullptr);
MIR_APP_DLL(void) Button_FreeIcon_IcoLib(HWND hDlg, int itemId);
///////////////////////////////////////////////////////////////////////////////
|