summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-08-16F1 is not hard-coded as the help key any more.Graeme Geldenhuys
fpgApplication.HelpKey is now actually used in fpGUI, and it will invoke the help.
2012-08-16Make sure TfpgString is based on AnsiString.Graeme Geldenhuys
With the FPC 2.7.1 having some form of Unicode support, and the String typing being redefined... defining TfpgString as AnsiString, we know fpGUI will continue running as normal.
2012-08-09bugfix: gdi fullscreen - form was larger than screen dimensions.Graeme Geldenhuys
This went unnoticed for a very long time, Mhen a from was set to fullscreen, after it was already displayed (not at creation time), then the size of the form was slightly bigger that the screen resolution. I corrected the Win32 API calls, and now the form has the correct size at all times.
2012-08-02report: applied fpGUI coding style to "print preview" unit.Graeme Geldenhuys
2012-08-02report: Fixes a cause of corrupt memoryGraeme Geldenhuys
The images use in a PDF report get freed later. But if we used internally registered image, the report engine frees those images, even though they might still be needed elsewhere in the application. So for that reason we "clone" the internal image, which the report engine can safely free.
2012-08-02Prevents a possible AV when the Memo reference might already have been set ↵Graeme Geldenhuys
to nil. This could happen in some cases when the TfpgMemo is destroyed while contain text.
2012-08-02pdf: applied the fpGUI code style to the reporting engine units.Graeme Geldenhuys
I used JCF to automate the process, but always double check and test the code afterwards. While double checking, I also added some quick TODO notes about code that must be improved.
2012-08-02pdf: Adds the missing compiler directive that we are using AnsiStrings in fpGUI.Graeme Geldenhuys
2012-08-02removes unused units from the uses clause.Graeme Geldenhuys
2012-08-02Updates the PDF reporting units to contain the standard fpGUI copyright notice.Graeme Geldenhuys
I also extended the descriptions of each unit, and made sure the credit of creating these units go to Jean-Marc Levecque.
2012-08-02Fixes compiler warning about unused local variables.Graeme Geldenhuys
2012-08-02Removes the unnecessary fpg_report.lpk package files.Graeme Geldenhuys
* also updates the PDF Report demo project, removing the fpg_report.lpk dependency.
2012-08-01Updates te fpgui_toolkit.lpk (lazarus packages) with the reporting engine units.Graeme Geldenhuys
* I also updated the windows version of the package with some missing units.
2012-08-01Moves the PDF report engine & demo into the main source tree.Graeme Geldenhuys
2012-07-31jpg: fixes compiler hint about usage of deprecated TFPColor type.Graeme Geldenhuys
2012-07-31grid: Adds some missing mouse events to the published section.Graeme Geldenhuys
2012-07-31filedialog: widgets were not perfectly spaced in the horizontal area.Graeme Geldenhuys
* Increased the width of most widgets by 2 pixels. Now left and right border spacing is equal. * Increased the grid height by 2 pixels, just to give grid content some extra space.
2012-07-31Fixes a potential memory leak.Graeme Geldenhuys
I say potential, because FDropDown is free immediately after it is not needed any more, but if for some reason it wasn't, then we should free it in the destructor of the widget.
2012-07-31progressbar: text percentage is now only calculated when really needed.Graeme Geldenhuys
2012-07-31replaces tab character indentation with 2-space indentation.Graeme Geldenhuys
2012-07-31TfpgGDIWindow.ActivateWindow now uses SetWindowPos instead of ↵Graeme Geldenhuys
SetForegroundWindow. The code and intent seems to be correct, but even though I set the flag SWP_NOZORDER (so the behaviour is consistent with Linux X11), Windows seems to ignore that flag and still bring the active window to the front.
2012-07-31Windows GDI BringToFront() behaviour is now consistent with Linux X11Graeme Geldenhuys
The window is brought to the front, but not activated.
2012-07-31x11; FcFontSetDestroy() is defined in libfontconfig, not libXft.Graeme Geldenhuys
I confirmed this using OpenSuse 12.1 as a test.
2012-07-17TfpgWidget now consumes the F1 keypress to invoke context sensitive help.Graeme Geldenhuys
2012-07-17hyperlink: published more properties that where available from TfpgCustomLabel.Graeme Geldenhuys
2012-07-17Extra debug output added to TfpgWidget.HandleAlignmentsGraeme Geldenhuys
2012-06-29More sanity checks before calling the help viewer.Graeme Geldenhuys
Instead of just going with the assumption that the docview executable exists, check for it first, before we go any further. Calling TProcess.Execute with a non-existing executable gives an unwanted error in our applications.
2012-06-29Added new Exception classes for use in fpGUI.Graeme Geldenhuys
The thinking behind this is so that we can trap fpGUI specific exceptions in our applications if we wanted to. Thus handling them slightly different to other exceptions.
2012-06-29new resource string added to fpGUIGraeme Geldenhuys
2012-04-25gdi: minor changes to make sure fpGUI compiles under Win64Graeme Geldenhuys
2012-04-10x11: adds a new compiler define in the lazarus package to control AggPas ↵Graeme Geldenhuys
support.
2012-04-05gdi: fixes spelling mistake in code comment.Graeme Geldenhuys
2012-04-05gdi: Removed completed todo item comment.Graeme Geldenhuys
2012-04-05Fixes text selection which caused double text to appear.Graeme Geldenhuys
The following changes was made: * Revert "Edit: fixed vertical centering of text." This reverts commit 6f0128aea4f4efcffe0d6ab3ce9bfe. This commit made many undesired results, so it was best to undo them all. * Fix GetClientRect() which never set the Result value for BorderStyle = ebsNone. This now fixes the actual problem we experienced and was the reason for commit 8e129e1d34.
2012-03-29x11: Enabled Smart-Linkable support for the fpgui_toolkit packageGraeme Geldenhuys
2012-03-29agg: implemented clip rectangle support for TfpgCanvas interface.Graeme Geldenhuys
2012-03-29agg: code completion of method parameters for some units.Graeme Geldenhuys
The implementation section of the units did not have the method parameters specified. This is allowed, but makes it hard to work in the implementation section.
2012-03-22extended the gitignore filtersGraeme Geldenhuys
2012-03-22added a gitignore file for agg-demosGraeme Geldenhuys
This prevents showing agg-demo executables or the unit output directory
2012-03-22agg: added missing include file used by agg-demosGraeme Geldenhuys
2012-03-22git helper file to help recreate a directory layout.Graeme Geldenhuys
2012-03-20CreateMaskFromSample() under Agg-enabled canvas uses Alpha channel to mask ↵Graeme Geldenhuys
image.
2012-03-20agg: when painting images into the canvas buffer, use alpha blending too.Graeme Geldenhuys
PNG images with alpha channel information is finally painted correctly in fpGUI!!!!! :)
2012-03-20agg: fix nested code comments so it doesn't screw up Lazarus syntax ↵Graeme Geldenhuys
highlighting.
2012-03-20BMP and PNG image loading now correctly sets the Alpha channel values.Graeme Geldenhuys
2012-03-19Bit shifting of Alpha channel was wrong in color conversion routinesGraeme Geldenhuys
Both RGBTripleTofpgColor() and FPColorTofpgColor() incorrectly bit shifted the Alpha channel value.
2012-03-19fixes compiler errors under Windows.Graeme Geldenhuys
Clearly I did not pay as much attension as I should have. :-(
2012-03-19x11: fix color shifting due to Alpha channel introduction.Graeme Geldenhuys
2012-03-19copyright updateGraeme Geldenhuys
2012-03-19agg: Implement backward compatible Arc drawingGraeme Geldenhuys