What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! General » [Sug] Window dimention ratios

Pages: (2): « First « 1 [ 2 ] Last »
[Sug] Window dimention ratios
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: [Sug] Window dimention ratios
That woudl be off-topic, unless you think hard:

code:
<Size>
    <Width>
        <Minimum>X</Minimum>  <!-- You can only resize between X and Y -->
        <Maximum>Y</Maximum>
    </Width>
    <Height><Fixed>1.333*Width</Fixed></Height> <!-- 1024/960=1.333 -->
</Size>

EDIT:: <WidthHeightRatio> could also be:

code:
<[Window]>
  <Size>
    <Width>
      <RelatedToHeight>
        <Ratio>4:3</Ratio> <!-- 4/3=1.333 -->
      </RelatedToHeight>
    </Width>
    <Height>
      <Minimum>X</Minimum>
      <Maximum>Y</Maximum>  <!-- Where X/Y=1.333 -->
    </Height>
  </Size>
</[Window]>


This post was edited on 03-25-2008 at 05:02 PM by SmokingCookie.
03-25-2008 04:58 PM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: [Sug] Window dimention ratios
quote:
Originally posted by aNILEator
Think of it like this RP;

Imagine a shaped skin, shaped like a pair of boobs in a bra

\(_)(_)/

now lets say that that as a square |_____| is 16:9
you want to be able to make those boobs bigger without making them into ovals by squashing them sideways.

So defining the resize aspect ratio would enable you to enlarge the window whilst still keeping graphics, shapes and borders in the right shape, size and aspect ratio
I understand the concept :P
My concern is that it's extremely rare to find windows that behave like this. To me, it's highly non-standard behaviour, and could confuse some users.
[Image: spartaafk.png]
03-26-2008 11:42 PM
Profile PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [Sug] Window dimention ratios
quote:
Originally posted by RaceProUK
If implemented, it should be done in the more usual '4:3' style.

Anyway, I think it's a bad idea, as people expect to size a window however they want, or not size it at all.
I've worked with many programs which do the exact same thing, locking aspect ratio of the window, for the very same reasons... It's not that unusual, especially in graphical or media oriented programs.

quote:
Originally posted by aNILEator
I understand his point, and for some skins, especially shaped skins this would really make a difference, but it is incredible advanced/difficult to achieve correctly
It's actually as easy as limiting the size...

Limiting the size is simply done by checking the window size before Windows actually paints the window. And in case it is bigger than allowed, simply ignore the resize request/Windows message.

Having the aspect ratio locked is equally simply and done in the very same way: when the width changes, also change the height accordingly. And vice versa.

I think it would make a nice addition. Dunno how much it would be used though...

All this of course if Plus! has a way to intercept the sizing of WLM windows. But if it can, you could anything you want with the sizing in the same manner.

This post was edited on 03-28-2008 at 04:37 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-27-2008 04:17 AM
Profile PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: [Sug] Window dimention ratios
quote:
Originally posted by CookieRevised
I think it would make a nice addition. Dunno how much it would be used though...

who cares? the few skins that do require it would probably be so intricate that it would be well worth the implementation :p (looking at volv)
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
03-27-2008 05:29 AM
Profile PM Web Find Quote Report
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: RE: [Sug] Window dimention ratios
quote:
Originally posted by CookieRevised
quote:
Originally posted by RaceProUK
If implemented, it should be done in the more usual '4:3' style.

Anyway, I think it's a bad idea, as people expect to size a window however they want, or not size it at all.
I've worked with many programs which do the exact same thing, locking aspect ratio of the window, for the very same reasons... It's not that unusual, especially in graphical or media oriented programs.

quote:
Originally posted by aNILEator
I understand his point, and for some skins, especially shaped skins this would really make a difference, but it is incredible advanced/difficult to achieve correctly
It's actually as easy as limiting the size...

Limiting the size is simply done by checking the window size before Windows actually paints the window. And in case it is bigger than allowed, simply ignore the resize request/Windows message.

Having the aspect ratio locked is equally simply and done in the very same way: when the width changes, also change the height accordingly. And vice versa.

I think it would make a nice addition. Dunno how much it would be used though...

It's actually limiting the size to a certain range, along a certain line across the user's screen.

And I am requesting this feature in order to use it in my skin :P
03-27-2008 05:09 PM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: [Sug] Window dimention ratios
A locked aspect ratio can still mean different sizes, it just means the aspect ratio will be the same at all times. And even then, again the principle is just the same as with size restriction, no matter if you mix an aspect ration with min and max sizes for both height and with or just only for height or width, it is all the same thing.
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-27-2008 07:33 PM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: [Sug] Window dimention ratios
quote:
Originally posted by CookieRevised
quote:
Originally posted by RaceProUK
If implemented, it should be done in the more usual '4:3' style.

Anyway, I think it's a bad idea, as people expect to size a window however they want, or not size it at all.
I've worked with many programs which do the exact same thing, locking aspect ratio of the window, for the very same reasons... It's not that unusual, especially in graphical or media oriented programs.
I haven't come across any of those, but then I don't use a lot of graphics/media apps.
[Image: spartaafk.png]
03-28-2008 01:54 PM
Profile PM Web Find Quote Report
Menthix
forum admin
*******

Avatar

Posts: 5537
Reputation: 102
40 / Male / Flag
Joined: Mar 2002
RE: [Sug] Window dimention ratios
I'm not a big fan of restriction what a user does with the window in any way, but if you are going to use restrictions a locked ratio definitely sounds better than locking the window on a static size.

Not sure if it's technically do-able, but a good suggestion.
Finish the problem
Menthix.net | Contact Me
03-28-2008 02:41 PM
Profile E-Mail PM Web Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« 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