mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
1) JamesAC / spx change to Windows Messages / Dexpot support, with fix for copy / paste error in previous commit.
2) Change to version checking: * CheckVersion= setting depreciated. Removed from "About" dialog and automatically ignored and removed from Rainmeter.ini at Rainmeter start. * New DisableVersionCheck= (1/0) setting added, which now changes the default from "don't check version" to "do check version" unless this is set to "1"
This commit is contained in:
@ -32,13 +32,13 @@
|
||||
#define MAKE_VER(major, minor1, minor2) major * 1000000 + minor1 * 1000 + minor2
|
||||
|
||||
#define APPNAME L"Rainmeter"
|
||||
#define APPVERSION L"1.3"
|
||||
#define APPVERSION L"1.2"
|
||||
#ifdef _WIN64
|
||||
#define APPBITS L"(64-bit)"
|
||||
#else
|
||||
#define APPBITS L"(32-bit)"
|
||||
#endif
|
||||
#define RAINMETER_VERSION MAKE_VER(1, 3, 0)
|
||||
#define RAINMETER_VERSION MAKE_VER(1, 2, 0) //newvercheck
|
||||
|
||||
enum PLATFORM
|
||||
{
|
||||
@ -156,8 +156,11 @@ public:
|
||||
void WriteStats(bool bForce);
|
||||
void ResetStats();
|
||||
|
||||
BOOL GetCheckUpdate() { return m_CheckUpdate; };
|
||||
void SetCheckUpdate(BOOL check) { m_CheckUpdate = check; };
|
||||
BOOL GetDisableVersionCheck() { return m_DisableVersionCheck; };
|
||||
BOOL GetNewVersion() { return m_NewVersion; };
|
||||
void SetDisableVersionCheck(BOOL check) { m_DisableVersionCheck = check; };
|
||||
void SetNewVersion(BOOL NewVer) { m_NewVersion = NewVer; };
|
||||
|
||||
|
||||
void ShowContextMenu(POINT pos, CMeterWindow* meterWindow);
|
||||
|
||||
@ -224,8 +227,9 @@ private:
|
||||
std::wstring m_TrayExecuteDR;
|
||||
std::wstring m_TrayExecuteDM;
|
||||
|
||||
BOOL m_CheckUpdate;
|
||||
|
||||
BOOL m_DisableVersionCheck;
|
||||
BOOL m_NewVersion;
|
||||
|
||||
BOOL m_DesktopWorkAreaChanged;
|
||||
RECT m_DesktopWorkArea;
|
||||
|
||||
|
Reference in New Issue
Block a user