[SDL] SDL 1.3 Text editing
kanzels at gmail.com
Fri Apr 16 04:48:10 PDT 2010
thank you very much for your patch I verified on 10.5 Leopard 32bit
and 10.6 Snow Leopard 64bit and patch works perfect!! Another
candidate for repository commit ;-)
Here's a screenshot:
On 16.4.2010, at 7:23, Jjgod Jiang wrote:
> Hi Pavel,
> On Fri, Apr 16, 2010 at 3:34 AM, Pavel Kanzelsberger <kanzels at gmail.com
> > wrote:
>> I was just checking some Chinese input methods and some of them
>> will pop-up some suggestion palette with glyphs you can choose from.
>> I'm using SDL_SetTextInputRect() to acknowledge the OS where my
>> edit control is placed. On Mac however this seems to not take care
>> of Window decorations so it's misplaced in final. Currently I need
>> to offset it by 1 pixel to the right and approx. 19 pixels down to
>> get in right position (not covering my edit control). Could you
>> have a look if there's really problem not taking care of Cocoa
>> window decorations?
>> I think I understand it correctly because in other programs it's
>> displayed correctly below edit control.
> You are right, that's a bug. Please try attached patch to see if it
> works for you.
> - Jiang
> SDL mailing list
> SDL at lists.libsdl.org
E-Mail: pavel at kanzelsberger.com
Jabber: kanzelsberger at jabber.org, ICQ: 20990633
More information about the SDL