summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-08-24splitter AutoSnap property added and OnSnap event.Graeme Geldenhuys
2010-08-24splitter: When double-clicking splitter, it now snaps closed if AutoSnap is set.Graeme Geldenhuys
2010-08-24New wrapper (fpgChangeFileExt) created for fpGUI.Graeme Geldenhuys
This handles the OS encoding correctly, like the other wrapper functions.
2010-08-24treeview: When setting the Selection property, the selected nodeGraeme Geldenhuys
is now correctly scrolled into view (even if nodes had to expand). To make things look even better, the selected node is now centered vertically in the tree view.
2010-08-23Fix compilation error under Windows.Graeme Geldenhuys
2010-08-23Use fpGUI wrapper functions instead of RTL functions directly.Graeme Geldenhuys
fpGUI's wrapper functions handle unicode conversions from OS automatically.
2010-08-22Introduced a new cross-platform fpgFileSize() helper function.Graeme Geldenhuys
2010-08-19Scrollbars now have disabled arrow button state at Min or Max values.Graeme Geldenhuys
Thanks to Jean-Marc Levecque for the idea.
2010-08-19Gray Brightness Percentage has been adjusted.Graeme Geldenhuys
* Old value was 20 which gave slightly too dark "greyed" images. * New value of 40 works nice all round.
2010-08-19Fixed preloading of new Arrow images.Graeme Geldenhuys
* I forgot this in the previous patch. New arrow images are masked.
2010-08-19Images: updated standard arrow images.Graeme Geldenhuys
* They used to be Indexed BMP, now they are RGB BMP's. fpGUI doesn't handle Indexed images well - I'm working on better image support. * Updatet the script to generate image include file under Linux. * Rebuilt stdimages.inc file.
2010-08-19Here attached is a patch for EditCombo implementing the use of Charmap forJean-Marc Levecque
special characters, the same way as already done with EditText.
2010-08-19Menus: Minor bugfix in popup menus. OpenerMenuBar is not always assigned.Graeme Geldenhuys
Popup menus can of course be used without a Main MenuBar, so I have to do some extra checking first before I call InternalReset.
2010-08-19Here attached is a little improvement for SpinEditJean-Marc Levecque
It allows the high and low limit values to be reached when up/down keys are maintained pressed, same as when mouse is maintained on the up/down arrows.
2010-08-19MenuBar: bugfix - clicking disabled menu items should not toggle internal ↵Graeme Geldenhuys
FClicked.
2010-08-19Treeview: repaint tree after FullCollapse or FullExpand calls.Graeme Geldenhuys
2010-08-18MenuBar Open/Close popup menus bug.Graeme Geldenhuys
This change fixes the last issues, depending on the MenuOptions set. Now all menu options behave as they should. Clicking the second time on the same menu items now correctly closes the popup menu etc.
2010-08-18Popup Menu: fixes last selected item still focused bug.Graeme Geldenhuys
* When you selected a menu item, and then later open that popup menu again, that last selected item has focus. Now that focus is reset when the user selected a menu item. Another loooong overdue bug fix.
2010-08-18MenuBar: fixed menu selectio/focus issueGraeme Geldenhuys
* Menubar is not focusable, so our check for Is Focusable will never be true. * Menubar now has normal behaviour again. When you click, a menu opens, click again and menu closes. * Click to open menu and then move mouse over other menus, opens other popup menus. I can't believe this bug was over a year old!!! :-/
2010-08-18Treeview: Bumped up the visibility of some handy methods.Graeme Geldenhuys
2010-08-18TreeNode.Append() changed parameter name to something more meaningful.Graeme Geldenhuys
2010-08-18Treeview: Introduced a new method TfpgTreeNode.MoveTo()Graeme Geldenhuys
Tree nodes can now be moved around in the tree. Behaviour is controlled with the TfpgNodeAttachMode parameter.
2010-08-18Treeview: Two now methods added. FullCollapse and FullExpand.Graeme Geldenhuys
2010-08-18Treeview: Tree nodes now track which tree they belong with.Graeme Geldenhuys
2010-08-12imagelist: in the destructor, rather call .Free and not .DestroyGraeme Geldenhuys
2010-08-11TfpgImageList: Added a Clear method.Graeme Geldenhuys
2010-08-10Alignment bugfix: TfpgWidget.DoAlign never checked if widget was visible or notGraeme Geldenhuys
If widgets are not visible, they are not added to list of widgets that need to be re-aligned.
2010-08-05updated unit description.Graeme Geldenhuys
2010-08-02Added VERSION_FILE.inc to fpgui_toolkit.lpk packages and updated version.Graeme Geldenhuys
2010-07-22ListView: Introduced new .NewItem method.Graeme Geldenhuys
* This differs from .AddNew, in that it doesn't add the newly created item to the Items list. The developer can decide to insert it anywhere, or add it to the end of the Items list.
2010-07-22ListView: introduced new .AddItem method and marked old .ItemAdd deprecated.Graeme Geldenhuys
2010-07-22ListView: Fixed memory leak in ListView.Items handling.Graeme Geldenhuys
2010-07-22ListView: Fixed memory leak in ListView.Columns handling.Graeme Geldenhuys
2010-07-19TfpgFileGrid - published the new Options property.Graeme Geldenhuys
* also sorted the properties
2010-07-13PtInRect failed if point was on right or bottom border.Graeme Geldenhuys
This fixes the Button Click bug where if you clicked on the button right or bottom border, the button press state was shown, but the Click never occured.
2010-07-05Extended TfpgButton to paint disabled images when needed.Graeme Geldenhuys
Again, this uses the new grayscale filter to paint a disabled image when Enabled = False.
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-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