Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
100 user(s) are online (50 user(s) are browsing Forums)

Members: 0
Guests: 100

more...

Headlines

 
  Register To Post  

Scrollable window with images
Quite a regular
Quite a regular


See User information
Hello,

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


Retired
Go to top
Re: Scrollable window with images
Just can't stay away
Just can't stay away


See User information
@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 I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: Scrollable window with images
Home away from home
Home away from home


See User information
@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...

Go to top
Re: Scrollable window with images
Quite a regular
Quite a regular


See User information
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
Go to top
Re: Scrollable window with images
Just can't stay away
Just can't stay away


See User information
@AmigaBlitter

Quote:
Can ListBrowser shows trasparent or free form images?

I think so, it can.

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: Scrollable window with images
Home away from home
Home away from home


See User information
@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.

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project