To: "Haiku Interface Kit" <interfacekit@xxxxxxxxxxxxx>
Date: Wed, 25 Oct 2006 14:47:43 +0200 (MEST)
Hi there,
I've extended the input method mechanism a bit to allow for input
methods that don't cause a bottom-line window in case the current
target view isn't input method aware.
This works as following:
1) you add a boolean "be:inline_only"=true to all
B_INPUT_METHOD_EVENTs
2) in the final B_INPUT_METHOD_CHANGED event (the one that confirms
the
"transaction"), you add a message in "be:translated". This message
will only be
used in case the current view does not understand input methods.
IOW it will
usually contain a B_KEY_DOWN message.
The input_server will then make sure that the target view gets what it
deserves :-)
I've implemented a visual feedback for dead keys this way. If you see
problems in this approach, or have a better idea, please notify me!
In any way, it shouldn't change previous behaviour for views that don't
support input methods.
Bye,
Axel.