Guest drblow Posted August 17, 2003 Report Posted August 17, 2003 I'm trying to make an mru with just 1 icon & text. I have evrything working, except I can't seem to change the background colour behind the icon when selected. It appears dark grey, but I want it to go black, or transparent. Anybody help?? Here's the code - <mru icon-size="16" max-buttons="1" y="1" x="121" button-transparent-color="#000000"/><format state="selected" fgcolor="#000000"/> <appname y="2" x="14" />
Guest Brody Posted August 17, 2003 Report Posted August 17, 2003 Basically the button-transparent-color refers to the colour from an mru background image (button-image) that you wish to be used as transparent. Read this and scroll down to the mru plugin section to get more advise. Basically the button-image picture is split into four equally split sections that are then used as background images for a selected plug-in selected app state image, selected plug-in unselected app state, unselected plug-in selected app state and unselected plug-in unselected app state. I hope this makes sense and bare in mind that if you use a button-image it overides any highlight attributes that you may have previously been using. :) Ps. Shouldn't this really be in H&A?
Guest drblow Posted August 17, 2003 Report Posted August 17, 2003 Em... sorry m8 - none of that makes any sense to me!! & I'm sure if the mods feel that the post should be moved, they'll do so! Personally, I always post customisation issues in the customisation forum.
Guest Brody Posted August 17, 2003 Report Posted August 17, 2003 Ok, no probs, have u read the link i supplied? Here i set the mru background image's transparent colour to be black so any black in the image will appear transparent :)
Guest drblow Posted August 17, 2003 Report Posted August 17, 2003 Yeah I read the link - but i'm not putting an image in behing the mru - & either I don't understand the post, or else what I'm asking isn't included in there. The MRU is just the text & icon - but behing the icon (where the bitmap image would be) is a dark grey square - I just wanted to change that to black. Or could you post a quick loser's guide to making a very small (16x16 - the size of the icon) bitmap file?? I use macromedia fireworks for graphics & I'm not alltogether sure about making bitmaps. Cheers!
Guest drblow Posted August 17, 2003 Report Posted August 17, 2003 I'd quite like the icon to NOT show when unselected. Can I do that??
Guest Brody Posted August 17, 2003 Report Posted August 17, 2003 You can't get the icon not to show when unselected i'm afraid. I understand what you're saying and have aswered you! :o To have a black background you'll need a black image that will be split into quarters (Like this! _ _ _ _ )as was mentioned in my previous post! No need to worry about the transparency part if you're only after a black background :)
Guest drblow Posted August 17, 2003 Report Posted August 17, 2003 To have a black background you'll need a black image that will be split into quarters (Like this! _ _ _ _ ) Darn shame about the icon always being there! Oh well! So what's this about splitting the image into four?? Can you explain what you mean? 4 seperate images? I only have 1 icon showing at a time, with text before it.
Guest drblow Posted August 17, 2003 Report Posted August 17, 2003 Ok, well I have applied a background bmp - just used one little square of black 16x16, seemed to work!?? I didn't realise making bitmaps was as easy as 'export bitmap'!!?? :oops:
Guest Brody Posted August 17, 2003 Report Posted August 17, 2003 Your 16*16 image will be split into 4 images of 4*16 with 4 pixels being the width of each. This is because the background image bitmap is split into four representing the mru icon when its selected and the mru plugin is selected, unselected and the mru plugin is selected, unselected and the mru plugin is selected, and unselected and the mru plugin is unselected. There are four possible states as i mentioned earlier... Its tough to describe (i've tried a few times now :?!)
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now