nanogui: two questions...


Previous by date: 10 Jun 2008 23:33:56 -0000 Re: Shaky display, Greg Haerr
Next by date: 10 Jun 2008 23:33:56 -0000 Re: Graphics Plane Support, Greg Haerr
Previous in thread: 10 Jun 2008 23:33:56 -0000 two questions..., Dmitry Baryshev
Next in thread: 10 Jun 2008 23:33:56 -0000 Re: two questions..., Greg Haerr

Subject: Re: [nanogui] two questions...
From: "Greg Haerr" ####@####.####
Date: 10 Jun 2008 23:33:56 -0000
Message-Id: <015701c8cb52$b763b1a0$6401a8c0@winXP>

: 1) How to set multiline text to 'static' component?

I assume you're talking win32 api.  This likely needs to be
added to the custom control.


: 
: 2) How to use utf8 text in all components where text is rendered
: (comboboxes, listboxes, static text etc.). My locale is ru_RU.UTF-8
: and I have some utf8 strings (in russian) read from XML file. How to
: display them properly?

This sounds like a modification we need to make.  Most, but
not all, controls, end up calling an internal MwExtTextOut
function (very similar to the ExtTextOut win32 call) that
takes an encoding as the last parameter.  This will likely
need to be modifed to use a "global locale" setting,
rather than what's currently passed.  See the
implementation in src/mwin for details.  

Let me know if you need more help.

Regards,

Greg


Previous by date: 10 Jun 2008 23:33:56 -0000 Re: Shaky display, Greg Haerr
Next by date: 10 Jun 2008 23:33:56 -0000 Re: Graphics Plane Support, Greg Haerr
Previous in thread: 10 Jun 2008 23:33:56 -0000 two questions..., Dmitry Baryshev
Next in thread: 10 Jun 2008 23:33:56 -0000 Re: two questions..., Greg Haerr


Powered by ezmlm-browse 0.20.