Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » building one Image from severall
building one Image from severall [message #445762] Wed, 10 November 2004 17:59
Eclipse UserFriend
Originally posted by: yvon_thoraval.mac.com

Hey all,

i'd like to build one image which would somehow "concatenate" severall
others.

Basically i've four images namelly : Red.gif, Yellow.gif, Pink.gif
(glasses of wine of the given color)and null.gif (transparent).

On the other side i've an ArrayList of possible colors like :

case 1 : {Red}

case 2 : {Red, Yellow}

case 3 : {Red, Pink, Yellow}

then, i'd like to have on the screen something like ;

case 1 : image "=" Red.gif "+" null.gif "+" null.gif

case 2 : image "=" Red.gif "+" null.gif "+" null.gif

case 3 : image "=" Red.gif "+" Pink.gif "+" Yellow.gif

image having always the same width.

Is there a simple way to do that ?

Yvon
Previous Topic:FormToolkit Section - resetting composite
Next Topic:Browser widget example. CloseWindowListener?
Goto Forum:
  


Current Time: Mon Oct 26 19:57:16 GMT 2020

Powered by FUDForum. Page generated in 0.01610 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top