Moonshell Skinning Window Positions

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

  1. OSW
    OP

    OSW Wii King

    Former Staff
    4,796
    6
    Oct 30, 2006
    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

    MaHe one lazy schmo

    Member
    1,101
    0
    Aug 4, 2006
    Slovenia
    Maribor
    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

    OSW Wii King

    Former Staff
    4,796
    6
    Oct 30, 2006
    Ah , thanks man, i should have figured that out myself.

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

    Klavier Gavin Member

    Newcomer
    31
    0
    Mar 6, 2008
    Netherlands
    Looking in ur window
    i like that i hope it works in a prog too [​IMG] [​IMG]