polybar-dwm/include
infokiller fb6e874235 feat(label): Add minlen with alignment (#1546)
* Add label minlen and alignment.

Fix build

* Update src/drawtypes/label.cpp

Co-Authored-By: infokiller <infokiller@users.noreply.github.com>

* Use existing alignment type.

* Remove redundant max_len handling in label::get.

* Fix shadowing.

* Add label alignment tests.

* Handle minlen/maxlen and alignment in same function.

Also add a test for a test case brought up in the PR discussion.

* Format files with clang-format

* Move builder::get_label_text tests into label tests

builder::get_label_text doesn't really do anything anymore

* builder: remove get_label_text

* label: Clean up label::get()

* Fix comment style.

* Set default label alignment to left.

* Update src/drawtypes/label.cpp

Co-Authored-By: Patrick Ziegler <p.ziegler96@gmail.com>

* Update include/drawtypes/label.hpp

Co-Authored-By: Patrick Ziegler <p.ziegler96@gmail.com>
2019-12-01 01:28:41 +01:00
..
adapters feat(pulse): Show volume in decibels (#1894) 2019-10-09 02:13:57 +02:00
cairo refactor(font): More robust font size calculation 2019-06-03 00:49:48 +02:00
components feat(label): Add minlen with alignment (#1546) 2019-12-01 01:28:41 +01:00
drawtypes feat(label): Add minlen with alignment (#1546) 2019-12-01 01:28:41 +01:00
events Incorporate Reviews 2019-08-06 21:36:20 +02:00
modules ipc: Remove unused global setting 2019-11-01 11:12:40 +01:00
utils Include empty tokens when splitting if necessary (#1893) 2019-11-21 22:26:53 +01:00
x11 build: remove xdamage extension 2019-06-03 00:46:12 +02:00
CMakeLists.txt build: remove xdamage extension 2019-06-03 00:46:12 +02:00
common.hpp refactor(build): Remove version number namespace 2019-05-17 16:49:47 +02:00
debug.hpp refactor: Cleanup 2017-01-11 03:07:28 +01:00
errors.hpp refactor: Move all event handling to the controller 2016-12-20 05:16:04 +01:00
settings.hpp.cmake ipc: Remove unused global setting 2019-11-01 11:12:40 +01:00