mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:17:42 +00:00
Taskbar: More bringup work. We now see a basic window list.
This commit is contained in:
parent
ea801a99dc
commit
96104b5524
20 changed files with 339 additions and 12 deletions
|
@ -34,6 +34,9 @@ void GBoxLayout::run(GWidget& widget)
|
|||
dbgprintf("GBoxLayout: Starting with available size: %s\n", available_size.to_string().characters());
|
||||
|
||||
for (auto& entry : m_entries) {
|
||||
if (!entry.widget)
|
||||
continue;
|
||||
|
||||
if (!entry.widget->is_visible())
|
||||
continue;
|
||||
++number_of_visible_entries;
|
||||
|
@ -81,6 +84,8 @@ void GBoxLayout::run(GWidget& widget)
|
|||
int current_y = margins().top();
|
||||
|
||||
for (auto& entry : m_entries) {
|
||||
if (!entry.widget)
|
||||
continue;
|
||||
if (!entry.widget->is_visible())
|
||||
continue;
|
||||
Rect rect(current_x, current_y, 0, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue