mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 20:02:55 +00:00
a1faa1cc6d
Primary changes: Convert from dialog to an ordinary window, placing buttons according to data in keyboard.c Character button text is now according to selected keyboard layout instead of system language. Buttons will update* automatically when there is a layout switch (and when shift/capslock are pressed). (Updating is most reliable when the keyboard is focused) Removed keyboard dialog templates from resource files, they live on in keyboard.c Secondary changes: Support for font change, currently saved in registry is facename and height. Additional registry load/save functions for strings to facilitate above change.
15 lines
405 B
CMake
15 lines
405 B
CMake
|
|
list(APPEND SOURCE
|
|
keyboard.c
|
|
main.c
|
|
settings.c
|
|
precomp.h)
|
|
|
|
file(GLOB osk_rc_deps res/*.*)
|
|
add_rc_deps(osk.rc ${osk_rc_deps})
|
|
add_executable(osk ${SOURCE} osk.rc)
|
|
set_module_type(osk win32gui UNICODE)
|
|
add_importlibs(osk comdlg32 winmm shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32 ntdll)
|
|
add_pch(osk precomp.h SOURCE)
|
|
add_cd_file(TARGET osk DESTINATION reactos/system32 FOR all)
|