Commit Graph

13 Commits (d73da3001607038de4c58c3285219cecdcdfc664)

Author SHA1 Message Date
Hiltjo Posthuma a786211d6c Revert "Improve speed of drw_text when provided with large strings"
This reverts commit 716233534b.

It causes issues with truncation of characters when the text does not fit and
so on.  The patch should be reworked and properly tested.
5 years ago
Miles Alan 716233534b Improve speed of drw_text when provided with large strings
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.
5 years ago
Alex Flierl f04cac6d6e Fix memory leaks in drw
The function drw_fontset_free in drw.c was never called.
6 years ago
Anselm R Garbe cb3f58ad06 Prepare 6.2 release. 7 years ago
Hiltjo Posthuma 3756f7f6b8 sync dmenu drw.{c,h} code: use Clr* (was Scm) 8 years ago
Hiltjo Posthuma ab9571bbc5 die() consistency: always add newline 10 years ago
Markus Teich 7af4d439bd import new drw from libsl and minor fixes.
- better scaling for occupied tag squares.
- draw statusline first to omitt some complicated calculations.
10 years ago
Hiltjo Posthuma 646b351cc7 sync updated drw code from dmenu
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().
10 years ago
Eric Pruitt 14343e69cc Add Xft and follback-fonts support to graphics lib 11 years ago
Anselm R Garbe b800a1d136 applied Jochen's drw_text patch, thanks 13 years ago
Anselm R Garbe 33a74489f0 applied Julian's enum approach,
however renamed theme into scheme resp. Theme into ClrScheme
13 years ago
Anselm R Garbe 5364697914 finished libsl/drw integration 13 years ago
Anselm R Garbe f2544a3318 renamed draw into drw 13 years ago