Hiltjo Posthuma
d3f93c7c1a
sync latest drw.{c,h} changes from dmenu
3 years ago
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.
3 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.
3 years ago
Alex Flierl
f04cac6d6e
Fix memory leaks in drw
The function drw_fontset_free in drw.c was never called.
4 years ago
Anselm R Garbe
cb3f58ad06
Prepare 6.2 release.
6 years ago
Hiltjo Posthuma
3756f7f6b8
sync dmenu drw.{c,h} code: use Clr* (was Scm)
7 years ago
Hiltjo Posthuma
ab9571bbc5
die() consistency: always add newline
8 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.
9 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().
9 years ago
Eric Pruitt
14343e69cc
Add Xft and follback-fonts support to graphics lib
10 years ago
Anselm R Garbe
b800a1d136
applied Jochen's drw_text patch, thanks
12 years ago
Anselm R Garbe
33a74489f0
applied Julian's enum approach,
however renamed theme into scheme resp. Theme into ClrScheme
12 years ago
Anselm R Garbe
5364697914
finished libsl/drw integration
12 years ago
Anselm R Garbe
f2544a3318
renamed draw into drw
12 years ago