summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-11-18PageControl: introduced BeginUpdate and EndUpdate methods.Graeme Geldenhuys
Because new now only paint inside the HandlePaint() method, we need some optimization while setting properties. BeginUpdate now blocks painting until EndUpdate it called.
2010-11-18PageControl: tabs painting is now only done in HandlePaint()Graeme Geldenhuys
Painting outside the HandlePaint is possible but very unpredictable, so it is best we do not do it.
2010-11-18This X11 work-around doesn't seem to be needed anymore.Graeme Geldenhuys
Now that the Align issues have been resolved, this work-around is not needed any more. Commented, it now produces the exact same events as under Windows too. This is good, obviously. :)
2010-11-18TfpgWidget.SetAlign called the wrong ReAlign() method.Graeme Geldenhuys
Not calling Parent.Realign ment we (self widget) is not being resized (excluded from the re-align calculation), and thus the self widget status at its current location and dimentions - until the end-user actually resizes the top-level form. This has now been fixed. NOTE: If you create extra widgets (eg: frames) outside the control of the UI Designer, but still created before resource handles are created, and you use Align property in those widgets, you need to rather create those in Form.OnShow(). Align changes are not always acted apon before they have a window handle, so it's best to do it in Form.OnShow for example. I'm still figuring out how best to handle this.
2010-11-18grids: A massive speed improvement in destroying a grid with large amounts ↵Graeme Geldenhuys
of columns.
2010-11-16ReadFormState in INI handling can now ignore size dimensions if needed.Graeme Geldenhuys
This is handy if you apply version version information to your ini files, and on a new version the program must ignore the old size values (because that sepecific form might have changed dimensions at design time).
2010-11-15Fixed compiler errors when DEBUG define is defined globally.Graeme Geldenhuys
2010-11-15A new compiler define for debuging GDI key input messages.Graeme Geldenhuys
2010-11-12checkbox: improved painting, and slight adjustment to image positionGraeme Geldenhuys
* Before, the image was 4 pixels away from the left, in default layout So when you align many components with there left edges, it looked as if the checkbox widget wasn't aligned correctly. * Now the image is only 2 pixels from the edge, so aligning with other widgets looks much better. * Focus rectangle is now only drawn around the text portion of the widget too. This is now similar to most OSes.
2010-11-12ComboBox widget now has a AutoSize property default set to FalseGraeme Geldenhuys
* ComboBox was always auto sized which is not always desired. We now have a property to control that behaviour. * Default is False, in preperation for layout managers which control the size. * Widget frame borders are now retrieved from the current Style instance. * default Height is set to 24px. The same default used for TfpgEdit widget. Default sizes have been moved up into TfpgBaseComboBox, out of TfpgBaseStaticCombo.
2010-11-12Edit widget: changed AutoSize default to FalseGraeme Geldenhuys
* This was done in preperation for layout managers which will control widget sizes, and AutoSize will just interfere. * Default Height is now set at 24px (same as what it was before with default Arial font) * Also implementeted setter for AutoSize property. This now correctly adjusts the widget set when the property is changed to True.
2010-11-12extension to TfpgStyle. functions to return widget border sizes.Graeme Geldenhuys
2010-11-12X11: extra checks and precautionsGraeme Geldenhuys
2010-11-12Extra check in SetPosition, so we don't trigger it needlessly.Graeme Geldenhuys
2010-11-12Added "call stack debugging" for internal use.Graeme Geldenhuys
It's disabled by default. Enabling can be done via project level or inside each unit at the beginning of such units.
2010-11-12New debugging methodsGraeme Geldenhuys
Used internally, but could be used in developers own software too.
2010-11-12fpgApplication.CreateForm implementation has changed, but end result is the sameGraeme Geldenhuys
Apparently it is good to allocate a instance, without calling the constructor. I'm not exactly sure why, but it also makes supporting FPC 2.5.1 a lot less messy (no casting required).
2010-11-12Position the cursor correctly inside a Edit with text.Graeme Geldenhuys
Old behaviour was that the beginning of long text was scrolled off the left of the edit, so you saw the end of the text. Now we should see the beginning of the text and the end of the Text is out of view on the right.
2010-11-11Bumped the version number so it's newer than the last release.Graeme Geldenhuys
2010-11-11updated website url constantGraeme Geldenhuys
2010-11-11about fpgui dialog: improved the wording.Graeme Geldenhuys
2010-11-11File Open/Save dialog now reacts to ENTER key pressGraeme Geldenhuys
Another one of those annoyances I had to fix. When I enter a file name to save and want to press ENTER to save and close the dialog.
2010-11-11listview bugfix: removed index out of bounds errorGraeme Geldenhuys
2010-11-10Implemented some overlooked methods for Listview subitems.Andrew Haines
2010-11-10Fixed bug where images would be drawn over the headers when partially ↵Andrew Haines
scrolled. DrawImage does not obey the cliprect.
2010-11-10Implemented painting Listview Subitems iconsAndrew Haines
TfpgListView.Subitems is actually TfpgListViewSubItems and can be casted as such to alter the imageindex of subitems Updated the example so subitems have an assigned imagelist
2010-11-10Started implementing Icons in listviewAndrew Haines
Fixed a crash in the listview example when it was closing Updated listview example to use icons
2010-11-08Listview selection now uses an avl tree which is much faster than TList with ↵Andrew Haines
a large amount of items Commented a stray WriteLn
2010-11-08Menu's now invert the color the arrow for submenu's so they are visible when ↵Andrew Haines
highlighted
2010-11-08Improved listview selection so that it is more reliableAndrew Haines
2010-11-09* Added property IgnoreDblClicks to TfpgWidgetAndrew Haines
* TfpgButton now ignores double clicks by default
2010-11-08Revert "Merge branch 'master' of ↵Graeme Geldenhuys
ssh://fpgui.git.sourceforge.net/gitroot/fpgui/fpgui" Andrew is finding is training wheels with git. This reverts commit e320dfae6add39c66ea554dbb161a844ee06db4d, reversing changes made to 735aec8207036adb17f2174ffcb9056bee712ed3.
2010-11-05Merge branch 'master' of ssh://fpgui.git.sourceforge.net/gitroot/fpgui/fpguiAndrew Haines
2010-11-01PageControl: Right click popup menu caption now shows tab you clicked overGraeme Geldenhuys
* The popup menu caption changes if you click over any non-active tabs * Selecting the popup menu item, closes the tab you clicked over - no need to set it as the active tabsheet first, before closing.
2010-11-01fpg_tab: Refactored HandleLMousUp and extracted most of the code into a newGraeme Geldenhuys
method called TabSheetAtPos(). This allows the developer to reuse this method too for other things.
2010-10-29New Grid HeaderStyle property, and new Canvas/Style.DrawBevel() methodGraeme Geldenhuys
Grid.HeaderStyle has Button, Thin and Flat options New DrawBevel can draw a bevel raised or lowered using standard system colors. Quite similar to TfpgBevel. New DrawBevel() method and new Grid.HeaderStyle option.
2010-10-29TfpgButton.Down property didn't have a default in property declaration.Graeme Geldenhuys
2010-10-29bugfix: button click via keyboard was broken.Graeme Geldenhuys
When I changed the DoubleClick and SingleClick behaviour I accidently broke the 'click via keyboard' (Enter or SpaceBar).
2010-10-29Removed the stray writeln() statement.Graeme Geldenhuys
2010-10-29Code cleanup by removing leftover writeln() statements.Graeme Geldenhuys
2010-10-29Fixed Windows DND memory leaks.Graeme Geldenhuys
2010-10-29Published the DND propertys for some of the most used components.Graeme Geldenhuys
This is so they can be tested. Once DND stabilizes, I'll make the properties available on the other components too.
2010-10-29More DND debugging code for TfpgGDIDrag class.Graeme Geldenhuys
2010-10-29Moved OnDragStartDetected from TfpgWidget to TfpgWindowBaseGraeme Geldenhuys
* also introduced virtual DoDragStartDetected which executes the OnDragStartDetected event * We also added a override of DoDragStartDetected in GDI for some extra tasks.
2010-10-29Updated X11 code due to property changes in TfpgMimeDataItem class.Graeme Geldenhuys
2010-10-29Added DND debugging entries and minor code formatting improvements.Graeme Geldenhuys
2010-10-29Applied same logic in X11 to OLE DND regarding preferred mime choiceGraeme Geldenhuys
Mime types should be registered from most specific (first item in mime list) to least specific (last item in mime list). The preferred mime choice will be the first item in the list. Raise an error if the mime list doesn't contain data.
2010-10-29Bugfix in EnumDataToStringList()Graeme Geldenhuys
We can't just go adding mime types without actual data associated with each entry. So now we match the mime stringlist to exact data count in IDataObject
2010-10-29Slight improvement to the WindowsClipboardLookup method.Graeme Geldenhuys
* Introduced a new parameter to know if we translated the mime type to a known Windows CF_ clipboard type. * Fixed the spelling mistake in the function name
2010-10-29Implemented a working TfpgGDIDrag.ExecuteGraeme Geldenhuys
Finally we are getting somewhere with OLE DND.