mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
CPUGraph.MenuApplet: Add window title.
This commit is contained in:
parent
afb37b66cc
commit
aadcc9c34e
Notes:
sideshowbarker
2024-07-19 09:27:58 +09:00
Author: https://github.com/asliturk Commit: https://github.com/SerenityOS/serenity/commit/aadcc9c34ef Pull-request: https://github.com/SerenityOS/serenity/pull/1202
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…
Reference in a new issue