Thread
:
SDL on N900 / Maemo
View Single Post
javispedro
2011-07-08 , 17:13
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#
19
Can you elaborate on what you want to do?
- If you want to show the "window has menu" icon on the titlebar, that is mostly easy to do. But what are you going to do when the user clicks on it? Render an in-game menu? -- that would be easy. Open a new popup window? hard -- SDL 1.2 does not support multiple windows.
- You don't like top-right, ok. So do you want the image centered? Scaled?
Either way, I suggest you avoid windowed mode like the plague (so also, you should not do the menu thing). There's a large performance hit so anything other than simple 2D apps get slow.
I also suggest you do not create a surface that is smaller than the screen, because that is not portable -- maemo adds black borders, but webos rescales.
Last edited by javispedro; 2011-07-08 at
17:29
.
Quote & Reply
|
The Following User Says Thank You to javispedro For This Useful Post:
dwaradzyn
javispedro
View Public Profile
Send a private message to javispedro
Visit javispedro's homepage!
Find all posts by javispedro