summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-08-29pdf: fixes compiler error under Windows.Graeme Geldenhuys
fpgOpenURL() will work in this case for both Linux and Windows, but it is not the ideal solution. As the TODO entry says, we ultimately need to implement a fpgViewFile() function.
2012-08-29pdf: Fixes compiler hint about unused uses clause under Windows.Graeme Geldenhuys
2012-08-28pdf: remove code duplication and use report.printpdf() insteadJean-Marc Levecque
2012-08-28pdf: Assigns default values to PrintPDF() parametersJean-Marc Levecque
2012-08-28pdf demo: removes lots of code duplication by moving some functionality into ↵Jean-Marc Levecque
the report unit.
2012-08-28Replaces usage of standard RTL file functions with fpGUI versions.Graeme Geldenhuys
The fpGUI versions are OS encoding enabled.
2012-08-28pdf: window size is adjust to fit all preview controls and page height.Graeme Geldenhuys
If the screen is to small for that, it will use the max screen dimentions.
2012-08-28pdf: Hook into the OnMouseScroll event and ask the ScrollBar to scroll the ↵Graeme Geldenhuys
preview page.
2012-08-28Publishes various other mouse events for the various panel widgets.Graeme Geldenhuys
2012-08-28Publishes the OnMouseScroll event for various widgets.Graeme Geldenhuys
2012-08-28TfpgWidget: Implements a new OnMouseScroll eventGraeme Geldenhuys
2012-08-28pdf: fixes preview page position and scrollbar reflesh issuesGraeme Geldenhuys
2012-08-28pdf: fixes scroll bar calculations.Graeme Geldenhuys
2012-08-28pdf: This implements the actual scrolling of the preview window.Graeme Geldenhuys
2012-08-28merge with earlier commit about PreviewMargin.Graeme Geldenhuys
2012-08-28pdf: The "preview page" widget (TfpgBevel) is now only created once.Graeme Geldenhuys
* This fixes the problem where the preview pages appears above other widgets in the preview window.
2012-08-28pdf: introduced a PreviewMargin propertyGraeme Geldenhuys
This is the margin of empty space around the preview page, so it stands away from bounding widgets.
2012-08-28treeview: scrollbar width is now set to the standard 16pxGraeme Geldenhuys
No more usage of "magic" numbers either.
2012-08-23listbox: Rather use BeginUpdate..EndUpdateGraeme Geldenhuys
This will call UpdateScrollBar and Repaint anyways.
2012-08-23gdi: The IDropSource signature has changed in FPC > 2.6.0Graeme Geldenhuys
Once the next stable FPC is released, then we can remove this again.
2012-08-21changes param type from String to TfpgStringGraeme Geldenhuys
2012-08-21memo: removes unnecessary code. The Memo field was just a reference.Graeme Geldenhuys
This also fixes a strange "lost pointer reference" issue under Windows. Not sure what FPC is doing there.
2012-08-16Merge remote-tracking branch 'github/master'Graeme Geldenhuys
2012-08-16pdf preview: minor code formatting.Graeme Geldenhuys
I just grouped the widgets based on there parent widget. This way it is easier to find the widgets I wanted to modify.
2012-08-16pdf preview: fix the horizontal alignment of the Integer Edit widgets.Graeme Geldenhuys
The now match the horizontal alignment of adjacent buttons.
2012-08-16pdf preview: label text is now horizontally aligned with other text.Graeme Geldenhuys
Specifying a 0 width meant the AutoSize = True kicked in, and the width and height was adjusted, giving the uneven horizontal alignment with other widgets.
2012-08-16pdf preview window now has more standardised color scheme.Graeme Geldenhuys
This also means that it will adhere to custom fpGUI themes.
2012-08-16pdf preview form is now sizable.Graeme Geldenhuys
On my 2560x1440 pixels display, fullscreen and unsizeable is just not nice.
2012-08-16pdf: all preview form related properties are now in one place in the code.Graeme Geldenhuys
2012-08-16pdf: Save dialog now uses English filter text.Graeme Geldenhuys
This will be localised soon.
2012-08-16x11: Improved to code's intention and meaning.Graeme Geldenhuys
2012-08-16x11: Supported ATOMS are now actually populated.Graeme Geldenhuys
Unknowingly the NetWindow features were broken, eg: Fullscreen didn't work etc because they exit too early out of the functions due to an empty FAtomSupported[]
2012-08-16improved the clarity of one code comment.Graeme Geldenhuys
2012-08-16minor code formatting changes.Graeme Geldenhuys
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