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
Notes: sideshowbarker 2024-07-19 11:35:38 +09:00
7 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ DEFINES += -DUSERLAND
all: $(APP)
$(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:
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<

View file

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

View file

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

View file

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