Click Here
home features news forums classifieds faqs links search
6155 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
22 crawler(s) on-line.
 95 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!

/  Forum Index
   /  Amiga Development
      /  MUI & Colours/Transparency Help
Register To Post

PosterThread
Daedalus 
MUI & Colours/Transparency Help
Posted on 16-Jul-2010 17:46:26
#1 ]
Super Member
Joined: 14-Jul-2003
Posts: 1680
From: Glasgow - UK, Irish born

Hi guys,
Have most of my new interface built (using Blitz, but the MUI stuff is pretty much the same as C), and it all works, except for the transparency option. I'm loading in bitmaps and creating Bitmap.mui objects for parts of my interface and they look fine without using colour remapping (i.e., not using the MUIA_Bitmap_SourceColors tag). However, if I set the MUIA_Bitmap_Transparent tag to 0, my graphics get totally corrupted. Colour 0 is just a small part of my gadget, but all the colours seem to be affected.

I tried adding a palette using the MUIA_Bitmap_SourceColors tag to see if this would resolve it, but all it does is change the colour of the corrupted graphics - and not predictably either. Can anyone please explain how/why adding the Transparent tag causes the corruption? Or can anyone thing what I might be doing wrong?

Thanks!

_________________
RobTheNerd.com | InstallerGen | SMBMounter | Atoms-X

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle