diff options
author | slotwin <slotwin@users.noreply.github.com> | 2014-05-23 01:26:12 +0000 |
---|---|---|
committer | slotwin <slotwin@users.noreply.github.com> | 2014-05-23 01:26:12 +0000 |
commit | 7c8227d28d71752509dfac29723141eba4733f06 (patch) | |
tree | ab55d8b6c798f2f980783b75ce6bf04f0b5e0aee /plugins/Clist_nicer/src/CLUIFrames/framesmenu.cpp | |
parent | 1b0d42c165afe2a1506489c237c793547e796768 (diff) |
Clist_nicer: proper capitalization in options and menus
options: use system checkboxes instead custom icons for TreeView controls
rearrange list of icons in IcoLib
code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@9284 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/CLUIFrames/framesmenu.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/CLUIFrames/framesmenu.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Clist_nicer/src/CLUIFrames/framesmenu.cpp b/plugins/Clist_nicer/src/CLUIFrames/framesmenu.cpp index a8974665cc..8b2f6987b1 100644 --- a/plugins/Clist_nicer/src/CLUIFrames/framesmenu.cpp +++ b/plugins/Clist_nicer/src/CLUIFrames/framesmenu.cpp @@ -11,7 +11,7 @@ typedef struct{ char *szServiceName;
int Frameid;
INT_PTR param1;
-}FrameMenuExecParam,*lpFrameMenuExecParam;
+} FrameMenuExecParam, *lpFrameMenuExecParam;
INT_PTR FreeOwnerDataFrameMenu(WPARAM wParam, LPARAM lParam)
{
@@ -25,10 +25,10 @@ INT_PTR FreeOwnerDataFrameMenu(WPARAM wParam, LPARAM lParam) static INT_PTR AddContextFrameMenuItem(WPARAM wParam, LPARAM lParam)
{
- CLISTMENUITEM *mi = (CLISTMENUITEM*)lParam;
+ CLISTMENUITEM *mi = (CLISTMENUITEM *)lParam;
TMO_MenuItem tmi;
- if ( !pcli->pfnConvertMenu(mi, &tmi))
+ if (!pcli->pfnConvertMenu(mi, &tmi))
return NULL;
tmi.root = (mi->flags & CMIF_ROOTHANDLE) ? mi->hParentMenu : NULL;
@@ -47,7 +47,7 @@ static INT_PTR AddContextFrameMenuItem(WPARAM wParam, LPARAM lParam) static INT_PTR RemoveContextFrameMenuItem(WPARAM wParam, LPARAM lParam)
{
- CallService(MO_REMOVEMENUITEM,wParam,0);
+ CallService(MO_REMOVEMENUITEM, wParam, 0);
return 0;
}
@@ -61,7 +61,7 @@ INT_PTR FrameMenuExecService(WPARAM wParam, LPARAM lParam) return -1;
CallService(fmep->szServiceName, lParam, fmep->param1);
- RedrawWindow(pcli->hwndContactList,NULL,NULL,RDW_INVALIDATE|RDW_ERASE|RDW_FRAME|RDW_UPDATENOW|RDW_ALLCHILDREN);
+ RedrawWindow(pcli->hwndContactList, NULL, NULL, RDW_INVALIDATE | RDW_ERASE | RDW_FRAME | RDW_UPDATENOW | RDW_ALLCHILDREN);
return 0;
}
@@ -86,13 +86,13 @@ INT_PTR FrameMenuCheckService(WPARAM wParam, LPARAM lParam) static INT_PTR ContextFrameMenuNotify(WPARAM wParam, LPARAM lParam)
{
- NotifyEventHooks(hPreBuildFrameMenuEvent,wParam,lParam);
+ NotifyEventHooks(hPreBuildFrameMenuEvent, wParam, lParam);
return 0;
}
-static INT_PTR BuildContextFrameMenu(WPARAM wParam,LPARAM lParam)
+static INT_PTR BuildContextFrameMenu(WPARAM wParam, LPARAM lParam)
{
- ListParam param = { 0 };
+ ListParam param = {0};
param.MenuObjectHandle = hFrameMenuObject;
param.wParam = wParam;
param.lParam = lParam;
|