summaryrefslogtreecommitdiff
path: root/src/corelib
AgeCommit message (Collapse)Author
2013-05-28Menu shortcuts with F1 key combinations never worked.Graeme Geldenhuys
The global F1 (application help) shortcut handling never looked at the ShiftState value. So if we had a popup menu with F1->help; Ctrl+F1->About, the second item's shortcut with be interpreted as F1 only.
2013-05-28os/2 bitmaps with bitdepth of 1,4 or 8 have a 3 byte color palette.Graeme Geldenhuys
I originally read it as a 4-byte color palette. This fixes the colors of images (mostly), but there still seems to be some or other decoding issues with larger than 65KB images.
2013-05-28Initial support for reading OS/2 Bitmap files.Graeme Geldenhuys
They have a slightly different structure to Windows BMP files - now the more common format.
2013-05-28bmp code now raises an exception for a unknown BMP format.Graeme Geldenhuys
Before it would have done a writeln() which would go unnoticed under Linux, and cause an AV under Windows GUI apps.
2013-05-28debug supportGraeme Geldenhuys
2013-05-28minor code formattingGraeme Geldenhuys
2013-05-28core: Debug output is now sent to the Debug Server instead of console output.Graeme Geldenhuys
This makes testing a bit easier on all platforms.
2013-05-28Buttons & Styles now support hover effect on standard buttons too.Graeme Geldenhuys
Before we only had the mouse hover effect on Flat buttons. But now the Style can enable hover support for normal buttons too. Important for Win7 and MacOSX like themes.
2013-05-28aggpas backend: finally implemented DoDrawPolygon()Graeme Geldenhuys
Rather late than never. ;-)
2013-05-28aggpas: Improved font work-around to work for FreeBSD too.Graeme Geldenhuys
2013-05-28updated reporting imagesGraeme Geldenhuys
I've updated the actual *.bmp files ages ago, but forgot to update the image byte arrays in fpGUI Toolkit. While I was at it, I also translated some French names to English.
2013-05-28Add common procedures in fpg_base for deadkeysJean-Marc Levecque
2013-05-28Adds Chrome and Chromium support to fpgOpenURL()Graeme Geldenhuys
2013-05-28utils: Adds a new RTL wrapper to handle UTF-8 path names correctly.Graeme Geldenhuys
2013-05-27Merge branch 'master' into scroll-frameDavid Laurence Emerson
Conflicts: src/corelib/x11/fpgui_toolkit.lpk
2013-05-27Scroll-Frame!David Laurence Emerson
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.
2013-05-03Only call DocView if fpgApplication.HelpFile is set.Graeme Geldenhuys
2013-05-02Much faster CopyRect() implementation for X11Dibo
2013-05-01Adds much faster Canvas.CopyRect() implemenation for the GDI backend.Graeme Geldenhuys
2013-04-30Adds CP1251 to UTF8 encoding conversionGraeme Geldenhuys
2013-04-30debug: replaced debug writeln() statements with SendDebug() calls.Graeme Geldenhuys
Debugging with the debug server is much easier than looking at command line output.
2013-04-30Fixes a Windows 64-bit compile error relating to Windows.SetTimer()Graeme Geldenhuys
The TIMERPROC signature has changed between FPC 2.6.0 and 2.6.2. This minor changes now supports both compiler versions. I tested this under 32-bit and 64-bit FPC.
2013-04-29agg: The Alpha color channel was ignored in DoSetColor()Graeme Geldenhuys
2013-04-29new debug interface unit for use with out Debug Server application.Graeme Geldenhuys
Added debug interface units to 'corelib' and to the fpgui_toolkit packages
2013-04-25Implemented a new ConvertTextToUTF8() which converts some encoding to UTF8Graeme Geldenhuys
2013-04-24Persistent clipboard support under X11.Andrew Haines
Some desktop enviroments or window managers include support for a clipboard manager. This clipboard manager can make the content of the clipboard persistent even after the source application closed down.
2013-04-19Another file system encoding fix for TfpgINIFileGraeme Geldenhuys
- fpgApplicationName() wrapper for SyUtils.ApplicationName - TfpgINIFile reference ApplicationName, instead of fpgApplicationName - In TfpgINIFile we forgot to encode the file name back to the system encoding before we called Create().
2013-04-18Merge branch 'hotfix-2' into developGraeme Geldenhuys
I found a problem with the deadkey support - it broke keyboard input under Windows. The original deadkey input issue seems to have been X11 specific, so should be fixed at widget level, but rather in the fpg_x11.pas unit.
2013-04-17Revert "Add common procedures in fpg_base for deadkeys"Graeme Geldenhuys
This reverts commit ccfd4b2ae0a9dfae0d19ae7ba673118af70c75da.
2013-04-12New record structure to be used in future OnMove events.Graeme Geldenhuys
2013-04-10Merge branch 'hotfix-1' into developGraeme Geldenhuys
2013-04-10Forgot to bump the version numbers of the fpgui_toolkit.lpk packages.Graeme Geldenhuys
2013-04-10Change to still support FPC 2.6.0 during the fpGUI 1.0 releaseGraeme Geldenhuys
Even though I normally say I only support latest released FPC versions, this is a small change.