ui.gadgets.charts.lines: Fix using list.
Use ``SPECIALIZED-ARRAYS: float`` in order to create it if it doesnt exist.factor-shell
parent
fed7da34e2
commit
fbe8d639d6
|
@ -2,13 +2,14 @@
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: accessors arrays assocs binary-search colors.constants
|
USING: accessors arrays assocs binary-search colors.constants
|
||||||
combinators combinators.short-circuit fry kernel locals make
|
combinators combinators.short-circuit fry kernel locals make
|
||||||
math math.order math.statistics math.vectors namespaces opengl
|
math math.order math.statistics math.vectors opengl opengl.gl
|
||||||
opengl.gl sequences
|
sequences specialized-arrays splitting.monotonic ui.gadgets
|
||||||
specialized-arrays.instances.alien.c-types.float
|
ui.gadgets.charts ui.gadgets.charts.utils ui.render ;
|
||||||
splitting.monotonic ui.gadgets ui.gadgets.charts
|
QUALIFIED-WITH: alien.c-types c
|
||||||
ui.gadgets.charts.utils ui.render ;
|
|
||||||
IN: ui.gadgets.charts.lines
|
IN: ui.gadgets.charts.lines
|
||||||
|
|
||||||
|
SPECIALIZED-ARRAY: c:float
|
||||||
|
|
||||||
! Data must be a sequence of { x y } coordinates sorted by
|
! Data must be a sequence of { x y } coordinates sorted by
|
||||||
! non-descending x vaues.
|
! non-descending x vaues.
|
||||||
TUPLE: line < gadget color data ;
|
TUPLE: line < gadget color data ;
|
||||||
|
|
Loading…
Reference in New Issue