summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-05-28Scrollbar: All painting is now done from inside HandlePaintGraeme Geldenhuys
This is now safer and more consistent with all other fpGUI components.
2010-05-25Disable grid smooth scrolling by default.Graeme Geldenhuys
I don't want to alter behaviour of existing fpGUI applications.
2010-05-24grids: 90% of smoothscrolling support is implemented.Graeme Geldenhuys
It now needs lots of testing though!
2010-05-24grids: Removed todo items that are completed.Graeme Geldenhuys
2010-05-23New Input Query (text) Dialog and global function fpgInputQuery().Graeme Geldenhuys
2010-05-23Moved the global dialog functions to the fpg_dialogs.pas unitGraeme Geldenhuys
(out of the include files)
2010-05-17GDI: did not handle waBorderLess window attribute.Graeme Geldenhuys
2010-05-15Published some new events in TfpgForm.Graeme Geldenhuys
They were available in TfpgWidget, so why not make them available in TfpgForm as well.
2010-05-15When using ICommand (aka actions) it takes preferences over OnClick event ↵Graeme Geldenhuys
handler.
2010-05-14JPEG image loading supportjp anghel
2010-05-12overridden fpgForceDirectories() method implemented which handles OS encoding.Graeme Geldenhuys
2010-05-12Moved Check image drawing out of TfpgMenuItem.DrawText()Graeme Geldenhuys
* As the method name indicates, it is only supposed to draw text. The check mark drawing is now done in TfpgPopupMenu.DrawItem(). The same location where submenu arrow etc is drawn. * We also now took advantage of the AItemFocused parameter to draw the check mark in inverted colors when selected.
2010-05-12TfpgPopupMenu's DrawItem() and DrawRow() now as AItemFocused propertyGraeme Geldenhuys
This allows us more flexibility in how to draw menu items.
2010-05-12TfpgImageBase.Invert() now takes a boolean property to include the mask or not.Graeme Geldenhuys
Default is not to include the mask.
2010-05-07no comment.Graeme Geldenhuys
2010-05-07Edit: removed redundant background painting code for BaseNumericEdit.Graeme Geldenhuys
* now read-only and disabled states display correctly.
2010-05-07Merge branch 'master' of ssh://fpgui.git.sourceforge.net/gitroot/fpgui/fpguiGraeme Geldenhuys
2010-05-07Popup Menu now paints the Checkmark when a MenuItem.Checked = True.Graeme Geldenhuys
* Thanks to JP Anghel for the initial patch. * I added some mods by replacing magic numbers with a constant. * I also removed some old commented code.
2010-05-06New image for Checked menu items.Graeme Geldenhuys
2010-05-05Minor optimization in property settings order for CreateLabel()Graeme Geldenhuys
2010-04-30Make doubly sure the TagPointer is nil.Graeme Geldenhuys
2010-04-30Fixed bug in TfpgImage.ImageFromRect() where UpdateImage was called to early.Graeme Geldenhuys
This resulted in a black (empty) image.
2010-04-30X11: Fixed bug where 1x1 rectangle is not drawn.Graeme Geldenhuys
2010-04-30Fixed resource allocation of ColorWheel.Graeme Geldenhuys
We called the image.UpdateImage to early. We are only supposed to do it after we populated the imagedata arrow with color values.
2010-04-30BaseGrid: OnRowChange and OnFocusChange does not occur.Clemens Capitain
When a grid has zero rows and you add a row, neither OnRowChange nor OnFocusChange get fired. This patch fixes this.
2010-04-29unit description update.Graeme Geldenhuys
2010-04-29Added hint directives for non-portable properties.Graeme Geldenhuys
This is simply to notify the developers when they are using a platform specific feature. Obviously this is ok and can safely be ignored if they are only developing for one platform.
2010-04-29Fixed code to remove compiler warnings/hints.Graeme Geldenhuys
2010-04-29TRGBTriple conflicts with a declaration in the Windows unit.Graeme Geldenhuys
* I introduced a new record type TFPColor (same as the declaration in the FPImage unit. I also introduced new conversion functions that work with TFPColor. * I marked the TRGBTriple type as deprecated. * I replaced all TRGBTriple usage with TFPColor.
2010-04-29New "Select Color" dialog added to fpGUI.Graeme Geldenhuys
Not 100% complete yet, but the first tab is working.
2010-04-28Remove todo items already completed.Graeme Geldenhuys
2010-04-28TfpgBaseGrid now has a new option and property: alternative colorGraeme Geldenhuys
The AlternativeBGColor property only takes affect when the go_AlternativeColor grid option is enabled. go_AlternativeColor also takes preference over ColumnBackgroundColor[]
2010-04-28TfpgBaseGrid now updated by using new predefined grid colors.Graeme Geldenhuys
2010-04-28Listbox now updated with 4 new predefined colors.Graeme Geldenhuys
2010-04-284 new predefined colors for grid usage.Graeme Geldenhuys
2010-04-26Add PopupMenu property to StringGrid.Graeme Geldenhuys
At the moment the popup menu only appears if user clicks outside the Header row. Maybe this behaviour will become user selectable in the future.
2010-04-25minor change to TfpgWidget.Graeme Geldenhuys
2010-04-25Refactored out all common code in the various composite editbutton type ↵Graeme Geldenhuys
components. We now introduced a new TfpgBaseEditButton class which contains all the common code. This greatly reduced code duplication and the amount of code needed in the FilenameEdit, DirectoryEdit and FontEdit components.
2010-04-25Publish the new OnShowHint for all other widgets in fpGUI.Graeme Geldenhuys
2010-04-25Hook the hint timer into the new OnShowHint event of TfpgWidget.Graeme Geldenhuys
2010-04-25Introduced new event for TfpgWidget called OnShowHint.Graeme Geldenhuys
This event will get fired just before a hint is displayed. You can use this this event to adjust the Hint text to make it more dynamic.
2010-04-22TfpgINIFile: Replaced standard RTL function with fpGUI wrapper version.Graeme Geldenhuys
2010-04-22New Unicode wrapper function added: fpgExtractFileExt()Graeme Geldenhuys
2010-04-21Fixed scroll buttons in PageControl when tabs are left|right positioned.Graeme Geldenhuys
2010-04-21Grids: Raised the visibility of the Font property.Graeme Geldenhuys
Now we can access the internal Font instance when we do things like custom Cell drawing etc.
2010-04-21fpg_editbtn.pas: Added ReadOnly properties to all three components.Graeme Geldenhuys
2010-04-21Edit: fixed vertical centering of text.Graeme Geldenhuys
Before we had a hard-coded top co-ordinate for the text. This caused problems when the TfpgEdit.Height was adjusted for some reason. So now we rather use the Canvas.DrawText() and give it a rectangle and text flags so text output can be calculated correctly. This is very useful for inline editing in a StringGrid. Internally Canvas.DrawText calls fpgStyle.DrawString, so custom styling should still be applied.
2010-04-21new overloaded version of PrintCoord() helper procedure.Graeme Geldenhuys
2010-04-21Grid.OnDrawCell: The drawstate set was not correctly reset after each loop.Graeme Geldenhuys
This caused the OnDrawCell AFlags variable to always contain gdSelected and gdFocused - which made OnDrawCell event handlers rather useless. This is now fixed!
2010-04-20PageControl: has a new property Options.Graeme Geldenhuys
Two new Tab Options are available, but only one is implemented so far. to_PMenuClose : Show the 'Close Tab' in popup menu to_PMenuShowAvailTabs : When implemented will list available tabs and change active tab to the selected one. By default the Options property is empty.