From 1925d3521846f4e6683d3d537cc41de9c9bd7250 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Feb 2014 19:01:03 +0000 Subject: "we don't need these variables" (c) Pink Floyd git-svn-id: http://svn.miranda-ng.org/main/trunk@8101 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/hdr/modern_clc.h | 4 +- .../Clist_modern/src/hdr/modern_commonheaders.h | 4 +- .../Clist_modern/src/hdr/modern_commonprototypes.h | 38 +++++----- plugins/Clist_modern/src/hdr/modern_skinengine.h | 2 +- plugins/Clist_modern/src/hdr/modern_static_clui.h | 6 +- .../src/hdr/modern_static_cluiframes_service.h | 88 +++++++++++----------- 6 files changed, 71 insertions(+), 71 deletions(-) (limited to 'plugins/Clist_modern/src/hdr') diff --git a/plugins/Clist_modern/src/hdr/modern_clc.h b/plugins/Clist_modern/src/hdr/modern_clc.h index 5cffd61852..c9cc59fd75 100644 --- a/plugins/Clist_modern/src/hdr/modern_clc.h +++ b/plugins/Clist_modern/src/hdr/modern_clc.h @@ -413,7 +413,7 @@ void cli_SortCLC(HWND hwnd,ClcData *dat,int useInsertionSort); int GetNewSelection(ClcGroup *group,int selection, int direction); //clcmsgs.c -LRESULT cli_ProcessExternalMessages(HWND hwnd,ClcData *dat,UINT msg,WPARAM wParam,LPARAM lParam); +LRESULT cli_ProcessExternalMessages(HWND hwnd,ClcData *dat,UINT msg,WPARAM wParam, LPARAM lParam); //clcutils.c void cliRecalcScrollBar(HWND hwnd,ClcData *dat); @@ -428,7 +428,7 @@ void LoadCLCOptions(HWND hwnd,ClcData *dat); void CLCPaint_cliPaintClc(HWND hwnd,ClcData *dat,HDC hdc,RECT *rcPaint); //clcopts.c -int ClcOptInit(WPARAM wParam,LPARAM lParam); +int ClcOptInit(WPARAM wParam, LPARAM lParam); DWORD GetDefaultExStyle(void); void GetFontSetting(int i,LOGFONT *lf,COLORREF *colour,BYTE *effect, COLORREF *eColour1,COLORREF *eColour2); diff --git a/plugins/Clist_modern/src/hdr/modern_commonheaders.h b/plugins/Clist_modern/src/hdr/modern_commonheaders.h index 320010f101..3e1f3bfec6 100644 --- a/plugins/Clist_modern/src/hdr/modern_commonheaders.h +++ b/plugins/Clist_modern/src/hdr/modern_commonheaders.h @@ -62,8 +62,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define TRACET(str) #endif -#define SERVICE(serviceproc) static INT_PTR serviceproc(WPARAM wParam,LPARAM lParam) -#define EVENTHOOK(eventhookproc) static int eventhookproc(WPARAM wParam,LPARAM lParam) +#define SERVICE(serviceproc) static INT_PTR serviceproc(WPARAM wParam, LPARAM lParam) +#define EVENTHOOK(eventhookproc) static int eventhookproc(WPARAM wParam, LPARAM lParam) #define CLINTERFACE static #include diff --git a/plugins/Clist_modern/src/hdr/modern_commonprototypes.h b/plugins/Clist_modern/src/hdr/modern_commonprototypes.h index e6998c3a95..4d2c7d4cb7 100644 --- a/plugins/Clist_modern/src/hdr/modern_commonprototypes.h +++ b/plugins/Clist_modern/src/hdr/modern_commonprototypes.h @@ -102,7 +102,7 @@ HANDLE RegisterIcolibIconHandle(char * szIcoID, char *szSectionName, char * sz void CLUI_UpdateAeroGlass(); void CLUI_ChangeWindowMode(); BOOL CLUI_CheckOwnedByClui(HWND hwnd); -INT_PTR CLUI_GetConnectingIconService(WPARAM wParam,LPARAM lParam); +INT_PTR CLUI_GetConnectingIconService(WPARAM wParam, LPARAM lParam); int CLUI_HideBehindEdge(); int CLUI_IconsChanged(WPARAM,LPARAM); int CLUI_IsInMainWindow(HWND hwnd); @@ -118,7 +118,7 @@ void CLUI_UpdateLayeredMode(); UINT_PTR CLUI_SafeSetTimer(HWND hwnd, int ID, int Timeout, TIMERPROC proc); /* CLUIServices */ -int CLUIUnreadEmailCountChanged(WPARAM wParam,LPARAM lParam); +int CLUIUnreadEmailCountChanged(WPARAM wParam, LPARAM lParam); /* GDIPlus */ BOOL GDIPlus_AlphaBlend(HDC hdcDest,int nXOriginDest,int nYOriginDest,int nWidthDest,int nHeightDest,HDC hdcSrc,int nXOriginSrc,int nYOriginSrc,int nWidthSrc,int nHeightSrc, BLENDFUNCTION * blendFunction); @@ -165,7 +165,7 @@ int ske_ReCreateBackImage(BOOL Erase,RECT *w); int ske_RedrawCompleteWindow(); bool ske_ResetTextEffect(HDC); bool ske_SelectTextEffect(HDC hdc, BYTE EffectID, DWORD FirstColor, DWORD SecondColor); -INT_PTR ske_Service_DrawGlyph(WPARAM wParam,LPARAM lParam); +INT_PTR ske_Service_DrawGlyph(WPARAM wParam, LPARAM lParam); BOOL ske_SetRectOpaque(HDC memdc,RECT *fr, BOOL force = FALSE ); BOOL ske_SetRgnOpaque(HDC memdc,HRGN hrgn, BOOL force = FALSE ); BOOL ske_TextOut(HDC hdc, int x, int y, LPCTSTR lpString, int nCount); @@ -182,12 +182,12 @@ __forceinline BOOL ske_DrawTextA(HDC hdc, char *lpString, int nCount, RECT *lpRe /* CLUIFrames.c PROXIED */ int CLUIFrames_ActivateSubContainers(BOOL wParam); -int CLUIFrames_OnClistResize_mod(WPARAM wParam,LPARAM lParam); +int CLUIFrames_OnClistResize_mod(WPARAM wParam, LPARAM lParam); int CLUIFrames_OnMoving( HWND, RECT *); int CLUIFrames_OnShowHide( HWND hwnd, int mode ); int CLUIFrames_SetLayeredMode( BOOL fLayeredMode, HWND hwnd ); int CLUIFrames_SetParentForContainers( HWND parent ); -int CLUIFramesOnClistResize(WPARAM wParam,LPARAM lParam); +int CLUIFramesOnClistResize(WPARAM wParam, LPARAM lParam); FRAMEWND * FindFrameByItsHWND(HWND FrameHwnd); //cluiframes.c @@ -199,7 +199,7 @@ int SetAlpha(BYTE Alpha); /* others TODO: move above */ -int Docking_ProcessWindowMessage(WPARAM wParam,LPARAM lParam); +int Docking_ProcessWindowMessage(WPARAM wParam, LPARAM lParam); void DrawBackGround(HWND hwnd,HDC mhdc, HBITMAP hBmpBackground, COLORREF bkColour, DWORD backgroundBmpUse ); HRESULT BackgroundsLoadModule(); int BackgroundsUnloadModule(); @@ -215,7 +215,7 @@ DWORD mod_CalcHash(const char * a); / HICON cliGetIconFromStatusMode(MCONTACT hContact, const char *szProto,int status); //clistmod.c HICON GetMainStatusOverlay(int STATUS); //clc.c int __fastcall CLVM_GetContactHiddenStatus(MCONTACT hContact, char *szStatus, ClcData *dat); //clcitems.c -int BgStatusBarChange(WPARAM wParam,LPARAM lParam); //clcopts.c +int BgStatusBarChange(WPARAM wParam, LPARAM lParam); //clcopts.c int ClcDoProtoAck(MCONTACT wParam, ACKDATA *ack); //clc.c int ModernSkinButtonDeleteAll(); //modernbutton.c int GetContactCachedStatus(MCONTACT hContact); //clistsettings.c @@ -226,10 +226,10 @@ int InitCustomMenus(void); // int InitFramesMenus(void); //framesmenus.c int LoadMoveToGroup(); //movetogroup.c int LoadStatusBarData(); //modern_statusbar.c -int MenuModulesLoaded(WPARAM wParam,LPARAM lParam); //clistmenu.c -int MenuModulesShutdown(WPARAM wParam,LPARAM lParam); //clistmenu.c -int MenuProcessCommand(WPARAM wParam,LPARAM lParam); //clistmenu.c -int OnFrameTitleBarBackgroundChange(WPARAM wParam,LPARAM lParam); //cluiframes.c +int MenuModulesLoaded(WPARAM wParam, LPARAM lParam); //clistmenu.c +int MenuModulesShutdown(WPARAM wParam, LPARAM lParam); //clistmenu.c +int MenuProcessCommand(WPARAM wParam, LPARAM lParam); //clistmenu.c +int OnFrameTitleBarBackgroundChange(WPARAM wParam, LPARAM lParam); //cluiframes.c int QueueAllFramesUpdating (BYTE); //cluiframes.c int RecursiveDeleteMenu(HMENU hMenu); //clistmenus.c int ModernSkinButtonRedrawAll(HDC hdc); //modern_button.c @@ -238,10 +238,10 @@ int RestoreAllContactData(ClcData *dat); //c int SkinSelector_DeleteMask(MODERNMASK *mm); //mod_skin_selector.c int StoreAllContactData(ClcData *dat); //cache_func.c -INT_PTR ToggleHideOffline(WPARAM wParam,LPARAM lParam); //contact.c -INT_PTR ToggleGroups(WPARAM wParam,LPARAM lParam); //contact.c -INT_PTR SetUseGroups(WPARAM wParam,LPARAM lParam); //contact.c -INT_PTR ToggleSounds(WPARAM wParam,LPARAM lParam); //contact.c +INT_PTR ToggleHideOffline(WPARAM wParam, LPARAM lParam); //contact.c +INT_PTR ToggleGroups(WPARAM wParam, LPARAM lParam); //contact.c +INT_PTR SetUseGroups(WPARAM wParam, LPARAM lParam); //contact.c +INT_PTR ToggleSounds(WPARAM wParam, LPARAM lParam); //contact.c void ClcOptionsChanged(); //clc.c void Docking_GetMonitorRectFromWindow(HWND hWnd,RECT *rc); //Docking.c void DrawAvatarImageWithGDIp(HDC hDestDC,int x, int y, DWORD width, DWORD height, HBITMAP hbmp, int x1, int y1, DWORD width1, DWORD height1,DWORD flag,BYTE alpha); //gdiplus.cpp @@ -290,23 +290,23 @@ void cli_FreeContact( ClcContact* ); void cli_FreeGroup( ClcGroup* ); char* cli_GetGroupCountsText(ClcData *dat, ClcContact *contact); void cli_ChangeContactIcon(MCONTACT hContact,int iIcon,int add); -LRESULT cli_ProcessExternalMessages(HWND hwnd,ClcData *dat,UINT msg,WPARAM wParam,LPARAM lParam); +LRESULT cli_ProcessExternalMessages(HWND hwnd,ClcData *dat,UINT msg,WPARAM wParam, LPARAM lParam); struct CListEvent* cliCreateEvent( void ); struct CListEvent* cli_AddEvent(CLISTEVENT *cle); LRESULT CALLBACK cli_ContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); -int cliShowHide(WPARAM wParam,LPARAM lParam); +int cliShowHide(WPARAM wParam, LPARAM lParam); BOOL CLUI__cliInvalidateRect(HWND hWnd, CONST RECT* lpRect,BOOL bErase ); int cliCompareContacts(const ClcContact *contact1,const ClcContact *contact2); int cliFindItem(HWND hwnd, ClcData *dat, HANDLE hItem, ClcContact **contact, ClcGroup **subgroup, int *isVisible); int cliTrayCalcChanged(const char *szChangedProto, int averageMode, int netProtoCount); -int cliTrayIconPauseAutoHide(WPARAM wParam,LPARAM lParam); +int cliTrayIconPauseAutoHide(WPARAM wParam, LPARAM lParam); void cliCluiProtocolStatusChanged(int status,const char * proto); HMENU cliBuildGroupPopupMenu(ClcGroup *group); void cliInvalidateDisplayNameCacheEntry(MCONTACT hContact); void cliCheckCacheItem(ClcCacheEntry *pdnce); void cli_SaveStateAndRebuildList(HWND hwnd, ClcData *dat); void CLUI_cli_LoadCluiGlobalOpts(void); -INT_PTR cli_TrayIconProcessMessage(WPARAM wParam,LPARAM lParam); +INT_PTR cli_TrayIconProcessMessage(WPARAM wParam, LPARAM lParam); BOOL CLUI__cliInvalidateRect(HWND hWnd, CONST RECT* lpRect,BOOL bErase ); ClcContact* cliCreateClcContact( void ); diff --git a/plugins/Clist_modern/src/hdr/modern_skinengine.h b/plugins/Clist_modern/src/hdr/modern_skinengine.h index 7811be127c..f920ba6072 100644 --- a/plugins/Clist_modern/src/hdr/modern_skinengine.h +++ b/plugins/Clist_modern/src/hdr/modern_skinengine.h @@ -139,7 +139,7 @@ private: int ske_UnloadSkin(SKINOBJECTSLIST * Skin); int ske_AddDescriptorToSkinObjectList (SKINOBJECTDESCRIPTOR *lpDescr, SKINOBJECTSLIST* Skin); -INT_PTR ske_Service_DrawGlyph(WPARAM wParam,LPARAM lParam); +INT_PTR ske_Service_DrawGlyph(WPARAM wParam, LPARAM lParam); diff --git a/plugins/Clist_modern/src/hdr/modern_static_clui.h b/plugins/Clist_modern/src/hdr/modern_static_clui.h index c57e9b408d..b381ba1d55 100644 --- a/plugins/Clist_modern/src/hdr/modern_static_clui.h +++ b/plugins/Clist_modern/src/hdr/modern_static_clui.h @@ -58,14 +58,14 @@ int ClcUnloadModule(); int ClcGetShortData(ClcData* pData, struct SHORTDATA *pShortData); int ClcEnterDragToScroll(HWND hwnd, int Y); -int CListMod_ContactListShutdownProc(WPARAM wParam,LPARAM lParam); +int CListMod_ContactListShutdownProc(WPARAM wParam, LPARAM lParam); int CListMod_HideWindow(HWND hwndContactList, int mode); int CListSettings_GetCopyFromCache(ClcCacheEntry *pDest, DWORD flag); int CListSettings_SetToCache(ClcCacheEntry *pSrc, DWORD flag); int CLUIServices_LoadModule(void); -INT_PTR CLUIServices_SortList(WPARAM wParam,LPARAM lParam); +INT_PTR CLUIServices_SortList(WPARAM wParam, LPARAM lParam); void Docking_GetMonitorRectFromWindow(HWND hWnd,RECT *rc); @@ -100,7 +100,7 @@ int CLUI_SizingOnBorder(POINT pt, int size); int CLUI_SmoothAlphaTransition(HWND hwnd, BYTE GoalAlpha, BOOL wParam); int CLUI_TestCursorOnBorders(); -static int CLUI_CreateTimerForConnectingIcon(WPARAM wParam,LPARAM lParam); +static int CLUI_CreateTimerForConnectingIcon(WPARAM wParam, LPARAM lParam); static int CLUI_SmoothAlphaThreadTransition(HWND hwnd); /* structs */ diff --git a/plugins/Clist_modern/src/hdr/modern_static_cluiframes_service.h b/plugins/Clist_modern/src/hdr/modern_static_cluiframes_service.h index 7bfd947ced..fdcbe3192b 100644 --- a/plugins/Clist_modern/src/hdr/modern_static_cluiframes_service.h +++ b/plugins/Clist_modern/src/hdr/modern_static_cluiframes_service.h @@ -4,28 +4,28 @@ // TO BE INCLUDED ONLY TO modern_cluiframes.cpp ////////////////////////////////////////////////////////////////////////// -static int _us_DoSetFramePaintProc(WPARAM wParam,LPARAM lParam); -static int _us_DoAddFrame(WPARAM wParam,LPARAM lParam); -static int _us_DoRemoveFrame(WPARAM wParam,LPARAM lParam); -static int _us_DoSetFrameOptions(WPARAM wParam,LPARAM lParam); -static INT_PTR _us_DoGetFrameOptions(WPARAM wParam,LPARAM lParam); -static int _us_DoUpdateFrame(WPARAM wParam,LPARAM lParam); -static int _us_DoShowHideFrameTitle(WPARAM wParam,LPARAM lParam); -static int _us_DoShowTitles(WPARAM wParam,LPARAM lParam); -static int _us_DoHideTitles(WPARAM wParam,LPARAM lParam); -static int _us_DoShowHideFrame(WPARAM wParam,LPARAM lParam); -static int _us_DoShowAllFrames(WPARAM wParam,LPARAM lParam); -static int _us_DoLockFrame(WPARAM wParam,LPARAM lParam); -static int _us_DoCollapseFrame(WPARAM wParam,LPARAM lParam); -static int _us_DoSetFrameBorder(WPARAM wParam,LPARAM lParam); -static int _us_DoSetFrameAlign(WPARAM wParam,LPARAM lParam); -static int _us_DoMoveFrame(WPARAM wParam,LPARAM lParam); -static int _us_DoMoveFrameUp(WPARAM wParam,LPARAM lParam); -static int _us_DoMoveFrameDown(WPARAM wParam,LPARAM lParam); -static int _us_DoAlignFrameTop(WPARAM wParam,LPARAM lParam); -static int _us_DoAlignFrameClient(WPARAM wParam,LPARAM lParam); -static int _us_DoAlignFrameBottom(WPARAM wParam,LPARAM lParam); -static int _us_DoSetFrameFloat(WPARAM wParam,LPARAM lParam); +static int _us_DoSetFramePaintProc(WPARAM wParam, LPARAM lParam); +static int _us_DoAddFrame(WPARAM wParam, LPARAM lParam); +static int _us_DoRemoveFrame(WPARAM wParam, LPARAM lParam); +static int _us_DoSetFrameOptions(WPARAM wParam, LPARAM lParam); +static INT_PTR _us_DoGetFrameOptions(WPARAM wParam, LPARAM lParam); +static int _us_DoUpdateFrame(WPARAM wParam, LPARAM lParam); +static int _us_DoShowHideFrameTitle(WPARAM wParam, LPARAM lParam); +static int _us_DoShowTitles(WPARAM wParam, LPARAM lParam); +static int _us_DoHideTitles(WPARAM wParam, LPARAM lParam); +static int _us_DoShowHideFrame(WPARAM wParam, LPARAM lParam); +static int _us_DoShowAllFrames(WPARAM wParam, LPARAM lParam); +static int _us_DoLockFrame(WPARAM wParam, LPARAM lParam); +static int _us_DoCollapseFrame(WPARAM wParam, LPARAM lParam); +static int _us_DoSetFrameBorder(WPARAM wParam, LPARAM lParam); +static int _us_DoSetFrameAlign(WPARAM wParam, LPARAM lParam); +static int _us_DoMoveFrame(WPARAM wParam, LPARAM lParam); +static int _us_DoMoveFrameUp(WPARAM wParam, LPARAM lParam); +static int _us_DoMoveFrameDown(WPARAM wParam, LPARAM lParam); +static int _us_DoAlignFrameTop(WPARAM wParam, LPARAM lParam); +static int _us_DoAlignFrameClient(WPARAM wParam, LPARAM lParam); +static int _us_DoAlignFrameBottom(WPARAM wParam, LPARAM lParam); +static int _us_DoSetFrameFloat(WPARAM wParam, LPARAM lParam); enum { CFM_FIRST_MGS= WM_USER + 0x2FF, @@ -92,70 +92,70 @@ BOOL CALLBACK ProcessCLUIFrameInternalMsg(HWND hwnd, UINT msg, WPARAM wParam, LP return TRUE; } -static INT_PTR CLUIFrames_SetFramePaintProc(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_SetFramePaintProc(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_SETFRAMEPAINTPROC, wParam,lParam) : 0; } -static INT_PTR CLUIFrames_AddFrame(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_AddFrame(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_ADDFRAME, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_RemoveFrame(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_RemoveFrame(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_REMOVEFRAME, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_SetFrameOptions(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_SetFrameOptions(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_SETFRAMEOPTIONS, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_GetFrameOptions(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_GetFrameOptions(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_GETFRAMEOPTIONS, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_UpdateFrame(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_UpdateFrame(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_UPDATEFRAME, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_ShowHideFrameTitle(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_ShowHideFrameTitle(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_SHOWHIDEFRAMETITLE, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_ShowTitles(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_ShowTitles(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_SHOWTITLES, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_HideTitles(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_HideTitles(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_HIDETITLES, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_ShowHideFrame(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_ShowHideFrame(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_SHOWHIDEFRAME, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_ShowAllFrames(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_ShowAllFrames(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_SHOWALL, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_LockFrame(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_LockFrame(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_LOCKFRAME, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_CollapseFrame(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_CollapseFrame(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_COLLAPSEFRAME, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_SetFrameBorder(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_SetFrameBorder(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_SETFRAMEBORDER, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_SetFrameAlign(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_SetFrameAlign(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_SETFRAMEALIGN, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_MoveFrame(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_MoveFrame(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_MOVEFRAME, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_MoveFrameUp(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_MoveFrameUp(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_MOVEFRAMEUP, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_MoveFrameDown(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_MoveFrameDown(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_MOVEFRAMEDOWN, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_AlignFrameTop(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_AlignFrameTop(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_ALIGNFRAMETOP, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_AlignFrameClient(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_AlignFrameClient(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_ALIGNFRAMEBOTTOM, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_AlignFrameBottom(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_AlignFrameBottom(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_ALIGNFRAMECLIENT, wParam, lParam) : 0; } -static INT_PTR CLUIFrames_SetFrameFloat(WPARAM wParam,LPARAM lParam) +static INT_PTR CLUIFrames_SetFrameFloat(WPARAM wParam, LPARAM lParam) { return ( pcli->hwndContactList ) ? SendMessage( pcli->hwndContactList, CFM_SETFRAMEFLOAT, wParam, lParam) : 0; } static void CreateCluiFramesServices() -- cgit v1.2.3