r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

btiffin
15-Sep-2007
[7167]
Steve; Check out RebGUI.  anim widgets can do multiframe gifs
Ashley
16-Sep-2007
[7168]
They can? anim just cycles a block of images. Source is here out 
of interest:

	http://trac.geekisp.com/rebgui/browser/widgets/anim.r
btiffin
16-Sep-2007
[7169x2]
Yeah, just feed the anim data [(first gif) (second gif) (third gif) 
...] for how many frames there are.  :)
I guess I should have mentioned that.
eFishAnt
16-Sep-2007
[7171x5]
thanks, that is helpful...it is simple and is similar enough.  One 
thing I was wondering was if I have to do a load or not from ram...or 
a copy.   still experimenting.  I was trying a make image! to clone 
each picture..
well, a 1000 frames does show up as 43.2 Megabytes...so it seems 
the size is there in RAM.
So, this should be a valid test.  This SHOULD mean I can play a minute 
videa in less than a second.
My original tests indicated that.
My main question is really how to best assemble gifs to make the 
anim up, rather than how to play.  I am mostly looking at RView 1.3 
at the moment with it's image! datatype.  I thought I saw a bit of 
document which had a simple line of the way to append (or whatever) 
the images into a block or whatever.
Gregg
16-Sep-2007
[7176]
If you have an animated GIF, try just using the standard ANIM style 
in VID; I thought it played them. Creating the animated GIF is a 
different story, but if you have a bunch of images, or a motion JPG 
file/stream, it's easy to parse and play.
eFishAnt
16-Sep-2007
[7177x3]
yes.  but what I am doing is creating one, and REBOL doesn't always 
copy things, so the resultant sequence doesn't play.
It seems like all the image data is just one value of rgb.
Aha! got that warm spot of the exact right words in REBOL to get 
the right things in the right place at the right time.  Whew!  Thanks 
for the ideas.
Chris
16-Sep-2007
[7180]
My animation style was for animated-Gif *level* animations.  You 
still need all frames stacked up on each other in a single image 
file.  Unfortunately not the way anim-gif creation programs work...
eFishAnt
16-Sep-2007
[7181x4]
I found the silver bullet.  Thanks for all the ideas.  I ended up 
usng append.  Nothing fancy, just it takes me extra time to get the 
data structure so it works, and the code was pretty tense in many 
aspects.  I do remember some doc that had a note about making .gif 
anims from REBOL but still haven't found.
Chris, your code, presentations, examples are alwayts top-notch. 
 I learn a LOT reading through them...and enjoy watching them too.
Some time we gotta catch up.
What is the latest Revision of Rebol/View with async? 2.5.53 or higher?
Graham
17-Sep-2007
[7185]
How do you set the toggle style back to it's initial state ?
Brock
17-Sep-2007
[7186]
toggle/state: false
Gregg
17-Sep-2007
[7187]
2.5.53 might have been it Steve.
Graham
17-Sep-2007
[7188]
nope, tried that already.
Brock
18-Sep-2007
[7189x2]
toggle/state: none?
excluding the question mark of course
Graham
18-Sep-2007
[7191]
Oops ..reading it wrong.  Works.
Gregg
19-Sep-2007
[7192]
reset-face should also work
Henrik
27-Sep-2007
[7193x3]
does anyone know how to preset a drop-down inside the layout block?

data: ["1" "2" "3"]


view [drop-down data <something here to set the drop-down to "2">]
sorry, view layout [...

been using R3 too much :-)
figured it out using:
http://anton.wildit.net.au/rebol/gui/demo-drop-down.r
james_nak
27-Sep-2007
[7196]
How do you do it? I was checking anamonitor but these kinds of things 
are mysteries to me.
Henrik
27-Sep-2007
[7197x3]
d: ["1" "2" "3"]

view [drop-down data d with [text: d/2][
should be ], not [
but worse, I need it in a list and the popup is covered by the panel 
size.
james_nak
27-Sep-2007
[7200]
Yeah, I had that before.
Henrik
27-Sep-2007
[7201]
need an alternate solution
james_nak
27-Sep-2007
[7202]
I end up with long windows. : (
Henrik
27-Sep-2007
[7203]
has anyone made an alternate drop down using unbordered windows?
james_nak
27-Sep-2007
[7204]
For those kinds of things I end up usinga thing call list-view : 
) or just the text-list when I can go lo-tech.
Henrik
27-Sep-2007
[7205]
it won't really help here, because I'm still going to be using panels 
which will limit the face size
james_nak
27-Sep-2007
[7206]
And you can't scroll?
Henrik
27-Sep-2007
[7207]
no. impossible.
james_nak
27-Sep-2007
[7208]
Can you split the list up?
Henrik
27-Sep-2007
[7209x2]
it's a big vertical list of dropdowns
can't do anything like that. the drop down has to be independent 
on the restrictions of the layout it's sitting in.
Brock
27-Sep-2007
[7211]
Have you guys tried Ammon's drop down?  It works a little nicer than 
the default.
Henrik
27-Sep-2007
[7212]
(this would be very simple in VID3!)
Brock
27-Sep-2007
[7213]
Ammon's uses unbordered windows
Henrik
27-Sep-2007
[7214]
ohh, nice. where is it?
Brock
27-Sep-2007
[7215x2]
atleast I think  the list will span outside of the parent face.
It's in the script library at rebol.org