From: Dave F. <dav...@co...> - 2004-04-10 08:47:48
|
Well, in keeping in the spirit of calling for major upgrades to fix minor problems... Why don't all you Swedes just speak English instead? ;) Jokes aside, wxGTK has had experimental GTK2 support for awhile, even in the 2.4 branch. Are you using your own built wxGTK or RedHat's provided package? The Mandrake package is compiled with GTK2 support, and I've loaded Audacity up with other languages and slobbered over the beautiful fonts. Makes me wish I knew Russian or something, you know? Such pretty letters.... And then I couldn't quit the application because I don't know "Close" in Russian. ;) (You *might* be able to install Mandrake's RPM on your RedHat system. I've had it work successfully using RedHat packages on Mandrake, so if you don't mind accidentally trashing your RPM database you could give it a shot) Anyway, you just: ./configure --enable-gtk2 I believe. ./configure --help will show the option somewhere in there. So if you're using your own built wxGTK, I'd try recompiling it with GTK2 support first and playing with localizing Jazz as it is. That said, we will eventually need to support wxGTK2.6. But consider that to get the best localization of Jazz we either have to tell users to compile wxGTK2.5 (experimental at best), or to compile wxGTK2.4 rather than use their distro-provided package that's probably compiled against GTK1.2. Dave On Saturday 10 April 2004 01:29 am, joakim verona wrote: > Yes, I was originally going to code it that way, I guess I should. > > (just a small note, when I first made the port this method wasnt > possible because > the OnPaint message didnt work, you could only derive the OnDraw method. > I changed the drawing to be based on the OnPaint message now, and it > seems to work) > > But there is another wx2.5 benefit. > > There is a gtk2 port for wx 2.5. This means > proper unicode support is possible. > > Gtk1.2 apps don't work very well with Swedish characters, which is my > native language. > The GTK1.2 apps in rh9 look very unimpressive in non english utf-8 locales, > for instance Audacity. > > So I'm going to give it a try to get it compiling in 2.5 without > breaking it in 2.4. > > We can use the wx version variable from configure to ifdef versions of > code. > > Cheers, > /Joakim > > Patrick Earl wrote: > >On Thursday 08 April 2004 18:19, joakim verona wrote: > >>I was wondering if anybody else was trying to compile jazz with wx > >>2.5.1. > >> > >>Im trying because I wanted to try to get rid of the anoying > >>redraw-flicker you get when scrolling a pianowin or trackwin. > >> > >>In wx 2.5, there is a wxBufferedPaintDC that is supposed to fix the > >>redraw flicker. > > > >I think it would solve the problem if we just draw to a memoryDC > >first, and then blit to the window when the paint event is requested. > >I believe the Buffered classes in 2.5 just make is slightly simpler > >to draw, but coding up one of those classes would be pretty easy as > >far as I can see. You'd create a class that makes a wxMemoryDC in a > >constructor and writes to that. Later, the destructor would blit the > >resulting bitmap to a wxClientDC. > > > > Patrick > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel -- Visit my website! http://www.davefancella.com/?event=em There are many intelligent species in the universe, and they all own cats. |