Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Version 1.1.0

Compare
Choose a tag to compare
@bmjcode bmjcode released this 03 May 00:58
· 17 commits to main since this release

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 HCLOCKWINDOW instead of struct 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.hbrBackground rather than by processing WM_PAINT.
    • Correcting several instances of NULL instead of FALSE.