mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 11:46:14 +02:00
eeshow/gui.c (setup_styles): we no longer need this (compose on the fly)
This commit is contained in:
parent
672228148d
commit
2682625e7d
22
eeshow/gui.c
22
eeshow/gui.c
@ -383,26 +383,6 @@ static void go_to_sheet(struct gui_ctx *ctx, struct gui_sheet *sheet);
|
|||||||
static bool go_up_sheet(struct gui_ctx *ctx);
|
static bool go_up_sheet(struct gui_ctx *ctx);
|
||||||
|
|
||||||
|
|
||||||
/* ----- Overlay styles ---------------------------------------------------- */
|
|
||||||
|
|
||||||
|
|
||||||
static struct overlay_style style_dense;
|
|
||||||
static struct overlay_style style_dense_selected;
|
|
||||||
static struct overlay_style style_dense_diff_new;
|
|
||||||
static struct overlay_style style_dense_diff_old;
|
|
||||||
|
|
||||||
|
|
||||||
static void setup_styles(void)
|
|
||||||
{
|
|
||||||
style_dense = overlay_style_dense;
|
|
||||||
style_dense_selected = overlay_style_dense_selected;
|
|
||||||
style_dense_diff_new = overlay_style_diff_new;
|
|
||||||
style_dense_diff_old = overlay_style_diff_old;
|
|
||||||
style_dense.wmax = style_dense_selected.wmax =
|
|
||||||
style_dense_diff_new.wmax = style_dense_diff_old.wmax = 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* ----- Revision history -------------------------------------------------- */
|
/* ----- Revision history -------------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
@ -1094,8 +1074,6 @@ int gui(unsigned n_args, char **args, bool recurse)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_styles();
|
|
||||||
|
|
||||||
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
|
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
|
||||||
|
|
||||||
ctx.da = gtk_drawing_area_new();
|
ctx.da = gtk_drawing_area_new();
|
||||||
|
Loading…
Reference in New Issue
Block a user