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;
|
||||
WriteConfig(SETTING_SNAPEDGES);
|
||||
}
|
||||
|
||||
/*
|
||||
** SetWindowHide
|
||||
**
|
||||
|
@ -1202,7 +1202,18 @@ void RainmeterLsHook(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)
|
||||
@ -2131,6 +2142,7 @@ int CRainmeter::Initialize(HWND Parent, HINSTANCE Instance, LPCSTR szPath)
|
||||
AddBangCommand("!RainmeterRefreshApp", RainmeterRefreshApp);
|
||||
AddBangCommand("!RainmeterLsBoxHook", RainmeterLsHook);
|
||||
AddBangCommand("!RainmeterAbout", RainmeterAbout);
|
||||
AddBangCommand("!RainmeterManage", RainmeterManage);
|
||||
AddBangCommand("!RainmeterSkinMenu", RainmeterSkinMenu);
|
||||
AddBangCommand("!RainmeterTrayMenu", RainmeterTrayMenu);
|
||||
AddBangCommand("!RainmeterResetStats", RainmeterResetStats);
|
||||
@ -2554,6 +2566,7 @@ void CRainmeter::Quit(HINSTANCE dllInst)
|
||||
RemoveBangCommand("!RainmeterRefreshApp");
|
||||
RemoveBangCommand("!RainmeterLsBoxHook");
|
||||
RemoveBangCommand("!RainmeterAbout");
|
||||
RemoveBangCommand("!RainmeterManage");
|
||||
RemoveBangCommand("!RainmeterSkinMenu");
|
||||
RemoveBangCommand("!RainmeterTrayMenu");
|
||||
RemoveBangCommand("!RainmeterResetStats");
|
||||
|
@ -107,6 +107,7 @@ void RainmeterSetOptionGroup(HWND, const char* arg);
|
||||
|
||||
void RainmeterLsHook(HWND, const char* arg);
|
||||
void RainmeterAbout(HWND, const char* arg);
|
||||
void RainmeterManage(HWND, const char* arg);
|
||||
void RainmeterSkinMenu(HWND, const char* arg);
|
||||
void RainmeterTrayMenu(HWND, const char* arg);
|
||||
void RainmeterResetStats(HWND, const char* arg);
|
||||
|
Loading…
Reference in New Issue
Block a user