improved white on black setup a little more

svn: r1788
This commit is contained in:
Robby Findler 2006-01-09 00:07:49 +00:00
parent 4d94799c1a
commit 6d8ddc10fe
3 changed files with 8 additions and 8 deletions

View File

@ -171,7 +171,6 @@
(send text set-position 0 0)
(send text lock #t)
(send text end-edit-sequence))])
(send text set-styles-fixed #t)
(preferences:add-callback
'framework:standard-style-list:font-size
(λ (p v) (send size-slider set-value v)))

View File

@ -363,7 +363,11 @@ WARNING: printf is rebound in the body of the unit to always
(define foreground-color-mixin
(mixin (basic<%> editor:standard-style-list<%>) (foreground-color<%>)
(inherit begin-edit-sequence end-edit-sequence change-style get-style-list)
(define/override (get-fixed-style)
(define/override (default-style-name)
(editor:get-default-color-style-name))
(define/override (get-fixed-style)
(send (editor:get-standard-style-list)
find-named-style
(editor:get-default-color-style-name)))

View File

@ -880,12 +880,9 @@
i))
(define display-text%
(class (html-text-mixin
(text:foreground-color-mixin
text:standard-style-list%))
(super-new)
(inherit set-styles-fixed)
(set-styles-fixed #t)))
(html-text-mixin
(text:foreground-color-mixin
text:standard-style-list%)))
;; Class for the panel that has columns titles and
;; supports clicks to change the sort order