1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:47:34 +00:00

LibVT: Move TerminalWidget from the Terminal app to here

It would be nice to be able to reuse this widget in other apps. :^)
This commit is contained in:
Andreas Kling 2019-10-21 19:50:07 +02:00
parent c1f72e0bbf
commit 8b4903e733
7 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ DEFINES += -DUSERLAND
all: $(APP) all: $(APP)
$(APP): $(OBJS) $(APP): $(OBJS)
$(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lmarkdown -lhtml -lgui -ldraw -laudio -lipc -lthread -lvt -lpcidb -lcore -lc $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lmarkdown -lhtml -laudio -lipc -lvt -lpcidb -lgui -ldraw -lthread -lcore -lc
.cpp.o: .cpp.o:
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $< @echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<

View file

@ -1,7 +1,6 @@
include ../../Makefile.common include ../../Makefile.common
OBJS = \ OBJS = \
TerminalWidget.o \
main.o main.o
APP = Terminal APP = Terminal

View file

@ -1,4 +1,3 @@
#include "TerminalWidget.h"
#include <Kernel/KeyCode.h> #include <Kernel/KeyCode.h>
#include <LibCore/CArgsParser.h> #include <LibCore/CArgsParser.h>
#include <LibCore/CUserInfo.h> #include <LibCore/CUserInfo.h>
@ -14,6 +13,7 @@
#include <LibGUI/GSlider.h> #include <LibGUI/GSlider.h>
#include <LibGUI/GWidget.h> #include <LibGUI/GWidget.h>
#include <LibGUI/GWindow.h> #include <LibGUI/GWindow.h>
#include <LibVT/TerminalWidget.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>

View file

@ -1,7 +1,8 @@
include ../../Makefile.common include ../../Makefile.common
OBJS = \ OBJS = \
Terminal.o Terminal.o \
TerminalWidget.o
LIBRARY = libvt.a LIBRARY = libvt.a
DEFINES += -DUSERLAND DEFINES += -DUSERLAND