sxalert.h (565B)
1 #ifndef SXALERT_H 2 #define SXALERT_H 3 4 struct alert { 5 int duration; 6 char text_color[7]; 7 char bg_color[7]; 8 char border_color[7]; 9 10 int border_width; 11 int text_x_padding; 12 13 int min_width; 14 int max_width; 15 16 int x_offset; 17 int y_offset; 18 19 char *font; 20 int text_height; 21 22 char **lines; 23 int lines_len; 24 }; 25 26 struct xrender { 27 int scr; 28 Visual *visual; 29 Colormap cmap; 30 31 XftColor color; 32 XftFont *font; 33 }; 34 35 struct xwin { 36 int width; 37 int height; 38 int x; 39 int y; 40 XftDraw *draw; 41 Window win; 42 }; 43 44 struct mon { 45 int monitor_count; 46 XRRMonitorInfo *monitors; 47 }; 48 49 #endif