summaryrefslogtreecommitdiff
path: root/src/corelib
AgeCommit message (Collapse)Author
2015-02-01Merge branch 'develop' of https://github.com/graemeg/fpGUI into developAndrew Haines
Fixed xml conflicts of lpi's manually Conflicts: examples/gui/filedialog/filedialog.lpi examples/gui/modalforms/modalforms.lpi
2015-02-01Changes to allow modal windows to have owners.Andrew Haines
2014-12-26Encapsulate TfpgStyle's font objectsGraeme Geldenhuys
Now the TfpgStyle class will free the font objects if they are reassigned No more memory leaks or manually freeing the font objects first.
2014-12-20Updated translation constants for all language files with lastest updates.Graeme Geldenhuys
2014-12-20color dialog: Color Picker and Hex Value editbox added.Fred van Stappen
Thanks to Fred van Stappen for the original contribution. I (Graeme) make a couple more changes, code clean-up, and dialog translation.
2014-12-13Implements custom form icon support for X11Graeme Geldenhuys
TfpgForm now has a new IconName property. Load a 16x16 image into the global fpgImages instance and use that icons name in the IconName property. Windows support is still work-in-progress.
2014-12-06Fixes compiler hint about unused variableGraeme Geldenhuys
2014-11-15aggpas: fixes spelling mistake in code commentGraeme Geldenhuys
2014-10-22agg_2D: fixes compilation errors.Graeme Geldenhuys
The interface did not match the implementation section. My fault for not doing a good enough sync with agg2d.pas! :-/
2014-10-21aggpas: Implements and uses a GetWindowsFontPath function.Graeme Geldenhuys
AggPas now correctly queries the correct Windows install path. Thanks Marcus for pointing out my hasty commit from before.
2014-10-20gdi: Implements TfpgGDIApplication.GetScreenPixelColor()Graeme Geldenhuys
The color picker in the ColorWheel demo now works on all supported platforms.
2014-10-19New fpgApplication.GetScreenPixelColor() for X11Graeme Geldenhuys
We can now color pick a value on a X11 desktop.
2014-10-19Changes created due to running "localize.sh" scriptGraeme Geldenhuys
Basically just reordering some resources.
2014-10-17Fixes "division by zero" errorGraeme Geldenhuys
eg: Compile DocView and resize the contents panel all the way to the right. The gradient panel ends up having < 1 width, which means it is not visible any more, so really the GradientFill doesn't need to do anything.
2014-10-17Revert "CanvasBase.GradientFill causes a math error"Graeme Geldenhuys
This reverts commit 1bd4b9091d3649f531c77ef0d0d656de4f6e3129.
2014-10-15aggpas: Adds a extrafpc.cfg config file to easily compile AggPas DemosGraeme Geldenhuys
Usage: fpc @extrafpc.cfg <demoname>.dpr
2014-10-15Sync more fpGUI Agg2D code to console agg_2D unit.Graeme Geldenhuys
Not much, but it is a start. There are still many more of this to come.
2014-10-15console agg_2D: Line() and Rectangle() now have FixAlignment parameterGraeme Geldenhuys
This syncs the console agg_2D with the fpGUI Agg2D implementation.
2014-10-15Fixes finding of Windows font files.Graeme Geldenhuys
2014-10-15Fixes compiler warningGraeme Geldenhuys
2014-10-12Surface the Window related to the Canvas instance.Graeme Geldenhuys
This is so we can do more advance things with themes like calling invalidate on a widget (eg: animated theme on hover)
2014-09-19Windows: Just for fun, allow the ability to hook into the System MenuGraeme Geldenhuys
This means we can easily add an "About fpGUI" menu item in the System Menu of a window.
2014-09-16Edit2 font alias is now a variable and not hard coded.Graeme Geldenhuys
This makes it a bit more configurable (default values) for various platforms. Thanks to Marcus Sackrow for the suggestion.
2014-07-27Merge branch 'release-1.2' into developGraeme Geldenhuys
So we can get the latest bug fixes into 'develop'.
2014-07-27LoadImage_XXX() methods never did OS Encoding of the filenamesGraeme Geldenhuys
It now correctly encodes the UTF-8 filename to the OS Encoding. The filename parameter is now also a TfpgString type to denote that it is expected to be a UTF-8 encoded string.
2014-07-272 new units: fpg_CSVParser and fpg_StringGridBuilderGraeme Geldenhuys
fpg_CSVParser contains a class and singleton method to allow parsing CSV files. fpg_StringGridBuilder is a class that allows you to load a CSV file and automatically populate a StringGrid with its content.
2014-07-25Merge branch 'release-1.2' into developGraeme Geldenhuys
This is so we can get the latest bug fixes from the release branch.
2014-07-25Bump 'develop' branch to next version numberGraeme Geldenhuys
2014-07-25Fixed StretchDraw() "abstract error" due to DoFreeImage call.Graeme Geldenhuys
2014-07-24Fixed StretchDraw() "abstract error" due to DoFreeImage call.Graeme Geldenhuys
2014-07-23remove old code comment not needed any moreGraeme Geldenhuys
2014-07-21new ToggleBox widgetAndrew Haines
Hi I made a Togglebox widget descended from TfpgComboBox. It has button that slides side to side for checked/unchecked with a subtle animation when toggled. Various colors can be changed and the animation disabled.
2014-07-20Fixed "button pressed" painting for Normal and Embedded buttons.Graeme Geldenhuys
The pressed state never looked right. I simply forgot and got used to it. Now it has finally been fixed.
2014-07-17Bump the version number of various filesGraeme Geldenhuys
2014-07-17CanvasBase.GradientFill causes a math errorAndrew Haines
I've noticed that if Width = 1 then count = 0 and causes a math error in: newcolor.Red := RGBStart.Red + (i * RDiff) div count; I think if ADirection = gdVertical then count := ARect.Bottom - ARect.Top else count := ARect.Right - ARect.Left; Should be if ADirection = gdVertical then count := ARect.Height else count := ARect.Width; But I'm not sure of the reasoning of the paint code. I've only seen this crash on the AlienWindows branch. I get it when moving the splitter in docview all the way to the right side. Andrew
2014-07-17Merge branch 'jml/integer_input_dialog' into developGraeme Geldenhuys
2014-07-17Additional integerinputquerydialogJean-Marc
Hi, For my own use, I had to create a new specific integer dialog similar to the existing inputquerydialog. Attached is the patch for it. Hope it will be usefull Regards Jean-Marc New integerinputquery dialog Signed-off-by: Jean-Marc <jmarc.levecque@dbmail.com>
2014-07-15Removes WriteLn() statement in GDI backendGraeme Geldenhuys
Us SendDebug() instead - which means it will not cause a problem on Windows non-console applications.
2014-07-15Fixes a GDI bug dating back to July 2007.hinst
For some reason the DoFreeImage call was commented and thus Windows apps leaked GDI objects. Once the 9000 limit was hit, paint corruption occured. Many thanks to Hinst <hinstance@yandex.ru> for persisting and finding this bug.
2014-06-23Merge remote-tracking branch 'demerson/scroll-frame' into 'develop'Graeme Geldenhuys
2014-06-20GDI: Correctly define visibility for methods in TfpgGDIFileListGraeme Geldenhuys
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