Bug fixes
parent
c5716ff2e1
commit
81e5fd2c9e
|
@ -20,15 +20,13 @@
|
||||||
|
|
||||||
+ ui:
|
+ ui:
|
||||||
|
|
||||||
- markup: goofy if a block is the first thing in a table cell
|
- 'show' doesn't work if invoked from a listener on an object which is
|
||||||
|
itself inspected in the listener
|
||||||
- ui uses too much cpu time idling
|
- ui uses too much cpu time idling
|
||||||
- table borders rendered badly
|
|
||||||
- why is the thumb skewed?
|
|
||||||
- add some handy services:
|
- add some handy services:
|
||||||
- base conversion
|
- base conversion
|
||||||
- search help for selection
|
- search help for selection
|
||||||
- grid slows down with 2000 lines
|
- grid slows down with 2000 lines
|
||||||
- f should be clickable
|
|
||||||
- clickable vocabs
|
- clickable vocabs
|
||||||
- remaining HTML issues need fixing
|
- remaining HTML issues need fixing
|
||||||
- better component padding and spacing in UI
|
- better component padding and spacing in UI
|
||||||
|
|
|
@ -158,7 +158,7 @@ M: object >link <link> ;
|
||||||
: $grid ( content style -- )
|
: $grid ( content style -- )
|
||||||
[
|
[
|
||||||
table-content-style [
|
table-content-style [
|
||||||
[ print-element ] tabular-output
|
[ last-element off print-element ] tabular-output
|
||||||
] with-style
|
] with-style
|
||||||
] ($block) table last-element set ;
|
] ($block) table last-element set ;
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ SYMBOL: grid-dim
|
||||||
M: grid-lines draw-boundary ( gadget paint -- )
|
M: grid-lines draw-boundary ( gadget paint -- )
|
||||||
#! Clean this up later.
|
#! Clean this up later.
|
||||||
GL_MODELVIEW [
|
GL_MODELVIEW [
|
||||||
0.5 0.5 0 glTranslated
|
|
||||||
grid-lines-color gl-color [
|
grid-lines-color gl-color [
|
||||||
grid get rect-dim half-gap v- grid-dim set
|
grid get rect-dim half-gap v- grid-dim set
|
||||||
{ 0 1 } draw-grid-lines
|
{ 0 1 } draw-grid-lines
|
||||||
|
|
|
@ -24,7 +24,7 @@ M: object-button gadget-help ( button -- string )
|
||||||
! Character styles
|
! Character styles
|
||||||
|
|
||||||
: apply-style ( style gadget key quot -- style gadget )
|
: apply-style ( style gadget key quot -- style gadget )
|
||||||
>r pick hash r> when* ; inline
|
>r pick hash* r> [ drop ] if ; inline
|
||||||
|
|
||||||
: apply-foreground-style ( style gadget -- style gadget )
|
: apply-foreground-style ( style gadget -- style gadget )
|
||||||
foreground [ over set-label-color ] apply-style ;
|
foreground [ over set-label-color ] apply-style ;
|
||||||
|
|
|
@ -97,7 +97,8 @@ C: elevator ( vector -- elevator )
|
||||||
[ set-gadget-orientation ] keep ;
|
[ set-gadget-orientation ] keep ;
|
||||||
|
|
||||||
: (layout-thumb) ( slider n -- n thumb )
|
: (layout-thumb) ( slider n -- n thumb )
|
||||||
over gadget-orientation n*v swap slider-thumb ;
|
over gadget-orientation n*v [ >fixnum ] map
|
||||||
|
swap slider-thumb ;
|
||||||
|
|
||||||
: thumb-loc ( slider -- loc )
|
: thumb-loc ( slider -- loc )
|
||||||
dup slider-value swap slider>screen ;
|
dup slider-value swap slider>screen ;
|
||||||
|
|
Loading…
Reference in New Issue