From b086b9be6ccba2465f0f09c696d1a0bd13c7519d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 18 May 2018 02:34:32 +0200 Subject: Update readme --- README.md | 2 -- project.conf | 1 + src/main.cpp | 5 +++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2fada89..ae34f81 100644 --- a/README.md +++ b/README.md @@ -21,5 +21,3 @@ When joining a channel using invite key, we might be given an incorrect decrypti because decryption fails. This should be gracefully handled # Screenshot ![Sample screenshot](https://i.imgur.com/z0Ee0Rw.png) -# Test channel -First create an account by writing `/register username password` then join the channel by writing `/jc b4177b4cca3b341d58f61dd7b3a14228f61c08cc96f30cafbe1cacbf44ded58a&213588b1e8ca38963445002c6dddb398bbf430bbcfa94163db73ea015d66d7ef` diff --git a/project.conf b/project.conf index cf60d63..7c92ede 100644 --- a/project.conf +++ b/project.conf @@ -15,3 +15,4 @@ gl = "17.3" x11 = "1.6.5" libnsgif = "0.2.0" libpreview = "0.2.0" +freetype2 = "22.0.0" diff --git a/src/main.cpp b/src/main.cpp index b5ec81e..a4e5dc8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,6 +21,8 @@ #include #include #include +#include +#include using namespace std; using namespace dchat; @@ -669,6 +671,9 @@ int main(int argc, char **argv) Channel::getCurrent()->addLocalMessage(msg, Channel::getCurrent()->getSystemUser()); }); + FT_Library library; + FT_Init_FreeType(&library); + sf::Event event; while (window.isOpen()) { -- cgit v1.2.3