summaryrefslogtreecommitdiff
path: root/examples/corelib
AgeCommit message (Collapse)Author
2013-06-18Updates extrafpc.cfg files so no console window is shown for Windows ↵Graeme Geldenhuys
compiled apps.
2013-05-20demo: API change, ask fpgStyle to draw a widget primitive instead on CanvasGraeme Geldenhuys
2013-05-16agg2d: Adds implementation for DoFillTriangle()Graeme Geldenhuys
Also updated aggcanvas demo to show Canvas.FillTriangle() working.
2013-04-04Agg Canvas demoGraeme Geldenhuys
This is the demo used when I created the AggCanvas screenshot on the website.
2010-05-12Project file updates due to new Lazarus IDE version.Graeme Geldenhuys
2010-04-30Updated Canvas Test demo screenshots to show results.Graeme Geldenhuys
* Linux and Windows screenshots should be the same (to the pixel) except for Fonts.
2010-04-30Updated Canvas Test demo to show that TfpgImage.ImageFromRect() does work.Graeme Geldenhuys
2010-04-30Extended Canvas Test demo to show that 1x1 rectangles now work.Graeme Geldenhuys
Also shows that ?x1 (horizontal line) or 1x? (vertical line) rectangles work.
2010-04-30Canvas Test demo: now the form is managed by the UI Designer.Graeme Geldenhuys
Also refactored the code to fit the normal GUI design standards. eg: using Create() and Destroy() etc..
2010-03-18helloworld: Fixed memory leaks and new painting methodGraeme Geldenhuys
* This demo actually had 3 memory leaks which are now fixed. * I introduced new painting routines using GradientFill instead [now this works correctly on WinCE devices too] * Added an option for exiting the application cleanly.
2010-02-26Update copyright notice in all units.Graeme Geldenhuys
2009-11-26Add copies of the gui/compileall.sh script to the "apps" and "corelib" ↵Graeme Geldenhuys
directories.
2009-10-09Canvas.DrawString() help.Graeme Geldenhuys
The coordinates of DrawString is the top/left corner of the string. So the actual text appears below y.
2009-08-27Fix default size of tiShowString() form.Graeme Geldenhuys
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
2009-04-05* Added missing unit output directories.Graeme Geldenhuys
2008-11-14* updated all extrafpc.cfg files to use the correct lib output directory.graemeg
2008-10-01* Updated all demos to use the new unit names.graemeg
* Updated all packages like ide addons, fpcunit etc to use the new unit names.
2008-07-07* Published more events and properties for EditInteger and EditFload components.graemeg
* Now the Min/Max Size is actually applied, the Message Dialogs needed minor attention. * Updated all the example projects to use the newer all-in-one fpgui_toolkit lazarus package. * Did some minor bug fixing in some of the examples. 1-based indexing instead of 0-based indexing etc.
2008-06-19* Updated the Bevel example so it compiles again. * Updated the EventTest ↵graemeg
example.
2008-04-27* Fixed the issue with screen flicker in the TfpgForm.OnPaint event handler.graemeg
* Fixed the issue where you still had to call Canvas.BeginDraw and Canvas.EndDraw inside HandlePaint. * Fixed the issue where custom painting in the OnPaint event handler of a Form did not show until the form was resized or revealed.
2008-02-09* fixed or updated some example projects to work with latest changes.graemeg
2008-01-28* Removed the unused debug code in ComboBox and ListBox units.graemeg
2007-10-18* Win32: Implemented MinWidth and MinHeight constraint support for Forms. ↵graemeg
Not sure if we need it for any Widgets or just Forms.
2007-10-17CoreLib: Fixed Canvas.StretchDraw(). I forgot to undo previous debug testing ↵graemeg
comments.
2007-09-13* CoreLib: fpgApplication now has a Terminated property which terminates thegraemeg
main event loop and application. Halt was just to harsh and objects never got freed. * GUI: Added a new INI Utils unit which introduces ReadOnly ini support and can also save a form's state and position. You access the ini file via the gINI singleton function. fpGUI Designer uses this. * All example project now free there main forms correctly. * Many bug fixes in GUI Designer. GUI Designer now also remembers the size and location of most forms. * Many of the GUI Designer forms are now maintained by the GUI Designer itself. * GUI Designer: Started implementing a Recent Files feature so it is quicker to open frequently used files.
2007-08-26* Renamed the fpc.cfg to extrafpc.cfg so it doesn't conflict withgraemeg
the Lazarus IDE. * Added extrafpc.cfg files in each of the examples directories. * Added a examples/readme.txt file explaining how to compile the examples from the command line.
2007-08-16* Fixed bug where GFX based applications crashed on run.graemeg
* Fixed GDI bug where mouse cursor didn't change at the edges of a window. * Fixed a minor bug in the reporting of coordinates in the eventtest example.
2007-08-16* Added images, Owner, Group and file attribute support to TfpgFileGrid.graemeg
I still need to try and get rid of the IFDEF's. * New executable image added to standard images. * IsSymLink help function added to gfx_utils unit. * Extended the FileGrid example project a bit more.
2007-08-15* Fixed bug in Horz and Vert scrollbars where they didn't followgraemeg
position while scrolling with the mouse wheel.
2007-08-10* Fixed minor compiler error and Mouser Cursor supportgraemeg
* Fixed minor compiler error and FastDoubleBuffer support * Fixed a bug in GDI DrawRectangle when LineStyle <> lsSolid * Implemented Canvas.DrawFocusRect * Implemented fpgStyle.DrawFocusRect
2007-08-08* Finally fixed all painting issues with rectangles and clipping.graemeg
* Reverted the methods back to using TfpgRect instead of TRect. TfpgRect has better support for Width and Heigh - required by many Canvas methods. * Implemented helper functions like InflateRect but support TfpgRect * Fixed all painting issues and rectangle sizes in all components. * Fixed up all examples and test projects to compile and work correctly. * Fixes some clip rectangle issues under Linux. TfpgRect was a big help. * Changed the method signatures of many Canvas methods to rather use x, y, width and height. This causes much less confusion and actually less coding in widgets.
2007-08-07* Changed the parameters of DrawRectangle, FillRectangle to rather use Width ↵graemeg
and Height. * DrawLine and DrawRectangle now use the same coordinate system as Windows does. * I need to fixed corrupted painting in widgets due to this.
2007-08-07* Fixed a minor bug where the CoreLib examples did not show the main windowgraemeg
2007-08-06* Implemented Canvas.FillGradient().graemeg
* Made some improvements to the TfpgBaseGrid painting. Still have lots outstanding though.
2007-08-02* More work has been done to the PageControl. It looks like a PageControl, ↵graemeg
but doesn't function yet. * Minor changes to TrackBar widget. * Surfaced the SetPosition method in TfpgWidget to public. * Created a new example project for the PageControl.
2007-07-27* Added the new test project I forgot earlier.graemeg
* Minor compiler fix for GDI.
2007-07-27X11 only:graemeg
* Fixed a bug in the SetLineStyle which caused inaccurate line drawing. This eluded me for ages. * Started the process of removing TfpgRect and replacing it with the standard Object Pascal TRect. * Started updating some methods to rather use two sets of coordinates instead of width and height. * Added a new test to verify drawing accuracy * Implemented more line styles under X11 * Fixed up painting issues in widgets (Scrollbar and Memo are still outstanding) * Added three new helper functions for use with TRect in fpgfx.pas (InflateRect, CentrePoint, OffsetRect).
2007-07-25* Fixed a spelling mistake which caused a compiler error under Windows.graemeg
* I can confirm that the 100% CPU load issue with Timers under Windows have been fixed in the previous revision.
2007-07-25* Implemented and added a new unit that will handle command line parameters.graemeg
* Implemented and added a new CheckBox widget. (needs testing under Windows). * Made some timer changes for Windows (needs testing). * Moved the global variable for the MainForm into the TfpgApplication class. I can almost remove the gui_form requirement from GFX.
2007-07-25* Fixed the Windows implementation of Canvas.DrawArc and Canvas.FillArc.graemeg
2007-07-25* Implemented two new canvas functions. DrawArc() and FillArc()graemeg
2007-07-23Restructure Part 5.graemeg
* Created new packages for Corelib and GUI. * Updated all examples to use the new packages. Restructure should now be complete.
2007-07-23Restructure Part 3.graemeg
* Moved all the examples over from the prototype directory. * Removed obsolete GFX examples.