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

2009-06-25 Thread kota kota
Thank you very much for the code!! I added some new features, like user-defined number of sides for the polygon and colors. http://files.getdropbox.com/u/1118452/Screenshot.png I want to ask something about the colors : Is it possible to fill an array with colors using a loop? For example I have

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

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

2009-06-23 Thread Graeme Geldenhuys
kota kota wrote: Now i need some more specific information: Is there any way to show the drawing's steps(created on a Canvas) before the final image is ready? Sorry, I do not understand? What drawings? Regards, - Graeme - fpGUI - a cross-pl

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

2009-06-23 Thread kota kota
Thank you very much. Now i need some more specific information: Is there any way to show the drawing's steps(created on a Canvas) before the final image is ready? 2009/6/23 Graeme Geldenhuys > kota kota wrote: > > I will try it. > > The fpGui's link presents a *fpGUI Visual UI Designer*. W

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

2009-06-23 Thread Graeme Geldenhuys
kota kota wrote: > I will try it. > The fpGui's link presents a *fpGUI Visual UI Designer*. Where can i find it? If you check out the source code from the git repository (recommended), then the UI Designer is in the 'uidesigner' directory, in the root of the project. Regards, - Graeme - _

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

2009-06-22 Thread kota kota
>The fpGui's link presents a *fpGUI Visual UI Designer*. Where can i find it? OK I found it. >Then you possibly want to try MSEide+MSEgui too: I already started with fpGui, but I will try it maybe later. Thanks 2009/6/22 Martin Schreiber > On Monday 22 June 2009 17:10:45 kota kota wrote:

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

2009-06-22 Thread Martin Schreiber
On Monday 22 June 2009 17:10:45 kota kota wrote: > I will try it. Then you possibly want to try MSEide+MSEgui too: http://sourceforge.net/projects/mseide-msegui/ Questions and bug reports please to NNTP: news://news.grid-sky.com/public.mseide-msegui.talk Martin _

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

2009-06-21 Thread Graeme Geldenhuys
kota kota wrote: > have made my first GTK+ program that runs fine in linux(Ubuntu 8.10) but > i encounter problems in windows XP. I can't really help with the GTK+ problem but I can make alternative recommendations. If you want to create applications that have the same look & feel and behaviour on