mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 18:15:07 +00:00
CPUGraph.MenuApplet: Add window title.
This commit is contained in:
parent
afb37b66cc
commit
aadcc9c34e
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue