| 1 | #ifndef DISPLAY_H |
| 2 | #define DISPLAY_H |
| 3 | |
| 4 | #include "program.h" |
| 5 | |
| 6 | #include <X11/Xlib.h> |
| 7 | #include <X11/Xft/Xft.h> |
| 8 | |
| 9 | void drawtext( |
| 10 | Display *display, Window window, GC gc, int x, int y, const char *text, int sel); |
| 11 | void filterdisplay( |
| 12 | Display *display, Window window, GC gc, const char *input, int sel); |
| 13 | |
| 14 | extern XftColor color, selcolor; |
| 15 | extern Colormap colormap; |
| 16 | extern XftDraw *draw; |
| 17 | extern XftFont *font; |
| 18 | extern Visual *visual; |
| 19 | extern int topidx; |
| 20 | |
| 21 | #endif |