replace qt with cairo/pango/epoll

This commit is contained in:
Raphael Robatsch 2021-10-27 17:24:47 +02:00
commit 3db22e4a71
6 changed files with 206 additions and 125 deletions

View file

@ -9,12 +9,11 @@ constexpr bool topbar = true;
constexpr int paddingX = 10;
constexpr int paddingY = 3;
constexpr const char *fontFamily = "Source Sans Pro";
constexpr int fontSizePt = 12;
constexpr bool fontBold = false;
// See https://docs.gtk.org/Pango/type_func.FontDescription.from_string.html
constexpr const char *font = "Source Sans Pro 12";
constexpr ColorScheme colorInactive = {QColor(0xbb, 0xbb, 0xbb), QColor(0x22, 0x22, 0x22)};
constexpr ColorScheme colorActive = {QColor(0xee, 0xee, 0xee), QColor(0x00, 0x55, 0x77)};
constexpr ColorScheme colorInactive = {Color(0xbb, 0xbb, 0xbb), Color(0x22, 0x22, 0x22)};
constexpr ColorScheme colorActive = {Color(0xee, 0xee, 0xee), Color(0x00, 0x55, 0x77)};
constexpr const char *termcmd[] = {"foot", nullptr};
constexpr Button buttons[] = {