mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 13:05:09 +00:00

When displaying properties for a directory, the PropertiesWindow now shows: the total number of files, the total number of subdirectories, and the total size of all files, in bytes. These numbers are calculated on a background thread, and current progress is displayed to the user every 100ms.
28 lines
814 B
CMake
28 lines
814 B
CMake
serenity_component(
|
|
FileManager
|
|
REQUIRED
|
|
TARGETS FileManager
|
|
DEPENDS FileOperation
|
|
)
|
|
|
|
compile_gml(FileManagerWindow.gml FileManagerWindowGML.h file_manager_window_gml)
|
|
compile_gml(FileOperationProgress.gml FileOperationProgressGML.h file_operation_progress_gml)
|
|
compile_gml(PropertiesWindowGeneralTab.gml PropertiesWindowGeneralTabGML.h properties_window_general_tab_gml)
|
|
|
|
set(SOURCES
|
|
DesktopWidget.cpp
|
|
DirectoryView.cpp
|
|
FileOperationProgressWidget.cpp
|
|
FileUtils.cpp
|
|
main.cpp
|
|
PropertiesWindow.cpp
|
|
)
|
|
|
|
set(GENERATED_SOURCES
|
|
FileManagerWindowGML.h
|
|
FileOperationProgressGML.h
|
|
PropertiesWindowGeneralTabGML.h
|
|
)
|
|
|
|
serenity_app(FileManager ICON app-file-manager)
|
|
target_link_libraries(FileManager PRIVATE LibCore LibGfx LibGUI LibDesktop LibConfig LibMain LibThreading)
|