summaryrefslogtreecommitdiff
path: root/src/corelib
AgeCommit message (Collapse)Author
2014-06-20Revert "File Search Result Name was never correctly converted from OS ↵Graeme Geldenhuys
encoding to UTF-8" This reverts commit 85682e5586a60487d8aa65564dc0a77c24f080d4. The reason is because the fpgFindFirst and fpgFindNext functions already fix the sr.Name encoding. So doing it in the base filelist class corrupts the text because the encoding is applied twice. Amazing nobody picked this up for so long.
2014-04-27Fixes grammar error in code commentGraeme Geldenhuys
2014-04-21x11: further improvement to get maxwidth/maxheight fully working.Graeme Geldenhuys
2014-04-21x11: Fixes Min[Width|Height] and Max[Width|Height] of top level windows.Graeme Geldenhuys
2014-03-30Adds the new win8 theme unit to the fpgui_toolkit packageGraeme Geldenhuys
2014-03-29style: new fpgStyle methods for painting a ComboBox widgetGraeme Geldenhuys
2014-03-29style: new style methods for checkbox customisationGraeme Geldenhuys
2014-03-29style: new button state btfEnabledGraeme Geldenhuys
2014-02-25Fixes small spelling mistake in code comment.Graeme Geldenhuys
2014-02-24fix github bug #8: fpGUI as x11 root window fails.Graeme Geldenhuys
Solution gave by Mohaslan. Checking if AWindow or AProperty actually have valid values resolves the problem.
2014-01-25Merge branch hyperlink into developGraeme Geldenhuys
Small branch that contained some improvements to the TfpgHyperLink widget.
2014-01-25hyperlink: defined a new named color clHyperLink and used in in TfpgHyperLinkGraeme Geldenhuys
This makes it easier to customise in themes - without needing to override TfpgCanvas.DrawString()
2014-01-24aggpas: Agg2D Console demo - improve font location constant for FreeBSDGraeme Geldenhuys
2014-01-24aggpas: fixes grammar in code comment.Graeme Geldenhuys
2014-01-24aggpas: New Agg2D Console demo.Graeme Geldenhuys
See the unit's header comment for more details.
2014-01-24aggpas: Makes the agg_2D.pas unit compilable again.Graeme Geldenhuys
2014-01-24Fixes a spelling mistake in a code comment.Graeme Geldenhuys
Also removed trailing spaces from some lines.
2014-01-24GDI: Fixes mouse wheel scrolling bug on newer Windows versions.Graeme Geldenhuys
For some odd reason under Win7 only downward scrolling was working. This changes fixes it. Tested on Win2000 and Win7 systems.
2013-12-28uidesigner: completed string constants to resource string for vfdforms.pas unitGraeme Geldenhuys
2013-12-22Auto-register new "dark" themes as part of the standard available themes.Graeme Geldenhuys
2013-12-22Adds 2 new themes to the fpGUI framework.Graeme Geldenhuys
All are 'dark' themes, but with various looks and color variations. Thanks to Rochdi Abdelilah (aka ROCABDEL) for the fantastic contribution.
2013-12-17agg2d: fix spelling mistake in code commentGraeme Geldenhuys
2013-12-08win32: package file file changes due to newer Lazarus IDE version.Graeme Geldenhuys
2013-12-08gdi: forgot to remove a debug writeln() statement.Graeme Geldenhuys
This caused a "file not open" error when pausing and resuming Windows VM's - thus the system time changes.
2013-10-31gdi: prevents an AV if applications have a non-standard startupGraeme Geldenhuys
I sometimes implement a "-h" help command line parameter to GUI and non-GUI applications. For GUI applications it pops up a dialog that displays help then quits before the main form displays. Without the change in this commit, the GUI applications will trigger an AV, because MainForm = nil in the code referenced in this commit.
2013-09-24x11: fixes fpgColorToX().Graeme Geldenhuys
We did the color conversion to RGB, and then in the last block of code we strangely discarded that conversion. Without the color conversion (some colors can be "alias colors" like clButtonFace) we might process rubbish data. Now it should be fixed. Thanks to user UAPLY for spotting this.
2013-09-23Fixes GitHub Issue #9 (15bit color conversion under X11)Graeme Geldenhuys
https://github.com/graemeg/fpGUI/issues/9 Thanks to UAPLY for debugging the issue and supplying the solution. Much appreciated.
2013-08-27Fixes spelling mistakes in code comments.Graeme Geldenhuys
2013-08-27Replaced the FPC dbugintf unit with the customised fpGUI one.Graeme Geldenhuys
2013-07-31Fixes a memory leak in the LoadImage_PNG() function.Graeme Geldenhuys
The PNG Reader Class was never freed. Thanks to Leonardo M. Ramé for reporting this.
2013-07-12New Rectangle and Point methods introduced in fpg_mainGraeme Geldenhuys
* Moved PtInRect() to fpg_main, from fpg_base * New Rect and Point utility functions introduced in fpg_main
2013-06-07Updated copyright notice for fpg_x11 unit.Graeme Geldenhuys
2013-06-07Introduced a new OnKeyChar event for TfpgWidgetGraeme Geldenhuys
2013-05-20Removed Canvas.DrawControlFrame() - fpgStyle has tha functionality nowGraeme Geldenhuys
Canvas.DrawControlFrame() simply passed it along to fpgStyle for a long time already. Now we finally separate the two, so the Styling code can be separated from the corelib code.
2013-05-20bug: Under Windows the mouse coordinates in OnDragDrop was screen coordinates.Graeme Geldenhuys
I forgot to translate those to widget coordinates.
2013-05-16agg2d: minor work-around for the difference between FreeType and GDIGraeme Geldenhuys
Soon I'll improve and merge FreeType usage for Windows and Unix systems.
2013-05-16agg2d: Adds implementation for DoFillTriangle()Graeme Geldenhuys
Also updated aggcanvas demo to show Canvas.FillTriangle() working.
2013-05-16Merge branch 'agg_fonts' into developGraeme Geldenhuys
Initial work on getting FontDesc to AggPas font conversion working. So far this has only been tested under X11.
2013-05-16Agg2D: rought conversion of font point size to pixel size.Graeme Geldenhuys
Agg2D/AggPas defines font sizes in pixels, whereas the rest of fpGUI uses point sizes. So we needed to translate between the two. This is just a temporary implementation. A more accurate DPI aware version will come later.
2013-05-16aggcanvas: added support for font rotationGraeme Geldenhuys
The FontDesc property now supports a new font attribute: for example: Arial-13:Angle=45.0 The Angle range is between 0-360
2013-05-16aggcanvas: adds preliminary font supportGraeme Geldenhuys
- moved fpg_fontcache unit to corelib/render/software/ - added fpg_fontcache unit to x11 fpgui_toolkit.lpk package - translates FontDesc to FontCache item. Tested under X11 only.
2013-05-16agg2d: DoSetTextColor() mistakenly ignored the Alpha channel value.Graeme Geldenhuys
2013-05-16new unit to do font mapping/lookups for the AggPas backend.Graeme Geldenhuys
See the description in the unit header for more details.
2013-05-13Adds a new convenience function IsLoading to TfpgWidgetGraeme Geldenhuys
2013-05-13code formatting: fixes the camel case of a function name.Graeme Geldenhuys
2013-05-13fixes compiler hint about unused variableGraeme Geldenhuys
2013-05-12agg: surfaced the new Fill(color) method in TAdd2D and agg_2dGraeme Geldenhuys
2013-05-12agg: Add agg_renderer_base.fill(color) method for blending a color.Graeme Geldenhuys
This complements the clear(color) method, which copies the color. This is a port of r82 from AGG project on SourceForge.
2013-05-10agg: removed the pointless casts. The x & y params are already PDouble'sGraeme Geldenhuys
2013-05-10agg: fixes bug when attaching a Image to TAgg2d doesn't draw lines.Graeme Geldenhuys
I forgot to setup the internal dash generator in the TAgg2d constructor. The AggCanvas did this automatically in the Canvas.BeginDraw() call, but using TAdd2D via the .Attach(bitmap) didn't.