mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +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
Notes:
sideshowbarker
2024-07-19 11:35:38 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/8b4903e733f
7 changed files with 4 additions and 4 deletions
|
@ -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 $<
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
include ../../Makefile.common
|
||||
|
||||
OBJS = \
|
||||
TerminalWidget.o \
|
||||
main.o
|
||||
|
||||
APP = Terminal
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
include ../../Makefile.common
|
||||
|
||||
OBJS = \
|
||||
Terminal.o
|
||||
Terminal.o \
|
||||
TerminalWidget.o
|
||||
|
||||
LIBRARY = libvt.a
|
||||
DEFINES += -DUSERLAND
|
||||
|
|
Loading…
Reference in a new issue