What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Skinning » Adding UMargins to Shaped Skin Masks

Adding UMargins to Shaped Skin Masks
Author: Message:
aNILEator
Skinning Contest Winner
*****

Avatar
...in the wake of the aNILEator

Posts: 3718
Reputation: 90
35 / Male / Flag
Joined: Oct 2003
Status: Away
O.P. Adding UMargins to Shaped Skin Masks
Nothing about it in the documentation, Having this would make my life with Beaver and Steve sooo much easier (along with other full border shaped skins), just defining the UMargins of the mask bg.

If/Whilst your at it add in proper masking for backgrounds (a) *Cough* realistic aero bars effect then achievable *cough* (a)

OH also

Chat Tab Left, been thinking about it, and obviously it expands with whatever size tab you chose, whereas top tabs won't change the tab bar size, so maybe we'll need to add in chat tab bar left small,medium,large sizes too, just to get stuff REALLY perfect

Thanks Patch ;)

lots of love to you!

btw, did my postcard arrive thanking you for shirts yet?

This post was edited on 06-17-2008 at 07:37 PM by aNILEator.
06-17-2008 07:33 PM
Profile PM Web Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Adding UMargins to Shaped Skin Masks
I'll check my mail box tomorrow :).

As for the suggestion, I'll see what can be done. I'm still finishing things up for v4.70 and I didn't want to do much related to skins internals for this build. There's a lot of room for improvement right now, that's for sure :).
[Image: signature2.gif]
06-18-2008 03:08 AM
Profile PM Web Find Quote Report
aNILEator
Skinning Contest Winner
*****

Avatar
...in the wake of the aNILEator

Posts: 3718
Reputation: 90
35 / Male / Flag
Joined: Oct 2003
Status: Away
O.P. RE: Adding UMargins to Shaped Skin Masks
Having a discussion about this with willz, and it's because I have no straight lines I'm having REAL problems, all his shaped skins have some straight lines of some sort in them, and the corners are shape skinned.

I tried taking the 'tables' approach to solve the problem.

[Image: attachment.php?pid=913932]

But this has left me with problems shown in the bottom, the corner edges are all whack

I also tried cutting my mask into 4 quarters and having each at 50% width and height, that didn't work nice either. Neither did just a Left, Top, Right and Bottom all at 100% (respective width or height)

And 100% image mask, I can't add UMargins to so It stretches.

Currently using this top method is the best I got so far.

Also I've noticed that contact list restricted minimum size does not work, even though formatting is correct :S


-----------------------------------------------------------
WARNING LONG COPY PASTE OF CODE AHEAD!
-----------------------------------------------------------
This is what the current shaping code is

    <Region>
          <ContactList>
            <Rectangle Integration="add">
                <Left>0</Left>
                <Top>0</Top>
                <Width Unit="percent">100</Width>
                <Height Unit="percent">100</Height>
            </Rectangle>
            <Rectangle Integration="subtract">
                <Left>0</Left>
                <Top>0</Top>
                <Width Unit="percent">100</Width>
                <Height>15</Height>
            </Rectangle>
            <Rectangle Integration="subtract">
                <Left>0</Left>
                <Top>0</Top>
                <Width>15</Width>
                <Height Unit="percent">100</Height>
            </Rectangle>
            <Rectangle Integration="subtract">
                <Right>0</Right>   
                <Bottom>0</Bottom>
                <Width Unit="percent">100</Width>
                <Height>15</Height>
            </Rectangle>
            <Rectangle Integration="subtract">
                <Right>0</Right>
                <Bottom>0</Bottom>
                <Width>15</Width>
                <Height Unit="percent">100</Height>
            </Rectangle>
            <Image Integration="add">
                <Source>
                    <File>images\Window Design\BL.png</File>
                </Source>
                <Position>
                    <Left>0</Left>
                    <Bottom>0</Bottom>
                    <Width>15</Width>
                    <Height>15</Height>
                </Position>
            </Image>
            <Image Integration="add">
                <Source>
                    <File>images\Window Design\L.png</File>
                </Source>
                <Position>
                    <Left>0</Left>
                    <Bottom>15</Bottom>
                    <Top>15</Top>
                    <Width>15</Width>
                    <Height Unit="percent">100</Height>
                </Position>
            </Image>
            <Image Integration="add">
                <Source>
                    <File>images\Window Design\TL.png</File>
                </Source>
                <Position>
                    <Left>0</Left>
                    <Top>0</Top>
                    <Width>15</Width>
                    <Height>15</Height>
                </Position>
            </Image>
            <Image Integration="add">
                <Source>
                    <File>images\Window Design\T.png</File>
                </Source>
                <Position>
                    <Left>15</Left>
                    <Right>15</Right>
                    <Top>0</Top>
                    <Width Unit="percent">100</Width>
                    <Height>15</Height>
                </Position>
            </Image>
            <Image Integration="add">
                <Source>
                    <File>images\Window Design\TR.png</File>
                </Source>
                <Position>
                    <Right>0</Right>
                    <Top>0</Top>
                    <Width>15</Width>
                    <Height>15</Height>
                </Position>
            </Image>
            <Image Integration="add">
                <Source>
                    <File>images\Window Design\R.png</File>
                </Source>
                <Position>
                    <Right>0</Right>
                    <Bottom>15</Bottom>
                    <Top>15</Top>
                    <Width>15</Width>
                    <Height Unit="percent">100</Height>
                </Position>
            </Image>
            <Image Integration="add">
                <Source>
                    <File>images\Window Design\BR.png</File>
                </Source>
                <Position>
                    <Right>0</Right>
                    <Bottom>0</Bottom>
                    <Width>15</Width>
                    <Height>15</Height>
                </Position>
            </Image>
            <Image Integration="add">
                <Source>
                    <File>images\Window Design\B.png</File>
                </Source>
                <Position>
                    <Left>15</Left>
                    <Right>15</Right>
                    <Bottom>0</Bottom>
                    <Width Unit="percent">100</Width>
                    <Height>15</Height>
                </Position>
            </Image>
          </ContactList>




.jpg File Attachment: demo.jpg (51.03 KB)
This file has been downloaded 266 time(s).

This post was edited on 06-18-2008 at 12:30 PM by aNILEator.
06-18-2008 11:43 AM
Profile PM Web Find Quote Report
aNILEator
Skinning Contest Winner
*****

Avatar
...in the wake of the aNILEator

Posts: 3718
Reputation: 90
35 / Male / Flag
Joined: Oct 2003
Status: Away
O.P. RE: Adding UMargins to Shaped Skin Masks
This image (due to some aero/messenger error) shows more clearly what pieces are missing....

[Image: attachment.php?pid=913936]

EDIT: I've fixed the top left corner now, had that at 50% width and height still, but the others remain unfixed.


I guess the main problem is that we can't "center" the mask pieces and I'm trying to tell it to align to both the left with a 15pxl padding and the right with a 15 pxl padding

and it only want to align/pad one side.


ALRIGHT!

Managed to do what I was after using Subtract instead of add.

UMargins, would still be REALLY nice though (a)

.jpg File Attachment: demo2.jpg (26.4 KB)
This file has been downloaded 243 time(s).

This post was edited on 06-18-2008 at 01:20 PM by aNILEator.
06-18-2008 12:26 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On