Index: trunk/doc/conf/tree/editor.html
===================================================================
--- trunk/doc/conf/tree/editor.html (revision 7524)
+++ trunk/doc/conf/tree/editor.html (revision 7525)
@@ -43,6 +43,7 @@
description | boolean | 0 | display element description as element name, instead of value
|
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
+ |
gl | boolean | 0 | use GL for drawing where available
|
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 7524)
+++ trunk/src/conf_core.h (revision 7525)
@@ -56,6 +56,7 @@
CFT_BOOLEAN description; /* display element description as element name, instead of value */
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_BOOLEAN gl; /* use GL for drawing where available */
CFT_INTEGER click_time; /* default time for click expiration, in ms */
Index: trunk/src/pcb-conf.lht
===================================================================
--- trunk/src/pcb-conf.lht (revision 7524)
+++ trunk/src/pcb-conf.lht (revision 7525)
@@ -80,6 +80,7 @@
}
undo_warning_size = 1024
fullscreen = 0
+ gl = 1
} # editor
ha:rc {
Index: trunk/src_plugins/lib_gtk_config/gui-config.c
===================================================================
--- trunk/src_plugins/lib_gtk_config/gui-config.c (revision 7524)
+++ trunk/src_plugins/lib_gtk_config/gui-config.c (revision 7525)
@@ -511,6 +511,11 @@
config_auto_place_toggle_cb, NULL,
_("Restore window geometry (when saved geometry is available)"));
+ ghid_check_button_connected(vbox, NULL, conf_core.editor.gl,
+ TRUE, FALSE, FALSE, 2,
+ config_general_toggle_cb, (void *) &conf_core.editor.gl,
+ _("Use GL for drawing (requires restart to take effect)"));
+
vbox = ghid_category_vbox(content_vbox, _("Backups"), 4, 2, TRUE, TRUE);
ghid_check_button_connected(vbox, NULL, conf_core.editor.save_in_tmp,
TRUE, FALSE, FALSE, 2,
|