CPUGraph.MenuApplet: Add window title.

This commit is contained in:
= 2020-02-09 15:13:37 +03:00 committed by Andreas Kling
parent afb37b66cc
commit aadcc9c34e
Notes: sideshowbarker 2024-07-19 09:27:58 +09:00

View file

@ -26,11 +26,11 @@
#include <AK/CircularQueue.h>
#include <LibCore/ProcessStatisticsReader.h>
#include <LibGfx/Palette.h>
#include <LibGUI/Application.h>
#include <LibGUI/Painter.h>
#include <LibGUI/Widget.h>
#include <LibGUI/Window.h>
#include <LibGfx/Palette.h>
#include <stdio.h>
class GraphWidget final : public GUI::Widget {
@ -125,6 +125,7 @@ int main(int argc, char** argv)
}
auto window = GUI::Window::construct();
window->set_title("CPUGraph");
window->set_window_type(GUI::WindowType::MenuApplet);
window->resize(30, 16);