Centering on screen - Possible?

Subforum for discussion and help with ScummVM's PocketPC/HandheldPC port

Moderator: ScummVM Team

Post Reply
StarFish
Posts: 10
Joined: Sat Aug 19, 2006 4:46 pm
Location: Austria
Contact:

Centering on screen - Possible?

Post by StarFish » Sat Aug 19, 2006 4:51 pm

Hello,

I'm using PocketSCUMM on a hires WinCE4 device (800x480px).
Since the ScummVM maximum is (2x) 640x480 it's filling the whole height, but is aligned left on the screen - so there's a black gap of 160 px width and 480 px height on the right side of teh screen.

Is it possible to center the whole 640x480 area ScumMVM uses in the middle of the screen?

Thanks & best regards,
Andreas

User avatar
knakos
ScummVM Porter
Posts: 424
Joined: Wed Nov 02, 2005 2:35 pm
Location: Athens, Greece

Post by knakos » Sat Aug 19, 2006 6:00 pm

I can't think of a way right now to quickly and easily do that in the code, but the request is noted.

StarFish
Posts: 10
Joined: Sat Aug 19, 2006 4:46 pm
Location: Austria
Contact:

Post by StarFish » Sat Aug 19, 2006 6:10 pm

knakos wrote:I can't think of a way right now to quickly and easily do that in the code, but the request is noted.
Cool!
Thank you - as far as I know only the offset has to be put to ScreenWidth/2 - Resolution/2...

Best regards, Andreas

User avatar
knakos
ScummVM Porter
Posts: 424
Joined: Wed Nov 02, 2005 2:35 pm
Location: Athens, Greece

Post by knakos » Sun Aug 20, 2006 5:11 am

... easier said than done :P

StarFish
Posts: 10
Joined: Sat Aug 19, 2006 4:46 pm
Location: Austria
Contact:

Post by StarFish » Fri Dec 01, 2006 11:19 pm

Any updates in this issue so far?
Best regards, Andreas

Post Reply