Add version info and about summary
This commit is contained in:
parent
c1f798be7a
commit
844b32a6fd
@ -2,6 +2,7 @@
|
|||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
#include "winres.h"
|
#include "winres.h"
|
||||||
#include "src/resources.h"
|
#include "src/resources.h"
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
IDI_ICONMAIN ICON "res/mainspring.ico"
|
IDI_ICONMAIN ICON "res/mainspring.ico"
|
||||||
|
|
||||||
@ -40,3 +41,22 @@ BEGIN
|
|||||||
"S", ID_FILE_SAVEAS, CONTROL, SHIFT, VIRTKEY
|
"S", ID_FILE_SAVEAS, CONTROL, SHIFT, VIRTKEY
|
||||||
"O", ID_FILE_OPEN, CONTROL, VIRTKEY
|
"O", ID_FILE_OPEN, CONTROL, VIRTKEY
|
||||||
END
|
END
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904b0"
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", "Grayson Riffe"
|
||||||
|
VALUE "FileDescription", "Mainspring"
|
||||||
|
VALUE "ProductName", "Mainspring - A simple timekeeper"
|
||||||
|
VALUE "ProductVersion", APPVERSION
|
||||||
|
VALUE "LegalCopyright", "Copyright (C) 2025"
|
||||||
|
END
|
||||||
|
END
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x409, 1200
|
||||||
|
END
|
||||||
|
END
|
@ -115,7 +115,10 @@ namespace mainspring {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case ID_HELP_ABOUT:
|
case ID_HELP_ABOUT:
|
||||||
MessageBox(dlg, std::format("{} {}\nCopyright Grayson Riffe 2025\ngraysonriffe.com", app->m_appName, app->m_appVersion).c_str(), std::format("About {}", app->m_appName).c_str(), MB_OK);
|
MessageBox(dlg, std::format("{} {}\nCopyright Grayson Riffe 2025\ngraysonriffe.com\n\n"
|
||||||
|
"\tMainspring is a simple timekeeper. It can be used as a simple stopwatch for short-term activities, or "
|
||||||
|
"it can log hours on a longer-term project. Times can be saved to a file, and any subsequent uses will autosave to that file. The most recent "
|
||||||
|
"time will be loaded when Mainspring starts.", app->m_appName, app->m_appVersion).c_str(), std::format("About {}", app->m_appName).c_str(), MB_OK);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user