Move Color class from libscgui to libsccolor

This commit is contained in:
Bob Polis 2024-11-29 14:22:35 +01:00
parent f1a4ef5da3
commit 4acce6d32d
2 changed files with 2 additions and 5 deletions

View File

@ -1,7 +1,4 @@
LDLIBS := -lscterm -lm -lscgui
LDLIBS += $(shell pkg-config sdl2 --libs)
CXXFLAGS += $(shell pkg-config sdl2 --cflags)
LDLIBS := -lscterm -lm -lsccolor
BIN := $(shell basename $$(pwd))

View File

@ -2,7 +2,7 @@
#include <ctime>
#include <cstdlib>
#include <libscterm.hpp>
#include <libscgui.hpp>
#include <libsccolor.hpp>
void show_rows_cols(const sc::term& t) {
std::cout << t.rows() << " rows, " << t.cols() << " cols\n";