OSDN Git Service

2002-06-07 Martin M. Hunt <hunt@redhat.com>
authorhunt <hunt>
Fri, 7 Jun 2002 09:22:44 +0000 (09:22 +0000)
committerhunt <hunt>
Fri, 7 Jun 2002 09:22:44 +0000 (09:22 +0000)
commit329988e8e06aa17126e1766e5e3306fe1c879284
treebbdf578ece12c5c38de302dab0c9f626e7178442
parent98a417b976ad9fcf4c0bfa6e62e0d9b36fee5062
2002-06-07  Martin M. Hunt  <hunt@redhat.com>

* library/prefs.tcl (pref_set_colors): New function.  Set up colors
from Windows system colors or X resource database. Save in array.
(pref_set_defaults): Remove gdb/font/normal_fg, etc.
(pref_read): Call pref_set_colors.

* library/main.tcl: Remove call to "tix resetoptions TixGray".

* library/bpwin.itb, library/browserwin.itb, library/console.itb,
library/globalpref.itb, library/memwin.itb, library/process.itb,
library/regwin.itb, library/srcpref.itb, library/srctextwin.itb,
library/stackwin.itb, library/tdump.tcl, library/tracedlg.tcl,
library/variables.tcl: Replace calls to [pref get gdb/fonts/*]
for colors with references to Color array. Remove all tixOptions calls.
Fix up colors as necessary.
15 files changed:
gdb/gdbtk/library/bpwin.itb
gdb/gdbtk/library/browserwin.itb
gdb/gdbtk/library/console.itb
gdb/gdbtk/library/globalpref.itb
gdb/gdbtk/library/main.tcl
gdb/gdbtk/library/memwin.itb
gdb/gdbtk/library/prefs.tcl
gdb/gdbtk/library/process.itb
gdb/gdbtk/library/regwin.itb
gdb/gdbtk/library/srcpref.itb
gdb/gdbtk/library/srctextwin.itb
gdb/gdbtk/library/stackwin.itb
gdb/gdbtk/library/tdump.tcl
gdb/gdbtk/library/tracedlg.tcl
gdb/gdbtk/library/variables.tcl