summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-15Merge remote-tracking branch 'jmarc/develop' into developGraeme Geldenhuys
2014-10-15aggpas: Adds a extrafpc.cfg config file to easily compile AggPas DemosGraeme Geldenhuys
Usage: fpc @extrafpc.cfg <demoname>.dpr
2014-10-15memo: added extra sanity check for EndUpdate method.Graeme Geldenhuys
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-13Make the selected text in editcombo follow the theme colorJean-Marc.Levecque
Signed-off-by: Jean-Marc.Levecque <jmarc.levecque@bbox.fr>
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-09-11Allow headerheight setting in grids.Jean-Marc.Levecque
2014-08-22Fixes bug #162 (Home/End doesn't move cell focus is smoothscroll StringGrid)Graeme Geldenhuys
2014-08-20Fix PageControl bug where left or right tabs are unresponsive to clicksGraeme Geldenhuys
PageControl tabs were on the left or right, and you went over a certain number of tabs, then you couldn't change tabs by clicking with the mouse. The TabSheetAtPos() never took into account the TabPosition, and it always used MaxButtonWidthSum, which is only meant for Top or Bottom postitions.
2014-08-20Merge branch 'release-1.2' into developGraeme Geldenhuys
2014-08-20Extra compiler setting for Release and Debug buildsGraeme Geldenhuys
2014-08-09treeview: publish the OnKeyPress and OnKeyChar eventsGraeme Geldenhuys
2014-07-29Merge branch 'release-1.2' into developGraeme Geldenhuys
So we can get the latest bug fixes in 'develop'
2014-07-29Fixes minor compilation error under FPC 2.7.1Graeme Geldenhuys
FPC Trunk is more strict with language syntax than FPC 2.6.x
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-25Set actual grid background colorJean-Marc
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-23Set actual grid background colorJean-Marc
2014-07-21toggle: fixes minor bug where selected font isn't used.Graeme Geldenhuys
2014-07-21uidesigner: added togglebox widget to the palette barGraeme 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-17Allows adjusting Listview's scrollbar widthJean-Marc
2014-07-17Allows adjusting Listbox's scrollbar width and pagesizeJean-Marc
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-15Make clear what the default values are for two properties in TfpgImagePanelGraeme Geldenhuys
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-15Removed redundant code in TfpgScrollbar.Graeme Geldenhuys
The Canvas.BeginDraw/EndDraw calls are not needed. The painting outside the HandlePaint() event was long ago fixed, but these calls were simply not removed.
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-07-10scrollframe: code formatting and design time paintingGraeme Geldenhuys
2014-07-10Tweak so the TfpgScrollFrame can play nicer with the UI Designer.Graeme Geldenhuys
Basically it allows us to set the Content Frame after the ScrollFrame was created.
2014-06-23Added the standard copyright notice to the new unit.Graeme Geldenhuys
2014-06-23Merge remote-tracking branch 'demerson/scroll-frame' into 'develop'Graeme Geldenhuys