This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Changed background color for selected cells in reg window



	This patch adds background color to the selected cell configuration.
	With out this setting selected cells have black text on a dark
	blue background on windows hosts, very hard to see the register
	values.


2002-05-06	Craig Hackney	<craig@triscend.com>

	* regwin.itb (RegWin::_build_win): Added background color
	to selected cell configuration.

Index: regwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/regwin.itb,v
retrieving revision 1.15
diff -c -p -r1.15 regwin.itb
*** regwin.itb  5 Mar 2002 22:22:19 -0000       1.15
--- regwin.itb  6 May 2002 19:44:56 -0000
*************** body RegWin::_build_win {} {
*** 148,154 ****
      -background [pref get gdb/font/highlight_bg]
    $itk_component(table) tag raise highlight
    $itk_component(table) tag configure sel     \
!     -foreground [pref get gdb/font/select_fg]
    $itk_component(table) tag configure header  \
      -foreground [pref get gdb/font/header_fg] \
      -background [pref get gdb/font/header_bg] \
--- 148,155 ----
      -background [pref get gdb/font/highlight_bg]
    $itk_component(table) tag raise highlight
    $itk_component(table) tag configure sel     \
!     -foreground [pref get gdb/font/select_fg] \
!     -background [pref get gdb/font/select_bg]
    $itk_component(table) tag configure header  \
      -foreground [pref get gdb/font/header_fg] \
      -background [pref get gdb/font/header_bg] \



----------------------------------------------------------------------
            
       /\    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

----------------------------------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]