summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-10-25Fixes compiler hints about unused local variables.Graeme Geldenhuys
2012-10-23edit: HandlePaint() now uses the theming engine to determine the border widths.Graeme Geldenhuys
No more hard-coded 2 pixel widths.
2012-10-23richview: Removed the extra margin for text at the top and bottom of the ↵Graeme Geldenhuys
client area There was a hard-coded 2px margin at the top and bottom of the text client area. So when scrolling the text disappeared 2px away from the actual widget border. This was inconsistent with other text widgets in fpGUI, and I simply didn't like it either. So GetTextAreaRect() now returns the same values as GetDrawRect().
2012-10-23richview: Implements a new BorderStyle propertyGraeme Geldenhuys
* Also took into account theming support, so we get the size of the default borders from the theme class. * Improved the method that sets the coordinates of the scrollbar
2012-10-23treeview: fixed bug where setting FontDesc had no affect on the treeview.Graeme Geldenhuys
I forgot the actually set the Font property of the Canvas. :-/
2012-10-19textedit: Renamed private DoCopy and made it public as CopyToClipboard.Graeme Geldenhuys
Now we can programatically copy selected text to the clipboard.
2012-10-19textedit: Implemented the DoCopy method so now Ctrl+C copies selected text ↵Graeme Geldenhuys
to the clipboard.
2012-10-19textedit: Newly implemented GetSelectedText function.Graeme Geldenhuys
2012-10-19Minor changes caused by using a newer UIDesigner.Graeme Geldenhuys
- new default properties - properties have been reordered etc..
2012-10-19Implements support to setup a custom color for the editor's active tab.Graeme Geldenhuys
2012-10-19Refactored editor setup code into a single SetupEditorPreference method.Graeme Geldenhuys
2012-10-19Code formatting fix: Replace tab character with spaces or fixing indentation ↵Graeme Geldenhuys
levels.
2012-10-19PageControl now has a new ActiveTabColor propertyGraeme Geldenhuys
We can now set the background color of the active tab so it is much more visible which tab is active.
2012-10-18minor dependency optimisations for fpmake with FPC 2.6.0Graeme Geldenhuys
These changes are not needed for FPC 2.7.1 and later, as fpmake has vastly improved in compiling performance with FPC trunk.
2012-10-18Moved some constants from fpg_main to fpg_constants unit.Graeme Geldenhuys
2012-10-18pdf: replace RTL function with fpGUI wrapper version.Graeme Geldenhuys
This allows for better Unicode support.
2012-10-18pdf report "Producer" property now shows fpGUI name and version number.Graeme Geldenhuys
2012-10-17Changes fpmake.pp file extension to .pasGraeme Geldenhuys
2012-10-17Fixes build error about units not for a specific target.Graeme Geldenhuys
Because the X11 and GDI targets have units with the same names (ie: fpg_impl.pas etc) the last enry overrides the platform target. So if we compile under Linux, it will complain that fpg_impl.pas is for the Windows target only. To work around this problem, we have to add some units in code blocks for specific targets.
2012-10-17Fixes copyright notice, description, licensing and minor code formatting in ↵Graeme Geldenhuys
fpmake build program.
2012-10-17Adds PDF report engine units to the fpmake build programGraeme Geldenhuys
2012-10-12Creates a fpGUI wrapper for RTL's RenameFile() function.Graeme Geldenhuys
2012-10-12Surface the TopRow propertyGraeme Geldenhuys
2012-10-12ESC key now cancels the InputQuery dialog.Graeme Geldenhuys
2012-10-12Correctly set the default values of TfpgBevel.Shape propertyGraeme Geldenhuys
2012-09-26You can now copy to clipboard the content of message dialogs.Graeme Geldenhuys
The TfpgMessageDialog and TfpgMessageBox dialogs now support the "copy to clipboard" keyboard shortcuts. This is nice and handy for pasting an error message into an email or something.
2012-09-26gdi: oops, fixed code where I check the variable before I actually assign ↵Graeme Geldenhuys
something to it.
2012-09-26fixes spelling mistake in code comment.Graeme Geldenhuys
2012-09-21gdi: Corrected the implemenation of Canvas.GetPixel()Graeme Geldenhuys
We referenced the write device context. FGC is the temporary buffer used for double buffering. FWinGC is the actual DC of the window.
2012-09-21gdi: corrected the WinColorTofpgColor() implementation.Graeme Geldenhuys
2012-09-21gdi: re-ordered the code in a more logical way, to ease reading.Graeme Geldenhuys
2012-09-21pdf: fixes another compiler waring about an unused unit in uses clauseGraeme Geldenhuys
2012-09-21trackbar: bug fix. When setting the position, it never caused a repaint.Graeme Geldenhuys
2012-09-21trackbar: refactor the classes and introduced a new TfpgBaseTrackBar class.Graeme Geldenhuys
This process is not complete, but it already reduced a lot of code duplication.
2012-09-21trackbar: Fixed the focus rectangle flicker problem while dragging.Graeme Geldenhuys
2012-09-21trackbar: made sure all painting only occurs in the HandlePaint eventGraeme Geldenhuys
2012-09-20documentation on how to translate your applicationGraeme Geldenhuys
2012-09-16adds the missing 'reportengine' search path to extrafpc.cfgGraeme Geldenhuys
Recently we merged the PDF reporting engine code into the main source tree, but I forgot to update this compiler setting file.
2012-08-31Implements loading PNG images from a Stream or Resource.Graeme Geldenhuys
Thanks to Dibo for this contribution.
2012-08-31Refactored the png loading code.Graeme Geldenhuys
Extracted the code that does the conversion from FPC's FPImage to fpGUI's TfpgImage. Thanks to Dibo for this patch.
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-29pdf demo: fixes a compiler hint about unuse 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 demo: Temporary fixed a compiler warning about unused local variable.Graeme Geldenhuys
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.