diff options
| author | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2026-01-09 19:22:02 +0000 |
|---|---|---|
| committer | ProsperousPotato <ProsperousPotato@users.noreply.github.com> | 2026-01-09 19:22:02 +0000 |
| commit | 1ca96706def75ff1ccbae25da99f1dca1d0de785 (patch) | |
| tree | 91662147b54c0e2b080e93560bedf49d7699b65f /drw.h | |
| parent | d6250ecd9333627ae2e5ae7783186e5a11b0fa10 (diff) | |
shuffle keybinds, remove font rendering code
Diffstat (limited to 'drw.h')
| -rw-r--r-- | drw.h | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -4,14 +4,6 @@ typedef struct { Cursor cursor; } Cur; -typedef struct Fnt { - Display *dpy; - unsigned int h; - XftFont *xfont; - FcPattern *pattern; - struct Fnt *next; -} Fnt; - enum { ColFg, ColBg, ColBorder, ColFloat, ColMaster }; /* Clr scheme index */ typedef XftColor Clr; @@ -23,19 +15,12 @@ typedef struct { Drawable drawable; GC gc; Clr *scheme; - Fnt *fonts; } Drw; /* Drawable abstraction */ Drw *drw_create(Display *dpy, int screen, Window win, unsigned int w, unsigned int h); -void drw_resize(Drw *drw, unsigned int w, unsigned int h); void drw_free(Drw *drw); -/* Fnt abstraction */ -Fnt *drw_fontset_create(Drw* drw, const char *fonts[], size_t fontcount); -void drw_fontset_free(Fnt* set); -void drw_font_getexts(Fnt *font, const char *text, unsigned int len, unsigned int *w, unsigned int *h); - /* Colorscheme abstraction */ void drw_clr_create(Drw *drw, Clr *dest, const char *clrname); Clr *drw_scm_create(Drw *drw, const char *clrnames[], size_t clrcount); |
