From 4179f8b7f9f50df8d6b1bc714b69b4a283ee70c3 Mon Sep 17 00:00:00 2001 From: NBonaparte <98007b33@opayq.com> Date: Sun, 20 Nov 2016 14:09:08 -0800 Subject: [PATCH 1/3] feat: added max and min values to tokens --- include/drawtypes/label.hpp | 15 +++++++++++++-- include/utils/string.hpp | 2 ++ src/drawtypes/label.cpp | 38 ++++++++++++++++++++++++++++++++++--- src/utils/string.cpp | 14 ++++++++++++++ 4 files changed, 64 insertions(+), 5 deletions(-) diff --git a/include/drawtypes/label.hpp b/include/drawtypes/label.hpp index bf9a9049..c941b647 100644 --- a/include/drawtypes/label.hpp +++ b/include/drawtypes/label.hpp @@ -11,6 +11,12 @@ POLYBAR_NS */ namespace drawtypes { + + struct bounds { + size_t min; + size_t max; + }; + class label; using label_t = shared_ptr