[CALC] Add theming support, requires Windows XP or later. CORE-13343

- Fix errors if a theme api is missing.
- Add callback to functions for drawing themed transparent background.
- Fix drawing glitch when theming is applied.
- Redraw on theme change: automatically redraw the window if the
  theme is changed while the application is active.
- Colours are now declared though RGB() macro.
- Removed safe DS_SHELLFONT declaration.
This commit is contained in:
Carlo-Bramini 2018-08-06 20:23:12 +02:00 committed by Hermès Bélusca-Maïto
parent f6c565bc22
commit 0b107f2e30
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
8 changed files with 331 additions and 34 deletions

View file

@ -8,6 +8,7 @@ list(APPEND SOURCE
utl_ieee.c
winmain.c
htmlhelp.c
theme.c
calc.h)
file(GLOB calc_rc_deps res/*.*)