summaryrefslogtreecommitdiff
path: root/src/corelib
AgeCommit message (Collapse)Author
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.
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-28Merge branch 'horiz-scroll-x11' into scroll-frameDavid Laurence Emerson
2013-05-28horizontal scrolling, commit 2David Laurence Emerson
2013-05-28horizontal scrolling, commit 1David Laurence Emerson
2013-05-28Revert "Add common procedures in fpg_base for deadkeys"Graeme Geldenhuys
This reverts commit ccfd4b2ae0a9dfae0d19ae7ba673118af70c75da.
2013-05-28Forgot to bump the version numbers of the fpgui_toolkit.lpk packages.Graeme Geldenhuys
2013-05-28Change 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.
2013-05-28New overloaded LoadImage_PNG()Graeme Geldenhuys
This allows us to read the image from a byte array, just like we do with BMP images.
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.