summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
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