Index: trunk/doc/conf/tree/appearance.html =================================================================== --- trunk/doc/conf/tree/appearance.html (revision 7750) +++ trunk/doc/conf/tree/appearance.html (revision 7751) @@ -5,4 +5,6 @@ node name type flags description rat_thickness coord 0 mark_size coord 0 relative marker size + layer_alpha real 0 alpha value for layer drawing + drill_alpha real 0 alpha value for drill drawing Index: trunk/doc/conf/tree/editor.html =================================================================== --- trunk/doc/conf/tree/editor.html (revision 7750) +++ trunk/doc/conf/tree/editor.html (revision 7751) @@ -44,8 +44,6 @@ name_on_pcb boolean 0 display Reference Designator as element name, instead of value fullscreen boolean 0 hide widgets to make more room for the drawing route_radius real 0 temporary: route draw helper's arc radius at corners (factor of the trace thickness) - layer_alpha real 0 alpha value for layer drawing - drill_alpha real 0 alpha value for drill drawing click_time integer 0 default time for click expiration, in ms enable_stroke boolean 0 Enable libstroke gestures on middle mouse button when non-zero live_routing boolean 0 autorouter shows tracks in progress Index: trunk/src/conf_core.h =================================================================== --- trunk/src/conf_core.h (revision 7750) +++ trunk/src/conf_core.h (revision 7751) @@ -57,8 +57,6 @@ CFT_BOOLEAN name_on_pcb; /* display Reference Designator as element name, instead of value */ CFT_BOOLEAN fullscreen; /* hide widgets to make more room for the drawing */ CFT_REAL route_radius; /* temporary: route draw helper's arc radius at corners (factor of the trace thickness) */ - CFT_REAL layer_alpha; /* alpha value for layer drawing */ - CFT_REAL drill_alpha; /* alpha value for drill drawing */ CFT_INTEGER click_time; /* default time for click expiration, in ms */ @@ -156,6 +154,8 @@ const struct appearance { CFT_COORD rat_thickness; CFT_COORD mark_size; /* relative marker size */ + CFT_REAL layer_alpha; /* alpha value for layer drawing */ + CFT_REAL drill_alpha; /* alpha value for drill drawing */ struct loglevels { CFT_STRING debug_tag; /* log style tag of debug messages */ CFT_BOOLEAN debug_popup; /* whether a debug line should pop up the log window */ Index: trunk/src/pcb-conf.lht =================================================================== --- trunk/src/pcb-conf.lht (revision 7750) +++ trunk/src/pcb-conf.lht (revision 7751) @@ -80,8 +80,6 @@ } undo_warning_size = 1024 fullscreen = 0 - layer_alpha = 0.7 - drill_alpha = 0.85 } # editor ha:rc { @@ -151,6 +149,8 @@ ha:appearance { rat_thickness = 0.25 mm mark_size = 50 mil + layer_alpha = 0.7 + drill_alpha = 0.85 ha:loglevels { debug_tag = {} Index: trunk/src_plugins/hid_gtk2_gl/gtkhid-gl.c =================================================================== --- trunk/src_plugins/hid_gtk2_gl/gtkhid-gl.c (revision 7750) +++ trunk/src_plugins/hid_gtk2_gl/gtkhid-gl.c (revision 7751) @@ -410,7 +410,7 @@ r = gport->offlimits_color.red / 65535.; g = gport->offlimits_color.green / 65535.; b = gport->offlimits_color.blue / 65535.; - a = conf_core.editor.drill_alpha; + a = conf_core.appearance.drill_alpha; } else { if (pcb_hid_cache_color(0, gc->colorname, &cval, &cache)) @@ -447,7 +447,7 @@ r = cc->red; g = cc->green; b = cc->blue; - a = conf_core.editor.layer_alpha; + a = conf_core.appearance.layer_alpha; } if (1) { double maxi, mult;