[REBOL] Yet More VID Help...
From: chalz::earthlink::net at: 16-Apr-2006 4:28
Yep, it's me again. I'm getting the increasing feeling I'm either over my
head, or missing some very simplistic explanation...
Something I'm working on with VID involves a "list" with two columns of
data. Easy enough to set up. I create a bunch of styles outside of layout,
one of which is
>> out-list: list 254x512 [origin 0 across text 60 text 80]
Then after loading the styles in the layout, I do:
>> out-disp: out-list data [[0 "="] [1 "+"]]
That's great. It works. The problem is, I can't figure out where the data
is being stored, how to access it, manipulate it, add on to it, etc. I
printed out the contents, and the only place I could find the data was in
>> subfunc: func [face count index /item /stuff][
stuff: [[0 "="] [1 "+"]]
either count > length? stuff [face/text: "" face/image: none] [
set-it face stuff index count
]
]
So, I don't get it. With most other types, you can access <object>/text or
<object>/data. What's going on here?
On a subnote, is there a doc elaborating on the pre-defined styles
available?
Again, my thanks to you all.
--Charles