mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00

Our On-Screen Keyboard has a manifest and the buttons (the ones with BS_ICON styles) aren't rendered with the specific theme as it should be but instead it takes the classic theme. The code relies on NM_CUSTOMDRAW notification, which is more intuitive and efficient than doing owner-drawn operations as NM_CUSTOMDRAW allows the controls to use styles whereas you cannot do it on owner-drawn controls. CORE-15965
7 lines
317 B
CMake
7 lines
317 B
CMake
|
|
file(GLOB osk_rc_deps res/*.*)
|
|
add_rc_deps(rsrc.rc ${osk_rc_deps})
|
|
add_executable(osk main.c settings.c rsrc.rc)
|
|
set_module_type(osk win32gui UNICODE)
|
|
add_importlibs(osk comdlg32 uxtheme winmm shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET osk DESTINATION reactos/system32 FOR all)
|