This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[PATCH] Added foreground color for selected cells in memory window
- From: Craig Hackney <craig at triscend dot com>
- To: "'insight at sources dot redhat dot com'" <insight at sources dot redhat dot com>
- Date: Mon, 6 May 2002 13:04:22 -0700
- Subject: [PATCH] Added foreground color for selected cells in memory window
This patch adds foreground color to the selected cell configuration.
With out this setting selected cells have white text on a light
grey background on windows hosts, very hard to see the memory
values.
2002-05-06 Craig Hackney <craig@triscend.com>
* memwin.itb (MemWin::build_win): Added foreground color
to selected cell configuration.
Index: memwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/memwin.itb,v
retrieving revision 1.17
diff -c -p -r1.17 memwin.itb
*** memwin.itb 6 Mar 2002 23:56:03 -0000 1.17
--- memwin.itb 6 May 2002 20:00:52 -0000
*************** body MemWin::build_win {} {
*** 116,122 ****
$itk_interior.t configure -rowstretchmode none
}
scrollbar $itk_interior.sx -command [list $itk_interior.t xview] -orient
horizontal
! $itk_interior.t tag config sel -bg [$itk_interior.t cget -bg] -relief
sunken
$itk_interior.t tag config active -bg lightgray -relief sunken -wrap 0
$itk_interior.t tag config title -bg [pref get gdb/font/header_bg] \
-fg [pref get gdb/font/header_fg]
--- 116,123 ----
$itk_interior.t configure -rowstretchmode none
}
scrollbar $itk_interior.sx -command [list $itk_interior.t xview] -orient
horizontal
! $itk_interior.t tag config sel -bg [$itk_interior.t cget -bg] \
! -fg [$itk_interior.t cget -fg] -relief sunken
$itk_interior.t tag config active -bg lightgray -relief sunken -wrap 0
$itk_interior.t tag config title -bg [pref get gdb/font/header_bg] \
-fg [pref get gdb/font/header_fg]
----------------------------------------------------------------------
/\ Craig Hackney TEL: 650-968-8668 x171
/\/ \ Triscend Corporation FAX: 650-934-9393
/\/ / \ 301 North Whisman Road mailto:craig@triscend.com
/ / / \ Mountain View, CA 94043 http://www.triscend.com
----------------------------------------------------------------------