[Scummvm-devel] Sam'n'Max help (litterally)
Lars Persson
larspp at hotmail.com
Tue Feb 24 00:14:17 CET 2009
Hi!
I have checked this now and it seems like the list was not really fitting inside of the 320x200 area (for those games runinning in that resolution) It looks nice in a 320x240 resolution. So I scaled down the list size to 140 pixels instead of 170, and that fits, but sadly the upto 15 help items does not quite fit.
Fontheight is 10, so then 150 should be enough, but that will not be enough either. In a List I guess each item is around 12-14 (line height is 12) which should end up at around 180 pixels (which is 10 pixels more than the previously allocated 170).
So what should the general advice be? An overflowing help dialog in 320x200 resolutions does n't look very good. Given the 140 pixels available (or around so), each textline in the list should max be 9 pixels high. Is this possible with the current theme setup? I guess I can always test it.
Best regards
Lars
From: larspp at hotmail.com
CC: scummvm-devel at lists.sourceforge.net
Date: Mon, 23 Feb 2009 11:14:20 +0000
Subject: Re: [Scummvm-devel] Sam'n'Max help (litterally)
Hi!
I think parts of the keymapper code is used in the WinCE and Symbian ports or?
I have had fixed a couple of issues with the keymapping dialogs for lowres configs in options and config dialogs. Probably only a slight change in the UI layout code for this to work. The current layout probably makes a little bit to wide layout and is causing the crash.
Is this a serious issue for 0.13.0 ? I guess I think I could fix that layout crash at least for the trunk, since it is also crashing on Symbian.
Cheers
Lars
> Date: Mon, 23 Feb 2009 08:57:48 +0100
> From: a.heider at gmail.com
> To: max at quendi.de
> CC: sunmax at libero.it; scummvm-devel at lists.sourceforge.net
> Subject: Re: [Scummvm-devel] Sam'n'Max help (litterally)
>
> Max Horn wrote:
> >
> > Am 22.02.2009 um 04:02 schrieb Andre Heider:
> >
> >> Max Horn wrote:
> >>>
> > [...]
> >>>
> >>> I can confirm this bug in 320x200 mode (i.e. with 1x scaler and aspect
> >>> ratio correction turned off), in all SCUMM games. I guess nobody
> >>> tested that dialog in this resolution.
> >>
> >> On a related note, I get this every time i hit F8 (keymapper) on my port:
> >>
> >> assertion "idx >= 0 && (uint)idx < _size" failed: file
> >> "../../../common/array.h"
> >> , line 94, function: const T& Common::Array<T>::operator[](int) const
> >> [with T =
> >> Common::Keymapper::MapRecord]
> >> Abort called.
> >
> > You mean you get a crash in the incomplete, unsupported Keymapper code
> > on which nobody works and which we probably have to remove again in a
> > year after it rotted to complete oblivion and replace it with something
> > written from scratch? :-)
> >
> > Wow, you mean you can compile it? :-)
>
> Hah, thanks, no further questions!
>
> >
> > Bye,
> > Max
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel
check out the rest of the Windows Live™. More than mail–Windows Live™ goes way beyond your inbox. More than messages
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20090223/e026279e/attachment.html>
More information about the Scummvm-devel
mailing list