Moonshell Skinning Window Positions

Discussion in 'GBA - Game Development, ROM Hacks and Translations' started by OSW, Jan 26, 2007.

Jan 26, 2007
  1. OSW
    OP

    Former Staff OSW Wii King

    Joined:
    Oct 30, 2006
    Messages:
    4,796
    Country:
    Australia
    During my experimentation with moonshell skinning, i wanted to change the window positions in moonshell and came across this in the skin ini:

    "; This will change the default positions for the windows in MoonShell.

    [OverrideWindow(selectedwindowhere)]
    x=-1
    y=-1
    w=-1
    h=-1
    DisabledCloseButton=0"

    Now i don't have much clue as to how each of these adjustments will affect the positions and what the last option does,

    So i'm hoping that someone may be able to enlighten me in this regard.

    thanks alot for any help [​IMG]
     
  2. MaHe

    Member MaHe one lazy schmo

    Joined:
    Aug 4, 2006
    Messages:
    1,101
    Location:
    Maribor
    Country:
    Slovenia
    Correct me if I'm wrong, but:
    DS' screen has the resolution of 256x192 pixels. Each pixel's position is 'marked' by X (horizontal) and Y (vertical) value. For instance, if you set x=10 and y=30, the window will appear 10 pixels away from the right side of the screen and 30 pixels away from the top side of the screen.
    W and H stand for width and height in pixels.
    If you set DisabledCloseButton to 1, the user won't be able to close that very window.

    Hope you understand my Engrish ... [​IMG]
     
  3. OSW
    OP

    Former Staff OSW Wii King

    Joined:
    Oct 30, 2006
    Messages:
    4,796
    Country:
    Australia
    Ah , thanks man, i should have figured that out myself.

    EDIT: DOH! this should have been in the NDS forum lol
     
  4. Klavier Gavin

    Newcomer Klavier Gavin Member

    Joined:
    Mar 6, 2008
    Messages:
    31
    Location:
    Looking in ur window
    Country:
    Netherlands
    i like that i hope it works in a prog too [​IMG] [​IMG]
     

Share This Page