Age | Commit message (Collapse) | Author |
|
|
|
|
|
Also shows that ?x1 (horizontal line) or 1x? (vertical line)
rectangles work.
|
|
Also refactored the code to fit the normal GUI design standards.
eg: using Create() and Destroy() etc..
|
|
The coordinates of DrawString is the top/left corner of the string.
So the actual text appears below y.
|
|
* Updated all packages like ide addons, fpcunit etc to use the new unit names.
|
|
* 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.
|
|
* 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.
|
|
comments.
|
|
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.
|
|
* 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.
|
|
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.
|
|
* Made some improvements to the TfpgBaseGrid painting. Still have lots
outstanding though.
|
|
* 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).
|
|
* 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.
|
|
|
|
|
|
* Moved all the examples over from the prototype directory.
* Removed obsolete GFX examples.
|