mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00

SpaceAnalyzer: Partially address code review changes. - Use GUI::CommonActions::make_about_action(). - Pass large arguments by const reference instead of by value. - Mark const functions as such. - Add newline at end of SpaceAnalyzer.af - Use full words instead of abbreviations in variable names. - Use application's namespace instead of 'TreeMap'. - move() certain assignments. - Use member declaration initialization. - Initialize TreeNode* member of QueueEntry. - Rewrite find_mount_for_path to return MountInfo* instead. - Rename ITreeMap and ITreeMapNode to TreeMap and TreeMapNode. - Replace ext suffix with rect suffix for rectangles. SpaceAnalyzer: Further address code review and coding style. - Remove get prefix from accessor functions. - Layout algorithm in its own function, with callback. - Remove nullptr comparisons. - Store lstat errors in error_accumulator. - Use Rect::shatter. - Use Rect's orientation based functions. SpaceAnalyzer: Make sort_children_by_area const qualified.
20 lines
275 B
Text
20 lines
275 B
Text
@GUI::Widget {
|
|
layout: @GUI::VerticalBoxLayout {
|
|
spacing: 0
|
|
}
|
|
|
|
@GUI::ToolBarContainer {
|
|
@GUI::BreadcrumbBar {
|
|
fixed_height: 25
|
|
name: "breadcrumb_bar"
|
|
}
|
|
}
|
|
|
|
@SpaceAnalyzer::TreeMapWidget {
|
|
name: "tree_map"
|
|
}
|
|
|
|
@GUI::StatusBar {
|
|
name: "status_bar"
|
|
}
|
|
}
|