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:
parent
c1f72e0bbf
commit
8b4903e733
7 changed files with 4 additions and 4 deletions
|
@ -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 $<
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
include ../../Makefile.common
|
include ../../Makefile.common
|
||||||
|
|
||||||
OBJS = \
|
OBJS = \
|
||||||
TerminalWidget.o \
|
|
||||||
main.o
|
main.o
|
||||||
|
|
||||||
APP = Terminal
|
APP = Terminal
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue