Hello Jaime, On 11.07.07, Jaime Cagigal wrote:
> I'm playing with the NList classes and I want to embed images between > text. I have done some tests with the escape code e.g: > \033I[5:myimage.gif]. Of course, I have a problem because the transparent > colour is drawn and it shouldn't. I have some questions about MUI4... Try to use an 24bit image, many picture datatypes and applications have problems with 8bit transparency. > -Does it support embedded transparent images loaded directly from > datatypes? -Does it support 24bit images? yes. > If you load a boopsi "image" could it be animated in any way? Maybe > refreshing just the image gadgets without redrawing all the rest of > gadgets... I don't know. As stand-alone object probably, but not inside the text engine. > And another thing... if MUI4 allows images loaded with datatypes to have > transparent colours (and maybe even alpha channel) dtpic.mui is the way. > could this be possible > with an updated MUI4 for classics? probably. maybe dtpic.mui already supports that for picture.datatype v43 or better and 16/32bit screen under classic. > If MUI4 isn't going to be released for classics I guess that I'll have to > try to replace/patch MUI_Image class with code from Zune... Just make your own class. Replacing parts of MUI is usually not the right way. > I could try to > convert the image loaded with the datatypes to an "image", remap the > colours etc... but just to get a transparent colour it looks like a lot of > work that won't be reused and it would be more interesting to have it > integrated in MUI_Image. Like I said.. make your own class... register it with stuntzi and make a .mcc out of it and it can be easily reused by others. Anything else just will become a big mess. regards, -- Christian Rosentreter Shuffle - the surprisingly fruity puzzle game for the MorphOS Desktop. Buy your copy today for only EUR 3,- @ http://www.binaryriot.org/shuffle/ some movies doesn't end the way we want all the time Visit http://www.amiga.dk/tumult for MUI-related information, especially about MUI custom classes. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/MUI/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/MUI/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
