diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-05 17:59:29 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-05 17:59:29 +0300 |
commit | b1ac2547316dca56f32d238d50dc2dc6c8e8aedf (patch) | |
tree | 87483cb57f6a97b1c66e8d3a7d47427731efd9ed /plugins/wbOSD | |
parent | 200566e2070f941e26ea52078bc8326d4fb76ee0 (diff) |
CLIST_INTERFACE::pfnGetStatusModeDescription => Clist_GetStatusModeDescription
Diffstat (limited to 'plugins/wbOSD')
-rw-r--r-- | plugins/wbOSD/src/events.cpp | 4 | ||||
-rw-r--r-- | plugins/wbOSD/src/options.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/wbOSD/src/events.cpp b/plugins/wbOSD/src/events.cpp index 2ab9f02e91..4b5865db85 100644 --- a/plugins/wbOSD/src/events.cpp +++ b/plugins/wbOSD/src/events.cpp @@ -63,7 +63,7 @@ int ProtoAck(WPARAM,LPARAM lparam) DWORD ann = db_get_dw( NULL, THIS_MODULE, "announce", DEFAULT_ANNOUNCE );
if ( ann & ( 1 << ( ack->lParam - ID_STATUS_OFFLINE ))) {
wchar_t buffer[512];
- mir_snwprintf(buffer, TranslateT("%s is %s"), pcli->pfnGetContactDisplayName(ack->hContact, 0), pcli->pfnGetStatusModeDescription(ack->lParam, 0));
+ mir_snwprintf(buffer, TranslateT("%s is %s"), pcli->pfnGetContactDisplayName(ack->hContact, 0), Clist_GetStatusModeDescription(ack->lParam, 0));
ShowOSD(buffer, 0, db_get_dw(NULL,THIS_MODULE, "clr_status", DEFAULT_CLRSTATUS), ack->hContact);
} } }
@@ -121,7 +121,7 @@ int ContactStatusChanged(WPARAM wParam, LPARAM lParam) return 0;
wchar_t bufferW[512];
- mir_snwprintf(bufferW, TranslateT("%s is %s"), pcli->pfnGetContactDisplayName(wParam, 0), pcli->pfnGetStatusModeDescription(newStatus, 0));
+ mir_snwprintf(bufferW, TranslateT("%s is %s"), pcli->pfnGetContactDisplayName(wParam, 0), Clist_GetStatusModeDescription(newStatus, 0));
ShowOSD(bufferW, 0, db_get_dw(NULL,THIS_MODULE, "clr_status", DEFAULT_CLRSTATUS), hContact);
return 0;
}
diff --git a/plugins/wbOSD/src/options.cpp b/plugins/wbOSD/src/options.cpp index 5c77d0390f..12ad300dae 100644 --- a/plugins/wbOSD/src/options.cpp +++ b/plugins/wbOSD/src/options.cpp @@ -23,7 +23,7 @@ void FillCheckBoxTree(HWND hwndTree, DWORD style) tvis.item.mask = TVIF_PARAM | TVIF_TEXT | TVIF_STATE;
for (WORD status = ID_STATUS_OFFLINE; status <= ID_STATUS_OUTTOLUNCH; status++) {
tvis.item.lParam = status - ID_STATUS_OFFLINE;
- tvis.item.pszText = pcli->pfnGetStatusModeDescription(status, 0);
+ tvis.item.pszText = Clist_GetStatusModeDescription(status, 0);
tvis.item.stateMask = TVIS_STATEIMAGEMASK;
tvis.item.state = INDEXTOSTATEIMAGEMASK((style & (1 << tvis.item.lParam)) != 0 ? 2 : 1);
TreeView_InsertItem(hwndTree, &tvis);
|