summaryrefslogtreecommitdiff
path: root/drw.c
AgeCommit message (Collapse)Author
2022-05-10sync latest drw.{c,h} changes from dmenuHiltjo Posthuma
2021-08-20Revert "Improve speed of drw_text when provided with large strings"Hiltjo Posthuma
This reverts commit 716233534b35f74dba5a46ade8f1a6f8cc72fea4. It causes issues with truncation of characters when the text does not fit and so on. The patch should be reworked and properly tested.
2021-08-09Improve speed of drw_text when provided with large stringsMiles Alan
Calculates len & ew in drw_font_getexts loop by incrementing instead of decrementing; as such avoids proportional increase in time spent in loop based on provided strings size.
2020-06-11Fix memory leaks in drwAlex Flierl
The function drw_fontset_free in drw.c was never called.
2019-02-02Prepare 6.2 release.Anselm R Garbe
2017-11-03sync dmenu drw.{c,h} code: use Clr* (was Scm)Hiltjo Posthuma
2016-08-12die() consistency: always add newlineHiltjo Posthuma
2016-06-26import new drw from libsl and minor fixes.Markus Teich
- better scaling for occupied tag squares. - draw statusline first to omitt some complicated calculations.
2015-10-20sync updated drw code from dmenuHiltjo Posthuma
important: - drw_rect: didn't use w and h, change the dwm code accordingly. - drw_text: text is NULL is not allowed, use drw_rect().
2015-03-13Add Xft and follback-fonts support to graphics libEric Pruitt
2013-06-23applied Jochen's drw_text patch, thanksAnselm R Garbe
2013-06-19applied Julian's enum approach,Anselm R Garbe
however renamed theme into scheme resp. Theme into ClrScheme
2013-06-16finished libsl/drw integrationAnselm R Garbe
2013-04-17renamed draw into drwAnselm R Garbe