Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
61 user(s) are online (46 user(s) are browsing Forums)

Members: 0
Guests: 61

more...
Support us!
Recent OS4 Files
OS4Depot.net





Scrollable window with images
Quite a regular
Joined:
2006/11/22 17:57
From Italy, Rome
Posts: 587
Hello,

any idea to create in OS4 a Scrollable Window that contains multiple images in it?


_________________
Retired
   Report Go to top

Re: Scrollable window with images
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1087
@AmigaBlitter

You can use ListBrowser or PicFlow (on os4depot.net). (Or use Space gadget and implement scrolling on your own.)

_________________
Rock lobster bit me, so excuse me.
X1000 + AmigaOS 4.1 FE. Be authentic.
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
   Report Go to top

Re: Scrollable window with images
Just can't stay away
Joined:
2006/12/4 23:15
Posts: 1992
@AmigaBlitter

What do you mean by a scrollable window with multiple images?

There are quite a few varaiations on that simple description.

For single column of thumbnails MultiViewer style, just use listbrowser.

For grid of thumbnail images, (more similar to PTP.usbfd) you might create an aray of buttons attach the images and put them in a virtual gadget.

For very large images, you might need to do custom rendering.

More details you give in this kind of question the more specific and helpful we can be...

_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: Scrollable window with images
Quite a regular
Joined:
2006/11/22 17:57
From Italy, Rome
Posts: 587
Thank you for the reply

@TSK
Can ListBrowser shows trasparent or free form images?

@BroadBlues

I have a Windows where i draw some images that changes from time to time, arragend in a sort of grid. Each image can be max 128x128. The images should be interactive (clickable).

Later i would like to make those images animated.

_________________
Retired
   Report Go to top

Re: Scrollable window with images
Just can't stay away
Joined:
2007/2/23 13:49
From Finland, the land of Santa, sauna, sisu and salmiakki
Posts: 1087
@AmigaBlitter

Quote:
Can ListBrowser shows trasparent or free form images?

I think so, it can.

_________________
Rock lobster bit me, so excuse me.
X1000 + AmigaOS 4.1 FE. Be authentic.
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
   Report Go to top

Re: Scrollable window with images
Just can't stay away
Joined:
2006/12/4 23:15
Posts: 1992
@AmigaBlitter

Quote:

Can ListBrowser shows trasparent or free form images?


You might need to use the render hook for that.

Without a hook you get the default background.
Resized Image

With a hook you could do anything you wanted.

Quote:

@BroadBlues

I have a Windows where i draw some images that changes from time to time, arragend in a sort of grid. Each image can be max 128x128. The images should be interactive (clickable).


A grid of button.gadgets in a virtual gadget would work for this, you can use BUTTON_BevelStyle,BVS_NONE and BUTTON_Transparent,TRUE, to get borderless "freeform images".

Quote:

Later i would like to make those images animated.


If the frame rate is not too fast you could just update the buttons images on a timer.

Just as an after thought, if your images were like jigsawpuzzle pieces and needed to interlink/ overlap then custom rendering and input handling will be needed.

_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top





[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project