This repository was archived by the owner on May 5, 2024. It is now read-only.
Version 1.1.0
Added
- Support for running on obsolete Windows versions (useful for troubleshooting legacy systems).
Changed
- Increased the font size.
- Re-wrote text handling to work both with and without Unicode support.
- Significantly cleaned up the code:
- Renamed several functions to more accurately describe what they do.
- Used more Win32-like variable and type names like
HCLOCKWINDOWinstead ofstruct clock_window*. - Re-wrote
LayOutClockWindow()to make it easier to understand.
Fixed
- Only update the clock when the window is shown.
- Eliminated unnecessary re-drawing in
LayOutClockWindow(). - Added a missing check after a memory allocation in
CreateClockWindow(). - Cleaned up working but semantically-incorrect code, including:
- Re-implementing keyboard shortcuts correctly using an accelerator table.
- Setting the window background using
wc.hbrBackgroundrather than by processingWM_PAINT. - Correcting several instances of
NULLinstead ofFALSE.