chess
Hola
honala13 at oo2.pl
Thu Oct 18 11:06:00 PDT 2007
> What about this:
>
> Create a frame, override the OnPaint() handler (EVT_PAINT,
> http://www.wxwidgets.org/manuals/stable/wx_wxpaintevent.html#wxpaintevent).
> You'll receive a wxPaintDC.
ok, I write this one:
http://dark-code.bulix.org/g85xr4-58309
> channel. You might want to rescale the bitmaps with wxImage::Resize()
> (http://www.wxwidgets.org/manuals/stable/wx_wximage.html#wximageresize) to
> the size you need or alternatively switch to a TTF-font with chess figures
> using wxDC::DrawText() and rely on the OS's scaling functions. Another
> solution would be a temporary wxMemoryDC and then wxDC::Blit()
> (http://www.wxwidgets.org/manuals/stable/wx_wxdc.html#wxdcblit) which
> usually is hardware-supportet and therefore pretty fast.
hm... where I have to put that?
How I can know the wxForm is resized?
what change this code?
More information about the wx-users
mailing list