1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-17 16:42:28 +00:00

More window manager hacking. Get rid of TerminalWidget for now.

This commit is contained in:
Andreas Kling 2019-01-10 05:11:07 +01:00
parent ceb373cf71
commit 077f1007eb
7 changed files with 18 additions and 34 deletions

View file

@ -3,7 +3,6 @@
#include "RootWidget.h"
#include "Label.h"
#include "Button.h"
#include "TerminalWidget.h"
#include "WindowManager.h"
#include "Window.h"
#include "ClockWidget.h"
@ -92,14 +91,6 @@ int main(int argc, char** argv)
WindowManager::the().setActiveWindow(widgetTestWindow);
}
auto* win = new Window;
win->setTitle("Console");
win->setRect({ 100, 300, 644, 254 });
auto* t = new TerminalWidget(nullptr);
win->setMainWidget(t);
t->setFocus(true);
#if 0
auto* clockWin = new Window;
clockWin->setTitle("Clock");