1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 22:32:50 +02:00

eeshow/gui-style.h, gui-style.c: remove unused styles

This commit is contained in:
Werner Almesberger 2016-08-09 19:07:10 -03:00
parent 2682625e7d
commit ea3f98c569
2 changed files with 0 additions and 30 deletions

View File

@ -35,26 +35,14 @@
#define FG_STANDARD { 0.0, 0.0, 0.0, 1.0 } #define FG_STANDARD { 0.0, 0.0, 0.0, 1.0 }
#define FRAME_STANDARD { 0.5, 0.5, 1.0, 0.7 } #define FRAME_STANDARD { 0.5, 0.5, 1.0, 0.7 }
#define BG_SELECTED BG_STANDARD
#define FG_SELECTED FG_STANDARD
#define FRAME_SELECTED { 0.0, 0.0, 1.0, 0.8 }
#define BG_DIFF_NEW BG_STANDARD #define BG_DIFF_NEW BG_STANDARD
#define FG_DIFF_NEW { 0.0, 0.6, 0.0, 1.0 } #define FG_DIFF_NEW { 0.0, 0.6, 0.0, 1.0 }
#define FRAME_DIFF_NEW FRAME_STANDARD #define FRAME_DIFF_NEW FRAME_STANDARD
#define BG_DIFF_NEW_SELECTED BG_DIFF_NEW
#define FG_DIFF_NEW_SELECTED FG_DIFF_NEW
#define FRAME_DIFF_NEW_SELECTED FRAME_SELECTED
#define BG_DIFF_OLD BG_STANDARD #define BG_DIFF_OLD BG_STANDARD
#define FG_DIFF_OLD { 0.8, 0.0, 0.0, 1.0 } #define FG_DIFF_OLD { 0.8, 0.0, 0.0, 1.0 }
#define FRAME_DIFF_OLD FRAME_STANDARD #define FRAME_DIFF_OLD FRAME_STANDARD
#define BG_DIFF_OLD_SELECTED BG_DIFF_OLD
#define FG_DIFF_OLD_SELECTED FG_DIFF_OLD
#define FRAME_DIFF_OLD_SELECTED FRAME_SELECTED
#define BOX_ATTRS(style) \ #define BOX_ATTRS(style) \
.pad = style##_PAD, \ .pad = style##_PAD, \
@ -71,11 +59,8 @@
.frame = FRAME_##style .frame = FRAME_##style
#define STANDARD COLOR_ATTRS(STANDARD) #define STANDARD COLOR_ATTRS(STANDARD)
#define SELECTED COLOR_ATTRS(SELECTED)
#define DIFF_NEW COLOR_ATTRS(DIFF_NEW) #define DIFF_NEW COLOR_ATTRS(DIFF_NEW)
#define DIFF_NEW_SELECTED COLOR_ATTRS(DIFF_NEW_SELECTED)
#define DIFF_OLD COLOR_ATTRS(DIFF_OLD) #define DIFF_OLD COLOR_ATTRS(DIFF_OLD)
#define DIFF_OLD_SELECTED COLOR_ATTRS(DIFF_OLD_SELECTED)
struct overlay_style overlay_style_default = { struct overlay_style overlay_style_default = {
@ -86,10 +71,6 @@ struct overlay_style overlay_style_default = {
.font = NORMAL_FONT, .font = NORMAL_FONT,
DENSE, DENSE,
STANDARD, STANDARD,
}, overlay_style_dense_selected = {
.font = BOLD_FONT,
DENSE,
SELECTED,
}, overlay_style_diff_new = { }, overlay_style_diff_new = {
.font = NORMAL_FONT, .font = NORMAL_FONT,
NORMAL, NORMAL,
@ -98,12 +79,4 @@ struct overlay_style overlay_style_default = {
.font = NORMAL_FONT, .font = NORMAL_FONT,
NORMAL, NORMAL,
DIFF_OLD, DIFF_OLD,
}, overlay_style_dense_diff_new = {
.font = BOLD_FONT,
DENSE,
DIFF_NEW_SELECTED,
}, overlay_style_dense_diff_old = {
.font = BOLD_FONT,
DENSE,
DIFF_OLD_SELECTED,
}; };

View File

@ -18,10 +18,7 @@
extern struct overlay_style overlay_style_default; extern struct overlay_style overlay_style_default;
extern struct overlay_style overlay_style_dense; extern struct overlay_style overlay_style_dense;
extern struct overlay_style overlay_style_dense_selected;
extern struct overlay_style overlay_style_diff_new; extern struct overlay_style overlay_style_diff_new;
extern struct overlay_style overlay_style_diff_old; extern struct overlay_style overlay_style_diff_old;
extern struct overlay_style overlay_style_dense_diff_new;
extern struct overlay_style overlay_style_dense_diff_old;
#endif /* !GUI_STYLE_H */ #endif /* !GUI_STYLE_H */