mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
70d7009ad9
While functional, Katayama's show desktop button left much to be desired in the realm of appearances. This commit brings improvements for it: - When using the classic theme, the Show Desktop button now appears more faithful to its Microsoft counterpart, emblazoned with an icon, and encased in a border only when hovered or pressed. - With a visual style applied, the button behaves in one of two ways: - If present, the Show Desktop button now properly uses the relevant information from the visual style, just like on Windows 7. - Otherwise, the Show Desktop button uses an icon akin to when the classic theme is used, but with the button background's appearance repurposed from the taskbar toolbar buttons, which are guaranteed to exist in any Windows XP or Vista visual style you can find out there. ReactOS's own Lautus and Mizu visual styles will be updated in the following commits to utilize these features, while Lunar and Modern visual styles left untouched to display Show Desktop button with icon instead. CORE-15369
39 lines
965 B
CMake
39 lines
965 B
CMake
PROJECT(SHELL)
|
|
|
|
if(DBG)
|
|
add_definitions(-D_DEBUG=1) # CORE-17505
|
|
endif()
|
|
|
|
list(APPEND SOURCE
|
|
appbar.cpp
|
|
desktop.cpp
|
|
explorer.cpp
|
|
notifyiconscust.cpp
|
|
rshell.cpp
|
|
settings.cpp
|
|
shellservice.cpp
|
|
startctxmnu.cpp
|
|
startmnu.cpp
|
|
startmnucust.cpp
|
|
startmnusite.cpp
|
|
startup.cpp
|
|
syspager.cpp
|
|
taskband.cpp
|
|
taskswnd.cpp
|
|
tbsite.cpp
|
|
trayclock.cpp
|
|
traydeskbtn.cpp
|
|
trayntfy.cpp
|
|
trayprop.cpp
|
|
traywnd.cpp
|
|
util.cpp
|
|
precomp.h)
|
|
|
|
file(GLOB explorer_rc_deps res/*.*)
|
|
add_rc_deps(explorer.rc ${explorer_rc_deps})
|
|
add_executable(explorer ${SOURCE} explorer.rc)
|
|
target_link_libraries(explorer uuid wine cpprt atl_classes)
|
|
set_module_type(explorer win32gui UNICODE)
|
|
add_importlibs(explorer advapi32 gdi32 user32 comctl32 ole32 oleaut32 shell32 browseui shlwapi shdocvw version uxtheme msvcrt kernel32 ntdll)
|
|
add_pch(explorer precomp.h SOURCE)
|
|
add_cd_file(TARGET explorer DESTINATION reactos FOR all)
|