summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-03-09Fixes the issue with nested comments in Agg2DDemo.dprGraeme Geldenhuys
Causing syntax highlighting to be screwed.
2012-03-09Adds a comment about internal data structure of TfpgImage data.Graeme Geldenhuys
2012-03-09aggpas: fixes EOL style and file permissions.Graeme Geldenhuys
2012-03-09Removes unused / commented code from fpg_stringutils.pas unit.Graeme Geldenhuys
2012-03-09Adds a new property ScanLine[] to TfpgImage.Graeme Geldenhuys
2012-03-07agg: changes for 64-bit compatibilityGraeme Geldenhuys
The original code used a hard-coded value of 4, for the pointer size.
2012-03-07agg-demos: fixes the unit comment about the required compiler unit Path value.Graeme Geldenhuys
2012-03-07agg: fix a grammar error in the application output.Graeme Geldenhuys
2012-03-07agg: more compiler unit path changes.Graeme Geldenhuys
2012-03-07agg: fix find_compiler_xxx projects to use corrected path and compiler settings.Graeme Geldenhuys
This was needed due to my different directory layout compared to standard AggPas.
2012-03-07agg-linux: reduce dependency on libc unit.Graeme Geldenhuys
libc unit is really a Kylix dependency unit, and i386 only.
2012-03-07Fixes compiler error due to change in xlib binary type definition.Graeme Geldenhuys
This was a change introduced in FPC > v2.2.0
2012-03-07Improved compiler defines - mostly for later use.Graeme Geldenhuys
2012-03-07initial import of AggPas 2.4 RM3Graeme Geldenhuys
The AggPas demos will not compile at this time, because I have restructured the directories a bit. I wanted a pristine checkin though. The demos will be fixed in the next few commits.
2012-02-29x11: changed the bit order.Graeme Geldenhuys
It seems, after reading a lot of documentation, that I got the setting wrong. Lets see what happens.
2012-02-29changed alias class definitions to class descendants.Graeme Geldenhuys
FPC doesn't have a problem with the original code, but other tools like fpdoc does. So to make everybody's life easier, I am making this change. The benefit now is that fpdoc will be able to generate a nice class hierarchy of fpGUI classes - without problems.
2012-02-21fpg_edit: again found some TAB character indentation lines - replaces with ↵Graeme Geldenhuys
Space indentation.
2012-02-21fpg_edit: for text color adjust to work, repainting must occur a bit later.Graeme Geldenhuys
DoOnChange must now occur before any call to RePaint. This gives us time to adjust the text color for possitive or negative values.
2012-02-21fpg_edit: adjust text color only when the edit box value has changed.Graeme Geldenhuys
2012-02-21merge with previous commit.Graeme Geldenhuys
2012-02-21fpg_edit: setting the text color via the field variable instead.Graeme Geldenhuys
If setting the text color via the TextColor property, then FOldColor get overwritten and we loose the real old color.
2012-02-21fpg_edit: use the existing DoOnChange method instead. Consistency is key. :)Graeme Geldenhuys
2012-02-21fpg_edit: setting NegativeColor property at runtime never caused an repaint.Graeme Geldenhuys
2012-02-21fpg_edit: Setting TextColor in numeric edit components never updated ↵Graeme Geldenhuys
OldColor value.
2012-02-21fpg_edit: refactored out the TextColor change due to negative/positive values.Graeme Geldenhuys
This allows use to reuse this bit of code without affecting the internal FText values - as is caused by SetShowThousand in FormatEdit().
2012-02-21minor code formatting in fpg_edit unit.Graeme Geldenhuys
There was tab character indentation for some reason. I converted these to Space character indentation.
2012-02-21Adds PNG loading support.Graeme Geldenhuys
The unit uses the fcl-image backend to load the image. This is slightly slower than the native implementations for BMP and JPG. But at least now we have PNG support too.
2012-02-21New method GetNodeAt() for TfpgTreeView.Graeme Geldenhuys
This is vital for drag-n-drop support inside a treeview component.
2012-02-21Use unicode enabled types for the BMP loading code.Graeme Geldenhuys
2012-01-18A reworked patch from Jean-MarcGraeme Geldenhuys
* moved the modifications from TfpgAbstractPanel to TfpgFrame. The new additional behaviour only relates to Frame usage, not Panel or Bevel. * Added a new OnCreate() event for convenience. * Now calling AfterCreate at the correct time - just like what is done in TfpgForm.
2011-12-08Introduced a BaseGauge class which TfpgGauge descends from.Graeme Geldenhuys
- Also made the various xxxDraw methods virtual and moved them to the protected section. So they can be overridden in descendants if needed. - Fixed the default color value of the Color property. The value stored in RTTI was different to the actual value assigned in the constructor.
2011-12-08New functions to return darker or lighter variations of a color.Graeme Geldenhuys
2011-12-08embedded TAB characters replaced with Space character indentation.Graeme Geldenhuys
2011-12-06Hide the hint window when the mouse button is pressed.Graeme Geldenhuys
2011-12-05Bump visibility of BorderStyle property in StringGrid and FileGrid widgetsGraeme Geldenhuys
2011-12-05Implements BorderStyle property for basegrid widget.Graeme Geldenhuys
2011-12-05Remove redundant painting code in basegrid.Graeme Geldenhuys
The HandlePaint() method is already wrapping with BeginDraw/EndDraw calls in the TfpgWidget class.
2011-12-02version bump to 0.8Graeme Geldenhuys
2011-12-01treeview: Adds BeginUpdate / EndUpdate support.Graeme Geldenhuys
This drastically improves performance, if you have some code that iterates and updates all nodes.
2011-11-29Implements BorderStyle for TfpgMemo.Graeme Geldenhuys
2011-11-29move declaration of TfpgEditBorderStyle so it is more accessible.Graeme Geldenhuys
This now makes it easier to reuse this border style declaration in other widgets. We need to refactor some other widgets too, that have there own border styles as well.
2011-11-21Fixed the parameter modifier of TfpgStyleManager.AssignStyleTypes()Graeme Geldenhuys
We can now pass in the Lines property of a Memo or Combobox directly, without the need of an extra local TStrings variable.
2011-11-21TfpgWindowBase now introduces a BringToFront() method.Graeme Geldenhuys
2011-11-18First draft of MDI support.Graeme Geldenhuys
This work equates to about 3 hours of coding. Not bad I think! ;-) The general idea is to have to new classes. The MDIWorkArea class is the parent widget form MDI child forms. We then also have a MDIChildWindow class which implements the outer child window - thus the one with the titlebar and blue borders. The end use creates a form based on TfpgFrame, not TfpgWindow. This design might change later. The users form is then embedded inside the MDIChildWindow, and displayed inside the bounds of the MDIWorkArea.
2011-11-07fixes a spelling mistake in a code commentGraeme Geldenhuys
2011-11-07Timer related functions now check to see if global fpgTimers exists or not.Graeme Geldenhuys
2011-11-07new overloaded DumpStack() can now output to a TStringListGraeme Geldenhuys
It wasn't always desireable for DumpStack to output to the console, because it doesn't always exist, and the user will normally not see it if app is launched from a icon. We can now output that info to a stringlist, and display it to the end-user in whatever way we want.
2011-10-31report tool: move some images into standard images listJean-Marc Levecque
2011-10-27tree: improved the spacing / positioning of the node text inside the focus ↵Graeme Geldenhuys
selection The text was right on the left edge of the focus selection rectangle. Now it is evenly spaced with 2px margin on each side.
2011-10-27tree: Added a note about the limitation of Node.HasChildren call.Graeme Geldenhuys
For now, please use Node.Count instead.