ui.tools.browser: change $navigation to not use title-style.
parent
612a6999c9
commit
3eaf7b81bc
|
@ -43,7 +43,7 @@ CONSTANT: next 1
|
||||||
: $navigation-arrow ( content element direction -- )
|
: $navigation-arrow ( content element direction -- )
|
||||||
[ prefix 1array ] dip add-navigation-arrow , ;
|
[ prefix 1array ] dip add-navigation-arrow , ;
|
||||||
|
|
||||||
:: ($navigation) ( topic direction -- )
|
:: $navigation ( topic direction -- )
|
||||||
help-path-style get [
|
help-path-style get [
|
||||||
topic [
|
topic [
|
||||||
direction prev/next-article
|
direction prev/next-article
|
||||||
|
@ -51,17 +51,12 @@ CONSTANT: next 1
|
||||||
] { } make [ ($navigation-table) ] unless-empty
|
] { } make [ ($navigation-table) ] unless-empty
|
||||||
] with-style ;
|
] with-style ;
|
||||||
|
|
||||||
: $navigation ( topic direction -- )
|
|
||||||
title-style get [ ($navigation) ] with-style ;
|
|
||||||
|
|
||||||
: $title ( topic -- )
|
: $title ( topic -- )
|
||||||
title-style get clone page-color over delete-at dup
|
title-style get clone page-color over delete-at
|
||||||
[
|
|
||||||
[
|
[
|
||||||
[ ($title) ]
|
[ ($title) ]
|
||||||
[ ($navigation-path) ] bi
|
[ ($navigation-path) ] bi
|
||||||
] with-nesting
|
] with-nesting ;
|
||||||
] with-style ;
|
|
||||||
|
|
||||||
: <help-header> ( browser-gadget -- gadget )
|
: <help-header> ( browser-gadget -- gadget )
|
||||||
model>> [ '[ _ $title ] try ] <pane-control> ;
|
model>> [ '[ _ $title ] try ] <pane-control> ;
|
||||||
|
|
Loading…
Reference in New Issue