So Im confused here with manipulating the main window in
which you play your mud in.
Ok from my understanding this should be the size of the grey area that your Game Window Sits on
and this should also be the grey area that your game sits on.
But I get two different numbers
What I want to do is I want to cut the main window in half, and move it to the bottom middle. So I can place another window above it. But I dont even know what numbers are the right numbers to be capturing.
As far as the game window we have all of these positions we can call down, and im not exactly sure what each one really represents. So I was hoping someone could clarify what each one represents. Im wanting to make sure the windows looks right regardless of the resolution you run.
which you play your mud in.
Ok from my understanding this should be the size of the grey area that your Game Window Sits on
table.foreach (GetMainWindowPosition (), print)
and this should also be the grey area that your game sits on.
print (GetInfo(261), "World Window non-Client Height")
print (GetInfo(262), "World Window non-Client Width")
But I get two different numbers
-- table.foreach (GetMainWindowPosition (), print)
Main Window
top 132
height 525
left 132
width 1025
-- print (GetInfo(261), "World Window non-Client Height")
-- print (GetInfo(262), "World Window non-Client Width")
581 Client Height
1370 Client Width
What I want to do is I want to cut the main window in half, and move it to the bottom middle. So I can place another window above it. But I dont even know what numbers are the right numbers to be capturing.
As far as the game window we have all of these positions we can call down, and im not exactly sure what each one really represents. So I was hoping someone could clarify what each one represents. Im wanting to make sure the windows looks right regardless of the resolution you run.
-- print (GetInfo(235), "Window Number")
-- print (GetInfo(261), "World Window non Client Height")
-- print (GetInfo(262), "World Window non Client Width")
-- print (GetInfo(263), "World Window Client Height")
-- print (GetInfo(264), "World Window Client Width")
-- print (GetInfo(250), "Main frame window width")
-- print (GetInfo(249), "Main frame window height")
-- print (GetInfo(280),"Output Window Client Height")
-- print (GetInfo(281),"Output Window Client Width")
-- table.foreach (GetWorldWindowPosition(), print)
-- table.foreach (GetMainWindowPosition(), print)