1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-12 12:32:07 +00:00
serenity/Applications/Taskbar/TaskbarWidget.cpp
2019-04-04 01:51:11 +02:00

24 lines
620 B
C++

#include "TaskbarWidget.h"
#include <LibGUI/GLabel.h>
#include <LibGUI/GButton.h>
#include <LibGUI/GBoxLayout.h>
#include <LibGUI/GPainter.h>
#include <stdio.h>
TaskbarWidget::TaskbarWidget(WindowList& window_list, GWidget* parent)
: GFrame(parent)
, m_window_list(window_list)
{
set_fill_with_background_color(true);
set_layout(make<GBoxLayout>(Orientation::Horizontal));
layout()->set_margins({ 3, 2, 3, 2 });
layout()->set_spacing(3);
set_frame_thickness(1);
set_frame_shape(GFrame::Shape::Panel);
set_frame_shadow(GFrame::Shadow::Raised);
}
TaskbarWidget::~TaskbarWidget()
{
}