summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-02-25grid: minor code formatting fix.Graeme Geldenhuys
2014-02-25grid: First run through code removing hard-coded border widths.Graeme Geldenhuys
This was mostly the replacement of FMargin field variable usage. Tested and grid still works like before.
2014-02-25grid: introduce an overloaded GetClientRect() function.Graeme Geldenhuys
This takes into account BorderStyle and border widths from the theme manager.
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-02-23edit: Remove more hard-coded values for improved themes support.Graeme Geldenhuys
2014-01-25Merge branch hyperlink into developGraeme Geldenhuys
Small branch that contained some improvements to the TfpgHyperLink widget.
2014-01-25hyperlink: Removed hard-coded font name, and make it more cross-platform ↵Graeme Geldenhuys
friendly.
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.
2014-01-23Avoid last item selection when mouse points over last itemJean-Marc
2014-01-21updatescrollbar at end of handlepaintJean-Marc
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-17editcombo: Publish the missing ReadOnly propertyGraeme Geldenhuys
2013-12-17editcombo: Implements painting a ReadOnly stateGraeme Geldenhuys
2013-12-17editcombo: Removed hard-coded control frame sizesGraeme Geldenhuys
Instead the widget now queries the current style for those values.
2013-12-17editcombo: removed BeginDraw/EndDraw calls which are not needed.Graeme Geldenhuys
For a long time now those calls are not need. The base canvas class already does all the double buffering for us.
2013-12-17basegrid: removed hard-coded control frame size values.Graeme Geldenhuys
The grid used to use hard-code control frame sizes. Now it queries the current theme, and uses those returned values accordingly.
2013-12-17listview: removed hard-coded control frame size values.Graeme Geldenhuys
It now queries the style for the control frame size, and then calculates the clip rectangle accordingly.
2013-12-17listview: painting of bottom right rectangle was all wrong.Graeme Geldenhuys
The little rectangle between the horizontal and vertical scrollbars was painted all wrong.
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-12-01Fixing Listbox hard-coded border width - fixes theming issues.Graeme Geldenhuys
As with the ComboBox before, the ListBox hard-coded a 2px border, instead of querying the fpgStyle for the theme's border widths.
2013-12-01Fixes hard-coded widget border size - fixes theming issuesGraeme Geldenhuys
The ComboBox widget never asked the fpgStyle the size of the theme border, and always assumed 2px, which was wrong. It now correctly queries the fpgStyle (current theme) for the border sizes.
2013-11-01hyperlink: default URL is now fpGUI website constant value.Graeme Geldenhuys
2013-11-01calendar: increased the dropdown window slightly of Calendar ComboboxGraeme Geldenhuys
just to make double sure no accidental scrolling occurs in calendar grid.
2013-11-01grid: The extra "+1" caused unnecessary scrollingGraeme Geldenhuys
This was evident in the Calendar Combobox with the focus date of 30 Nov 2013. The Sunday column was scrolled off the screen, even though there was space for it.
2013-10-31Adds a convenience function to the StyleManager classGraeme Geldenhuys
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-27Published some useful events for TfpgFileGrid and TfpgStringGridGraeme Geldenhuys
2013-08-27Published some useful events for TfpgRadioButton classGraeme Geldenhuys
2013-08-27published OnExit and OnEnter events for TfpgButton class.Graeme Geldenhuys
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-25tabs: Fixed the painting of tabs when positioned at tpBottom.Graeme Geldenhuys
* The text was not at the correct position (to high) * The tab height was not the same as when tpTop is used
2013-07-25tabs: Tab height is now correctly drawn - no hard-coded 21px height any moreGraeme Geldenhuys
2013-07-15tabs: ensures that scroll buttons are not visibleGraeme Geldenhuys
2013-07-15pagecontrol: tab height is not hard-coded any more.Graeme Geldenhuys
2013-07-15CreateComboBox(): specify the default height to be the same as in constructorGraeme Geldenhuys
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