summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-22docview: DND enabledGraeme Geldenhuys
- dropping one or more files on the Contents treeview will open those files, in addition to what is already open - dropping a file on the richview component will close all existing files and only open that single file.
2013-05-22richview: let the fpgStyle object do the drawing for us.Graeme Geldenhuys
2013-05-20demo: API change, ask fpgStyle to draw a widget primitive instead on CanvasGraeme 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-16maximus: Object Pascal highlighter. improve hilight accuracy.Graeme Geldenhuys
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-16grid: to prevent possible index out of bounds errors.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-14debug server: updates uses clause to use fpGUI's dbugmsg unit.Graeme Geldenhuys
2013-05-13docview: replace some code with convenience function to make it more readableGraeme Geldenhuys
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-08MessageDialog: BeginDraw/EndDraw is not needed in HandlePaint()Graeme Geldenhuys
2013-05-08edittest: define the height of ComboBox widgets to match height of Edit widgetsGraeme Geldenhuys
2013-05-08edittest: trackbars were never disabledGraeme Geldenhuys
2013-05-08edittest: BeginDraw/EndDraw calls were not needed.Graeme Geldenhuys
2013-05-07grid demo: adds OnHeaderClick event handler testGraeme Geldenhuys
- also updated project file settings for Lazarus IDE usage.
2013-05-07grid demo: fixes index out of bounds error when deleting rows.Graeme Geldenhuys
We never checked to see if there are any rows to delete.
2013-05-07grid: now has a new OnHeaderClick eventGraeme Geldenhuys
2013-05-04Grid: now developers have access to visible width/height.Graeme Geldenhuys
Handy for adjusting column widths.
2013-05-04bug: fixes memo that didn't always display horizontal scrollbarGraeme Geldenhuys
2013-05-03Only call DocView if fpgApplication.HelpFile is set.Graeme Geldenhuys
2013-05-02animation: added overloaded methods.Graeme Geldenhuys
- Specifying the mask sample point is now optional for ImageFromByteArray If sample point is not specified, then (0,0) is used. - Introduced an overloaded SetImageFilename() method what can take a sample mask point too.
2013-05-02animation: removed the checking of filename in the HandlePaint event.Graeme Geldenhuys
If we have a FImage instance, that should be good enough.
2013-05-02Merge remote-tracking branch 'dibo/fpgimganim' into developGraeme Geldenhuys
This adds the ability to read image data from a in-memmory byte array, instead of always from a file. Thanks Dibo!
2013-05-02Fixes a small spelling mistake in the .gitattributes file.Graeme Geldenhuys
2013-05-02Much faster CopyRect() implementation for X11Dibo
2013-05-01Added Graeme suggestionsDibo
2013-05-01Added method ImageFromByte in TfpgBaseImgAnim. Now animation can be loaded ↵Dibo
from memory, not only from filename
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-30docview: Fixes encoding bug introduced in earlier refactoringGraeme Geldenhuys
When I refactored the encoding conversion code, I accidentally write HelpFile.Encoding, instead of Settings.Encoding. This meant that changing the Encoding combobox in the docview main form had no affect.
2013-04-30Adds VLC video library header translation and Media Player component.Graeme Geldenhuys
These are optional 3rd party components, because they will add extra dependencies to your project. For that reason, they are not part of the fpgui_toolkit package as standard.
2013-04-29docs: Adds docs for Canvas.DrawArc() and Canvas.FillArc()Graeme Geldenhuys
2013-04-29updates fpdoc project file.Graeme Geldenhuys
Just made it slightly simpler to copy & paste options when switching between output formats (IPF, HTML etc).
2013-04-29Merge remote-tracking branch 'demerson3/grids' into developGraeme Geldenhuys
This feature branch contains grid scrollbar improvements, and a new virtual method for end-user optimisation when using grids.