summaryrefslogtreecommitdiff
path: root/src/corelib
AgeCommit message (Collapse)Author
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
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.