Re: [fpc-pascal] gtk+ linux-windows

2009-06-24 Thread Graeme Geldenhuys
kota kota wrote: > ok here is an example, > (look the red letters) > As an alternative, I quickly converted the triangle painting into a component, which produces an OnProgress event. I then added a ProgressBar to the main form which indicates the progress of the calculation before the next paint

Re: [fpc-pascal] gtk+ linux-windows

2009-06-24 Thread Alan Krause
On Wed, Jun 24, 2009 at 7:01 AM, Graeme Geldenhuys < grae...@opensoft.homeip.net> wrote: > OK, I see what you mean... I improved the performance very slightly by > reducing the two for loops to a single one. I also updated the uses > clause to the latest revision of fpGUI Toolkit. I also removed a

Re: [fpc-pascal] gtk+ linux-windows

2009-06-24 Thread Graeme Geldenhuys
kota kota wrote: > ok here is an example, > (look the red letters) OK, I see what you mean... I improved the performance very slightly by reducing the two for loops to a single one. I also updated the uses clause to the latest revision of fpGUI Toolkit. I also removed all the unnecessary .BeginDra

Re: [fpc-pascal] gtk+ linux-windows

2009-06-24 Thread kota kota
ok here is an example, (look the red letters) /// program drawtest; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, fpgfx, gfxbase, gui_form, math,c