- Joined
- Nov 20, 2007
- Messages
- 11,964
- Reaction score
- 765
- Points
- 188
Made a test map to get an understanding of panel bitmaps versus the panel action area.
This is the 2048x1024 bitmap(in .jpg for space)
http://i89.photobucket.com/albums/k207/Notebook_04/Test_1_.jpg
This is a screenshot from Orbiter:
http://i89.photobucket.com/albums/k207/Notebook_04/11051610-09-16Westcott_P2.jpg
Changed the static DWORD panelH = 400; to = 800; for a full height panel, and removed the scrolling option from
I was expecting the screenshot to be from 0,0 to 1280,800. However it goes from 0,253 to 1280,1024. So a vertical offset of 253 and a panel height of 771 pixels not 800? Are the 29 pixels part of Orbiter's title bar?
All input appreciated.
N.
This is the 2048x1024 bitmap(in .jpg for space)
http://i89.photobucket.com/albums/k207/Notebook_04/Test_1_.jpg
This is a screenshot from Orbiter:
http://i89.photobucket.com/albums/k207/Notebook_04/11051610-09-16Westcott_P2.jpg
Changed the static DWORD panelH = 400; to = 800; for a full height panel, and removed the scrolling option from
SetPanelBackground (hPanel, &panel2dtex, 1, hPanelMesh, panelW, panelH, 0,
PANEL_ATTACH_BOTTOM );
I was expecting the screenshot to be from 0,0 to 1280,800. However it goes from 0,253 to 1280,1024. So a vertical offset of 253 and a panel height of 771 pixels not 800? Are the 29 pixels part of Orbiter's title bar?
All input appreciated.
N.