From 8bbf210610804623aa581f3a547fc782fed9c118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 19 May 2013 12:36:06 +0000 Subject: "PopUp" everywhere was replaced to "Popup" git-svn-id: http://svn.miranda-ng.org/main/trunk@4730 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/config.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins/Popup/src/config.cpp') diff --git a/plugins/Popup/src/config.cpp b/plugins/Popup/src/config.cpp index c8cca233be..66fba97b46 100644 --- a/plugins/Popup/src/config.cpp +++ b/plugins/Popup/src/config.cpp @@ -40,7 +40,7 @@ LPCSTR gszMetaProto = ""; HBITMAP hbmNoAvatar; //===== Options ===== -POPUPOPTIONS PopUpOptions; +POPUPOPTIONS PopupOptions; //SKINELEMENT *skin; //SKINELEMENT *w_skin; //SKINELEMENT *n_skin; @@ -70,24 +70,24 @@ HRESULT (WINAPI *MyDwmEnableBlurBehindWindow)(HWND hWnd, DWM_BLURBEHIND *pBlurB // common funcs void LoadOptions() { - ZeroMemory(&PopUpOptions, sizeof(PopUpOptions)); + ZeroMemory(&PopupOptions, sizeof(PopupOptions)); #if defined(_DEBUG) - PopUpOptions.debug = db_get_b(NULL, MODULNAME, "debug", FALSE); + PopupOptions.debug = db_get_b(NULL, MODULNAME, "debug", FALSE); #endif - //Load PopUp Options + //Load Popup Options if (!OptionLoaded){ LoadOption_General(); LoadOption_Skins(); LoadOption_Actions(); LoadOption_AdvOpts(); } - Check_ReorderPopUps(); + Check_ReorderPopups(); OptionLoaded = true; return; } -void PopUpPreview() +void PopupPreview() { TCHAR *lptzTitle1Eng = TranslateT("The Jabberwocky"); TCHAR *lptzText1Eng = TranslateT("`Twas brillig, and the slithy toves\r\nDid gyre and gimble in the wabe:\r\nAll mimsy were the borogoves,\r\nAnd the mome raths outgrabe.\r\n\t[b][i]Lewis Carroll, 1855[/i][/b]"); @@ -107,7 +107,7 @@ void PopUpPreview() ppd.lptzText = lptzText1Eng; ppd.lchIcon = LoadSkinnedIcon(SKINICON_EVENT_MESSAGE); CallService(MS_POPUP_ADDPOPUP2, (WPARAM)&ppd, APF_NO_HISTORY); - if (PopUpOptions.UseAnimations || PopUpOptions.UseEffect) Sleep((ANIM_TIME*2)/3); //Pause + if (PopupOptions.UseAnimations || PopupOptions.UseEffect) Sleep((ANIM_TIME*2)/3); //Pause ZeroMemory(&ppd, sizeof(ppd)); ppd.cbSize = sizeof(ppd); @@ -118,13 +118,13 @@ void PopUpPreview() ppd.hbmAvatar = hbmNoAvatar; CallService(MS_POPUP_ADDPOPUP2, (WPARAM)&ppd, APF_NO_HISTORY); - if (PopUpOptions.UseAnimations || PopUpOptions.UseEffect) Sleep((ANIM_TIME*2)/3); //Pause + if (PopupOptions.UseAnimations || PopupOptions.UseEffect) Sleep((ANIM_TIME*2)/3); //Pause PUShowMessageT(TranslateT("This is a notification message"), (DWORD)SM_NOTIFY|0x80000000); - if (PopUpOptions.UseAnimations || PopUpOptions.UseEffect) Sleep((ANIM_TIME*2)/3); //Pause + if (PopupOptions.UseAnimations || PopupOptions.UseEffect) Sleep((ANIM_TIME*2)/3); //Pause PUShowMessageT(TranslateT("This is a warning message"), (DWORD)SM_WARNING|0x80000000); - if (PopUpOptions.UseAnimations || PopUpOptions.UseEffect) Sleep((ANIM_TIME*2)/3); //Pause + if (PopupOptions.UseAnimations || PopupOptions.UseEffect) Sleep((ANIM_TIME*2)/3); //Pause PUShowMessageT(TranslateT("This is an error message"), (DWORD)SM_ERROR|0x80000000); } \ No newline at end of file -- cgit v1.2.3