* [PATCH] Display title above enabled check box in breakpoint windo w
@ 2002-05-06 12:50 Craig Hackney
0 siblings, 0 replies; 2+ messages in thread
From: Craig Hackney @ 2002-05-06 12:50 UTC (permalink / raw)
To: 'insight@sources.redhat.com'
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
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] Display title above enabled check box in breakpoint windo w
@ 2002-05-06 10:39 Craig Hackney
0 siblings, 0 replies; 2+ messages in thread
From: Craig Hackney @ 2002-05-06 10:39 UTC (permalink / raw)
To: 'insight@sources.redhat.com'
The breakpoint windows does not display a title above the
enabled check box column. The patch below adds a title 'Enabled'.
2002-05-06 Craig Hackney <craig@triscend.com>
* bpwin.itb (BpWin::build_win): Added "Enabled" title above
enabled check box column.
Index: bpwin.itb
===================================================================
RCS file: /cvs/src/gdb/gdbtk/library/bpwin.itb,v
retrieving revision 1.13
diff -c -p -r1.13 bpwin.itb
*** bpwin.itb 14 Mar 2002 17:12:10 -0000 1.13
--- bpwin.itb 6 May 2002 17:37:10 -0000
*************** body BpWin::build_win {} {
*** 74,79 ****
--- 74,81 ----
}
label $twin.thread0 -text "Thread" -relief raised -bd 2 -anchor center \
-font global/fixed
+ label $twin.enabled0 -text "Enabled" -relief raised -bd 2 -anchor center
\
+ -font global/fixed
label $twin.addr0 -text "Address" -relief raised -bd 2 -anchor center \
-font global/fixed
label $twin.file0 -text "File" -relief raised -bd 2 -anchor center \
*************** body BpWin::build_win {} {
*** 86,101 ****
if {$tracepoints} {
label $twin.pass0 -text "PassCount" -relief raised -borderwidth 2 \
-anchor center -font global/fixed
! grid x $twin.num0 $twin.addr0 $twin.file0 $twin.line0 $twin.func0
$twin.pass0 \
-sticky new
} else {
if {$show_threads} {
! grid x $twin.thread0 $twin.addr0 $twin.file0 $twin.line0 $twin.func0
-sticky new
# Let the File and Function columns expand; no others.
grid columnconfigure $twin 3 -weight 1
grid columnconfigure $twin 5 -weight 1
} else {
! grid x $twin.addr0 $twin.file0 $twin.line0 $twin.func0 -sticky new
# Let the File and Function columns expand; no others.
grid columnconfigure $twin 2 -weight 1
grid columnconfigure $twin 4 -weight 1
--- 88,103 ----
if {$tracepoints} {
label $twin.pass0 -text "PassCount" -relief raised -borderwidth 2 \
-anchor center -font global/fixed
! grid $twin.enabled0 $twin.num0 $twin.addr0 $twin.file0 $twin.line0
$twin.func0 $twin.pass0 \
-sticky new
} else {
if {$show_threads} {
! grid $twin.enabled0 $twin.thread0 $twin.addr0 $twin.file0
$twin.line0 $twin.func0 -sticky new
# Let the File and Function columns expand; no others.
grid columnconfigure $twin 3 -weight 1
grid columnconfigure $twin 5 -weight 1
} else {
! grid $twin.enabled0 $twin.addr0 $twin.file0 $twin.line0 $twin.func0
-sticky new
# Let the File and Function columns expand; no others.
grid columnconfigure $twin 2 -weight 1
grid columnconfigure $twin 4 -weight 1
----------------------------------------------------------------------
/\ 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
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-06 19:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-06 12:50 [PATCH] Display title above enabled check box in breakpoint windo w Craig Hackney
-- strict thread matches above, loose matches on Subject: below --
2002-05-06 10:39 Craig Hackney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).