[Scummvm-devel] Overlay handling (Was: Virtual keyboard code from GSoC 2008)
Johannes Schickel
lordhoto at gmail.com
Thu Jan 22 11:31:12 CET 2009
Max Horn schrieb:
>> Also it
>> might ugly to have the event code in DefaultEventManager and all the
>> drawing must be done by the backend (it gives questions like "how does
>> the backend know the position changed?" etc.).
>>
>
> Indeed. If we move the vkeybd compositing code to the backend, then we
> should also move the vkeybd handlin code to the backend. Or rather: We
> should move the code which *invokes* the rendering & handling code
> there. I.e., change the vkeybd code to provide simple APIs that can be
> used to quickly vkeybd-enable a backend. From a porters point of view,
> it could work like this:
>
> [...]
>
Yeah same thoughts over here :-).
>> I'm currently unsure on how we should really proceed, but IMHO the
>> current overlay sharing approach is definitely not the best way to
>> go :-/.
>>
>
> Agreed. A lot about the vkeybd and keymapper code strikes me as "not
> the best way to go" ;-).
>
Hehe yeah, but it's at least nice that we have now such a virtual
keyboard :-).
// Johannes
More information about the Scummvm-devel
mailing list