summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-05Extended TfpgImage with a new CreateDisabledImage() method.Graeme Geldenhuys
This uses the new GrayScale Filter to create a grayscale image.
2010-07-05New unit (fpg_imgutils)Graeme Geldenhuys
* This will contain various utility functions to works on images. * Implemented a GrayScale Filter function.
2010-07-05new method Tfpgimage.ImageFromSource to create a cloned image.Graeme Geldenhuys
2010-07-05TfpgImageBase now remembers the co-ordinates used for the mask.Graeme Geldenhuys
This is handy when you want to do later image manipulation, and working on a cloned image.
2010-07-02Bevel Example: added an extra option to change BorderStyle at runtime.Graeme Geldenhuys
2010-07-02fpg_panel: bsVerDivider now takes BorderStyle into account.Graeme Geldenhuys
If BorderStyle = bsDouble, it now paints two dividers.
2010-07-02fpg_panel: Improved the sucken look by using the correct shadow color.Graeme Geldenhuys
A lighter shaddow looks better for indentation than a dark shadow.
2010-07-02fpg_panel: BorderStyle only really applies to bsBox styleGraeme Geldenhuys
The code now reflects that. All other bsXXX style use a single pixel solid line.
2010-07-01TfpgBevel has a new Shape type: bsVerDividerGraeme Geldenhuys
It's similar to bsLeftLine, but looks a bit prettier. :-) It could also possibly be used as a grab handle for movable toolbars in the future.
2010-07-01fpg_panel: Refactored the HandlePaint method.Graeme Geldenhuys
* It was extremely hard to maintain that method as all Shape types drawing code are mixed together. * Not all shape types (eg line top,bottom,right,left) was painted 100% because of shared code. * Each shape type now has its own DrawXXX method, with the result both issues mentioned above are resolved.
2010-07-01fpg_panel refactoredGraeme Geldenhuys
FPanelShape is only required in TfpgBevel, so I removed from all other classes.
2010-06-29Calendar Combo: Correctly position Month popup menu.Graeme Geldenhuys
If there isn't space at the bottom of the Month Edit, then place the Month popup menu above the Month Edit. We had to introduce a friend class, to get access to the protected PrepareToShow method.
2010-06-29Calender Check Combo: when unchecked and you select date, it must show checked.Graeme Geldenhuys
The internal state was updated to checked, but visually it still looked unchecked. A simple call to Repaint fixes this.
2010-06-29Popup menu: Added some spacing after menu item text.Graeme Geldenhuys
We had spacing in front of menu item text for in case we use an image. But this made text look off-centre, so we added some space after text as well.
2010-06-29Combobox: no point having protected methods that are not virtual.Graeme Geldenhuys
2010-06-29Removed special characters from code comments.Graeme Geldenhuys
2010-06-29GDI: minor code formatting.Graeme Geldenhuys
* also improved if..else for WindowType * Moved AdjustWindowStyle to after all checks for WindowType so user could override it if needed.
2010-06-29Calendar: DontCloseWidgset property doesn't actually need to be set in this ↵Graeme Geldenhuys
case.
2010-06-29Removed forgotten debug line.Graeme Geldenhuys
2010-06-29bug fix: Calendar Combo year & month popups didn't work under Windows.Graeme Geldenhuys
This was caused due to a few longs of old and outdated hack code. Removed the hack, and the problem is gone! :-)
2010-06-29Doc update: improved descriptions of wtXXX window type enums.Graeme Geldenhuys
2010-06-28Calendar: Implemented year select popup window when clicking the Year in ↵Graeme Geldenhuys
calendar. Now end-users can quickly move through years, 10 at a time - forward or backwards.
2010-06-28Checkbox Calendar: Clicking the checkbox didn't repaint the display.Graeme Geldenhuys
No idea how I missed that one! Anyway, fixed now.
2010-06-28Checkbox Calender: Bug fix in SetDateValueGraeme Geldenhuys
* The validation that was done, was done with the internal date value, instead of the new date value passed in. Oops! * Removed some old commented code.
2010-06-28Calendar Test: add 'Single Click Close' checkbox.Graeme Geldenhuys
2010-06-28popupcalendar: minor fix to code to remove compiler hint. Unused variable.Graeme Geldenhuys
2010-06-28publish Alignment property for hyperlink labelGraeme Geldenhuys
2010-06-28Simple code formatting fixGraeme Geldenhuys
2010-06-25Calendar: adjust day if needed when new month is selected.Graeme Geldenhuys
eg: if current day is 31, and we select February, adjust day to 28 or 29 (last day of Feb).
2010-06-25Calendar: Implemented month selection popup menu when clicking on Month editbox.Graeme Geldenhuys
2010-06-23PopupWindow: Moved all PopupFrame painting inside HandlePaint.Graeme Geldenhuys
It is not good to paint outside the paint event handler - you could get undesired side effects.
2010-06-17docs: some Mac OSX information.Graeme Geldenhuys
This information was gathered from users that emailed me. I don't own a Mac, so couldn't try this myself.
2010-06-17Calendar Combo: Selecting dates outside current month is now ignoredGraeme Geldenhuys
Before if you select for example 29 of previous month, it selects the 29th of the current month. This could cause problems with shorter months so now selecting days in grey (previous or next month) are ignored.
2010-06-17Calendar Combo: implemented Single Click Select.Graeme Geldenhuys
* When enabled with CloseOnSelect, then as soon as the end-user selects a date with a single click, the dialog is closed. * When enabled without CloseOnSelect, then the date value is changed as soon as use single clicks on a date.
2010-06-17Minor documentation update.Graeme Geldenhuys
2010-06-12TextEdit: Implemented text selection via keyboard.Graeme Geldenhuys
2010-06-12TextEdit: Unicode enabled some code to correctly calculate text sizes.Graeme Geldenhuys
2010-06-12TextEdit: Fixed confusion between X, Y values for text selection handling.Graeme Geldenhuys
2010-06-12TextEdit: Scrolling past EOF now increases Scrollbar.Max value too.Graeme Geldenhuys
2010-06-12TextEdit: UpdateScrollBars already call UpdateScrollBarCoord so here it is ↵Graeme Geldenhuys
not needed.
2010-06-12TextEdit: keeps scrollbar position in sync when using Up/Down arrow keys...Graeme Geldenhuys
...to scroll text.
2010-06-12TextEdit: fixed sync between textedit content and scrollbars.Graeme Geldenhuys
2010-06-11TextEdit: Ctrl + Up/Down Arrows now keeps the scrollbar in sync too.Graeme Geldenhuys
2010-06-11TextEdit: implemented PgUp and PgDn key support.Graeme Geldenhuys
2010-06-11Scrollbar: New convenience functions added.Graeme Geldenhuys
These functions set a new scrollbar position and fires the OnScroll event.
2010-06-11Updated project settings for TextEdit test app. Now debugging works.Graeme Geldenhuys
2010-06-10TextEdit: Implemented Home and End keyboard navigation.Graeme Geldenhuys
2010-06-09docs: Explaining the grid layout used by TfpgRectGraeme Geldenhuys
vs the grid layout used by Types.TRect used by the RTL.
2010-06-08Some new docs for fpg_widget.pas unit.Graeme Geldenhuys
Important point is the explanation for the Anchors property and how fpGUI uses it.
2010-06-08doc scripts: Minor update to run successfully under FPC 2.4.1Graeme Geldenhuys
NOTE: There are major bugs in fpdoc from 2.4.1 and 2.5.1 which causes all kinds of parsing errors, so some code (classes, procedures etc.) my be left out of the documentation unexpectedly.