diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-05-19 12:36:06 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-05-19 12:36:06 +0000 |
commit | 8bbf210610804623aa581f3a547fc782fed9c118 (patch) | |
tree | b824cb7b0aba1740501e861ee78dbd49bac65022 /plugins/Weather/src/weather_popup.cpp | |
parent | 02f6b3a61924a143b3a6db44d3428a651a3b979c (diff) |
"PopUp" everywhere was replaced to "Popup"
git-svn-id: http://svn.miranda-ng.org/main/trunk@4730 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src/weather_popup.cpp')
-rw-r--r-- | plugins/Weather/src/weather_popup.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/Weather/src/weather_popup.cpp b/plugins/Weather/src/weather_popup.cpp index 2a3e3580e5..0ad926e5a1 100644 --- a/plugins/Weather/src/weather_popup.cpp +++ b/plugins/Weather/src/weather_popup.cpp @@ -36,7 +36,7 @@ int WeatherPopup(WPARAM wParam, LPARAM lParam) {
// determine if the popup should display or not
if (opt.UsePopup && opt.UpdatePopup && (!opt.PopupOnChange || (BOOL)lParam) &&
- !db_get_b((HANDLE)wParam, WEATHERPROTONAME, "DPopUp", 0))
+ !db_get_b((HANDLE)wParam, WEATHERPROTONAME, "DPopup", 0))
{
POPUPDATAT ppd = {0};
WEATHERINFO winfo;
@@ -59,7 +59,7 @@ int WeatherPopup(WPARAM wParam, LPARAM lParam) ppd.colorBack = (opt.UseWinColors)?GetSysColor(COLOR_BTNFACE):opt.BGColour;
ppd.colorText = (opt.UseWinColors)?GetSysColor(COLOR_WINDOWTEXT):opt.TextColour;
ppd.iSeconds = opt.pDelay;
- PUAddPopUpT( &ppd );
+ PUAddPopupT( &ppd );
}
return 0;
}
@@ -105,7 +105,7 @@ int WeatherError(WPARAM wParam, LPARAM lParam) ppd.colorBack = (opt.UseWinColors)?GetSysColor(COLOR_BTNFACE):opt.BGColour;
ppd.colorText = (opt.UseWinColors)?GetSysColor(COLOR_WINDOWTEXT):opt.TextColour;
ppd.iSeconds = opt.pDelay;
- PUAddPopUpT( &ppd );
+ PUAddPopupT( &ppd );
}
return 0;
}
@@ -135,13 +135,13 @@ LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa switch(message) {
case WM_COMMAND:
ID = opt.LeftClickAction;
- if (ID != IDM_M7) PUDeletePopUp(hWnd);
+ if (ID != IDM_M7) PUDeletePopup(hWnd);
SendMessage(hPopupWindow, ID, (WPARAM)hContact, 0);
return TRUE;
case WM_CONTEXTMENU:
ID = opt.RightClickAction;
- if (ID != IDM_M7) PUDeletePopUp(hWnd);
+ if (ID != IDM_M7) PUDeletePopup(hWnd);
SendMessage(hPopupWindow, ID, (WPARAM)hContact, 0);
return TRUE;
@@ -250,7 +250,7 @@ void ReadPopupOpt(HWND hdlg) }
// copied and modified from NewStatusNotify
-INT_PTR CALLBACK DlgPopUpOpts(HWND hdlg, UINT msg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK DlgPopupOpts(HWND hdlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
int ID;
TCHAR str[512];
@@ -375,7 +375,7 @@ INT_PTR CALLBACK DlgPopUpOpts(HWND hdlg, UINT msg, WPARAM wParam, LPARAM lParam) break;
case IDC_PD1:
- // Popup delay setting from PopUp plugin
+ // Popup delay setting from Popup plugin
SetDlgItemText(hdlg, IDC_DELAY, _T("0"));
CheckRadioButton(hdlg, IDC_PD1, IDC_PD3, IDC_PD1);
break;
|