mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:48:14 +00:00
Clock.MenuApplet: Add window title.
This commit is contained in:
parent
fcee5075e9
commit
afb37b66cc
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…
Add table
Add a link
Reference in a new issue