mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Code cleanup.
This commit is contained in:
parent
b52fd99949
commit
f84b44a9f0
@ -3937,6 +3937,7 @@ void CMeterWindow::SetSnapEdges(bool b)
|
|||||||
m_SnapEdges = b;
|
m_SnapEdges = b;
|
||||||
WriteConfig(SETTING_SNAPEDGES);
|
WriteConfig(SETTING_SNAPEDGES);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** SetWindowHide
|
** SetWindowHide
|
||||||
**
|
**
|
||||||
|
@ -1202,7 +1202,18 @@ void RainmeterLsHook(HWND, const char* arg)
|
|||||||
*/
|
*/
|
||||||
void RainmeterAbout(HWND, const char* arg)
|
void RainmeterAbout(HWND, const char* arg)
|
||||||
{
|
{
|
||||||
RainmeterAboutWide();
|
RainmeterAboutWide(ConvertToWide(arg).c_str());
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
** RainmeterManage
|
||||||
|
**
|
||||||
|
** Callback for the !RainmeterManage bang
|
||||||
|
**
|
||||||
|
*/
|
||||||
|
void RainmeterManage(HWND, const char* arg)
|
||||||
|
{
|
||||||
|
RainmeterManageWide(ConvertToWide(arg).c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1455,9 +1466,9 @@ void RainmeterAboutWide(const WCHAR* arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** RainmeterManagerWide
|
** RainmeterManageWide
|
||||||
**
|
**
|
||||||
** Callback for the !RainmeterAbout bang
|
** Callback for the !RainmeterManage bang
|
||||||
**
|
**
|
||||||
*/
|
*/
|
||||||
void RainmeterManageWide(const WCHAR* arg)
|
void RainmeterManageWide(const WCHAR* arg)
|
||||||
@ -2131,6 +2142,7 @@ int CRainmeter::Initialize(HWND Parent, HINSTANCE Instance, LPCSTR szPath)
|
|||||||
AddBangCommand("!RainmeterRefreshApp", RainmeterRefreshApp);
|
AddBangCommand("!RainmeterRefreshApp", RainmeterRefreshApp);
|
||||||
AddBangCommand("!RainmeterLsBoxHook", RainmeterLsHook);
|
AddBangCommand("!RainmeterLsBoxHook", RainmeterLsHook);
|
||||||
AddBangCommand("!RainmeterAbout", RainmeterAbout);
|
AddBangCommand("!RainmeterAbout", RainmeterAbout);
|
||||||
|
AddBangCommand("!RainmeterManage", RainmeterManage);
|
||||||
AddBangCommand("!RainmeterSkinMenu", RainmeterSkinMenu);
|
AddBangCommand("!RainmeterSkinMenu", RainmeterSkinMenu);
|
||||||
AddBangCommand("!RainmeterTrayMenu", RainmeterTrayMenu);
|
AddBangCommand("!RainmeterTrayMenu", RainmeterTrayMenu);
|
||||||
AddBangCommand("!RainmeterResetStats", RainmeterResetStats);
|
AddBangCommand("!RainmeterResetStats", RainmeterResetStats);
|
||||||
@ -2554,6 +2566,7 @@ void CRainmeter::Quit(HINSTANCE dllInst)
|
|||||||
RemoveBangCommand("!RainmeterRefreshApp");
|
RemoveBangCommand("!RainmeterRefreshApp");
|
||||||
RemoveBangCommand("!RainmeterLsBoxHook");
|
RemoveBangCommand("!RainmeterLsBoxHook");
|
||||||
RemoveBangCommand("!RainmeterAbout");
|
RemoveBangCommand("!RainmeterAbout");
|
||||||
|
RemoveBangCommand("!RainmeterManage");
|
||||||
RemoveBangCommand("!RainmeterSkinMenu");
|
RemoveBangCommand("!RainmeterSkinMenu");
|
||||||
RemoveBangCommand("!RainmeterTrayMenu");
|
RemoveBangCommand("!RainmeterTrayMenu");
|
||||||
RemoveBangCommand("!RainmeterResetStats");
|
RemoveBangCommand("!RainmeterResetStats");
|
||||||
|
@ -107,6 +107,7 @@ void RainmeterSetOptionGroup(HWND, const char* arg);
|
|||||||
|
|
||||||
void RainmeterLsHook(HWND, const char* arg);
|
void RainmeterLsHook(HWND, const char* arg);
|
||||||
void RainmeterAbout(HWND, const char* arg);
|
void RainmeterAbout(HWND, const char* arg);
|
||||||
|
void RainmeterManage(HWND, const char* arg);
|
||||||
void RainmeterSkinMenu(HWND, const char* arg);
|
void RainmeterSkinMenu(HWND, const char* arg);
|
||||||
void RainmeterTrayMenu(HWND, const char* arg);
|
void RainmeterTrayMenu(HWND, const char* arg);
|
||||||
void RainmeterResetStats(HWND, const char* arg);
|
void RainmeterResetStats(HWND, const char* arg);
|
||||||
|
Loading…
Reference in New Issue
Block a user