mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
Clock.MenuApplet: Add window title.
This commit is contained in:
parent
fcee5075e9
commit
afb37b66cc
Notes:
sideshowbarker
2024-07-19 09:28:04 +09:00
Author: https://github.com/asliturk Commit: https://github.com/SerenityOS/serenity/commit/afb37b66cc3 Pull-request: https://github.com/SerenityOS/serenity/pull/1202
1 changed files with 2 additions and 1 deletions
|
@ -25,11 +25,11 @@
|
|||
*/
|
||||
|
||||
#include <LibCore/Timer.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>
|
||||
#include <time.h>
|
||||
|
||||
|
@ -103,6 +103,7 @@ int main(int argc, char** argv)
|
|||
}
|
||||
|
||||
auto window = GUI::Window::construct();
|
||||
window->set_title("Clock");
|
||||
window->set_window_type(GUI::WindowType::MenuApplet);
|
||||
|
||||
auto widget = ClockWidget::construct();
|
||||
|
|
Loading…
Reference in a new issue