[Scummvm-devel] setFocusRectangle() and 192x128...

Max Horn max at quendi.de
Sat Dec 8 11:23:17 CET 2007


Am 08.12.2007 um 09:56 schrieb Gregory Montoir:

> Max Horn wrote:
>> Am 07.12.2007 um 22:06 schrieb Gregory Montoir:
>>
>> [...]
>>
>>> or is it
>>> really safe to pass any rectangle dimension ?
>>
>> Do it. That's how it is documented. If backends don't implement this
>> spec correctly, they are buggy and need to be fixed.
>
> Ok. But still, it could be interesting for engines to know the maximum
> width and height for the focusable rect.
>
> For example, in queen, a "spoken" line of text has a maximum fixed  
> width
> of 20 characters (which looks ok for a 320 pixels width screen). If  
> the
> focusable rect dimensions were known, each line of text could then be
> clipped using it instead of using the game screen width.

I see your point. This could indeed be done, and might be very  
helpful for devices with a small screen. But it would be a new  
separate feature. Nothing we should do just before a release, I'd say  
(or if we do it, shouldn't do it on the release branch).

Bye,
Max




More information about the Scummvm-devel mailing list