diff options
| author | Federico Angelilli <code@fedang.net> | 2023-11-17 15:42:49 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2023-11-17 15:42:49 +0100 |
| commit | ab92cac18652f72be12f68b5a96095ba8eb5afdf (patch) | |
| tree | e52a5f295c7cda59e67a341fa87d25983bd56745 /draw.h | |
| parent | f8363e89257e8b0a4ff71accbd7b6be22935274f (diff) | |
Reorganize project structure
Diffstat (limited to 'draw.h')
| -rw-r--r-- | draw.h | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -1,28 +0,0 @@ -#ifndef COMET_DRAW_H -#define COMET_DRAW_H - -#include <pango/pango-font.h> -#include <pango/pango-types.h> - -#include "window.h" - -typedef struct Drawable Drawable; - -struct Drawable { - PangoFontDescription *desc; - int height; - int left_pad; - int right_pad; - int top_pad; - double alpha; -}; - -Drawable *draw_create(const char *font, int height, int left_pad, int right_pad, int top_pad, double alpha); - -void draw_paint(Drawable *draw, Window *win); - -void draw_destroy(Drawable *draw); - -#endif - -// vim: ts=4 sw=4 et |
