ledit

Text editor (WIP)
git clone git://lumidify.org/ledit.git (fast, but not encrypted)
git clone https://lumidify.org/git/ledit.git (encrypted, but very slow)
Log | Files | Refs | README | LICENSE

theme.h (863B)


      1 #ifndef _THEME_H_
      2 #define _THEME_H_
      3 
      4 #include <X11/Xft/Xft.h>
      5 #include "common.h"
      6 
      7 typedef struct {
      8 	int scrollbar_width;
      9 	int scrollbar_step;
     10 	int text_size;
     11 	XftColor text_fg;
     12 	XftColor text_bg;
     13 	XftColor cursor_fg;
     14 	XftColor cursor_bg;
     15 	XftColor selection_fg;
     16 	XftColor selection_bg;
     17 	XftColor bar_fg;
     18 	XftColor bar_bg;
     19 	XftColor bar_cursor;
     20 	XftColor scrollbar_fg;
     21 	XftColor scrollbar_bg;
     22 	const char *text_font;
     23 	const char *text_fg_hex;
     24 	const char *text_bg_hex;
     25 	const char *cursor_fg_hex;
     26 	const char *cursor_bg_hex;
     27 	const char *selection_fg_hex;
     28 	const char *selection_bg_hex;
     29 	const char *bar_fg_hex;
     30 	const char *bar_bg_hex;
     31 	const char *bar_cursor_hex;
     32 	const char *scrollbar_fg_hex;
     33 	const char *scrollbar_bg_hex;
     34 } ledit_theme;
     35 
     36 ledit_theme *theme_create(ledit_common *common);
     37 void theme_destroy(ledit_common *common, ledit_theme *theme);
     38 
     39 #endif