summaryrefslogtreecommitdiff
path: root/src/corelib/fpg_base.pas
AgeCommit message (Collapse)Author
2010-09-23TfpgMimeDataBase: introduced a new raw Data property. Returns data as variantGraeme Geldenhuys
2010-09-23TfpgMimeDataBase: Fixed implementation of HTML property, and fixed ↵Graeme Geldenhuys
HasFormats() function
2010-09-23Two new MouseCursor shapes added. mcDrag & mcNoDropGraeme Geldenhuys
* X11 DND now changes the mouse cursor depending if a drop target is available or not
2010-09-23Oops, forgot to commit the TfpgDragBase class from earlier.Graeme Geldenhuys
2010-09-23two new classes introduced to manage data associated with mime types.Graeme Geldenhuys
TfpgMimeDataBase is a base class for data associated with mime types. TfpgMimeDataStruct is a simple data class. Currently I'm not sure if Variants are the way to go for storing data, so this might change in the future.
2010-09-23More well known drop actions added to TfpgDropActionGraeme Geldenhuys
2010-09-23Rename TfpgDragAction(s) to TfpgDropAction(s). A more correct description of ↵Graeme Geldenhuys
what they mean.
2010-09-23Renamed DND fpGUI message constants to keep with existing naming convention.Graeme Geldenhuys
2010-09-23New types and message constants for DND support.Graeme Geldenhuys
Also includes an abstract method that must be implemented by each backend to enabled DND for components or forms.
2010-09-21Two new types introduced: TfpgPoint and TfpgSizeGraeme Geldenhuys
The are of type "object" for static allocation, and includes easy initialization methods, and TfpgPoint introduces ManhattanLength (easy and quick way to determine distance between two points). See the class documentation for more information on ManhattanLength.
2010-09-21Removed compiler warnings.Graeme Geldenhuys
2010-09-20Moved GetClientRect() and GetBoundsRect() out of TfpgWidget into TfpgBaseWindowGraeme Geldenhuys
Now these functions are accessible to platform specific code too.
2010-09-04Replaced some RTL functions with fpGUI wrapper ones to handle Unicode text.Graeme Geldenhuys
2010-09-04Rearranged some constants and moved fpgAddColon() to fpg_utils unit.Graeme Geldenhuys
* Also added some new constants for future use.
2010-08-26GDI: Correctly implement clipboard support under Windows.Graeme Geldenhuys
This includes unicode text support.
2010-08-23Use fpGUI wrapper functions instead of RTL functions directly.Graeme Geldenhuys
fpGUI's wrapper functions handle unicode conversions from OS automatically.
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-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-05-12TfpgImageBase.Invert() now takes a boolean property to include the mask or not.Graeme Geldenhuys
Default is not to include the mask.
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-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-07ModalResult changed to a enum typeGraeme Geldenhuys
* Replaced all magic number modal results with actual enum values * UI Designer now uses enum combolist for ModalResult type in Object Inspector. * UI Designer now handles default values of ModalResult property correctly.
2010-03-30Removed modal result mrError. It's not needed any more and was a bad design.Graeme Geldenhuys
2010-03-18Casting not required any more.Graeme Geldenhuys
2010-03-18Setting MouseCursor at design time now works correctly under X11.Graeme Geldenhuys
2010-03-11changed some consant definitions, but values are still the same.Graeme Geldenhuys
2010-02-26Update copyright notice in all units.Graeme Geldenhuys
2010-02-03fixed re-declaration of HelpContext property in TfpgApplicationBase.Graeme Geldenhuys
2009-11-05Support for DocView's Context ID or Keyword ID added.Graeme Geldenhuys
2009-11-05More support for a help systemGraeme Geldenhuys
* Implemented InvokeHelp in TfpgWidget * implemented InvokeHelp and OnHelp event in TfpgForm * Implemented HelpConext, HelpKeyword and HelpType in TfpgComponent
2009-10-30IsFixedWidth fallback implementation for TfpgFontGraeme Geldenhuys
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
2009-10-23Very basic support for Help Files in fpgApplication.Graeme Geldenhuys
Still plenty to do, but at least it can launch the help viewer now. Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
2009-10-23New WindowPosition setting of wpOneThirdDown.Graeme Geldenhuys
Part of the "golden ratio" goodies. It seems to me more pleasing to the eye if a dialog is not 100% centered in the window, but rather 1/3 down of available vertical space. I think Mac OS X also does this.
2009-10-09Canvas.DrawString() help.Graeme Geldenhuys
The coordinates of DrawString is the top/left corner of the string. So the actual text appears below y.
2009-04-04* Migrated SubVersion repository to Git.Graeme Geldenhuys
* Minor changes to copyright dates to test git commits.
2009-03-13no commentsgraemeg
2009-02-04* CustomGrid now calls Update instead of Repaint. This now conforms to ↵graemeg
BeginUpdate..EndUpdate requests. * StringGrid now has a Clear method.
2009-02-04* added a custom user message constant.graemeg
* prevent AV when tooltip owner window is released. * language update
2008-12-09* Added fpgApplicationRemoveWindowFromModalStack so windows that are in the ↵drewski207
stach make sure to remove themselves when destroyed * Added 2 new attributes to TWindowAttributes waUnblockableMessages, waX11SkipWMHints * waUnblockableMessages is useful for allowing certain windows to still respond when other windows are modal
2008-10-20* Due to TThreads sometimes being used for posting messages to the ↵graemeg
application event queue, the event queue must be made thread safe. I think this is how it is done. Please test or advise of a better idea - I am new to TThreads.
2008-10-15* Added an example fpmake program contributed by Henry Vermaak. Showing how ↵graemeg
the new FPC build system can be used with fpGUI. * Removed some compiler warnings.
2008-10-06* Implemented the speedup feature in SpinEdit.graemeg
* Added a few more bug fixes to SpinEdit unit.
2008-10-05* Added a new Canvas.DrawPolygon() methodgraemeg
* Added a new unit fpg_extgraphics.pas with extensive shape drawing methods * Added a new conversion method called fpgRectToRect() * Replaced the implementation of TfpgStyle.DrawDirectionArrow to use the new fpg_extgraphics.PaintTriangle() method instead. * Adjusted ComboBox painting of internal button to accomodate the new fpg_extgraphics unit. * Added Jean-Marc's new fpg_spinedit unit. * Made some further improvements and minor fixes to the SpinEdit and SpinEditFloat components. * renamed the fpdoc file fpgfx.xml to fpg_main.xml as per the new unit names.
2008-09-30* Implemented a correct TfpgWindow.HasParent method.graemeg
* Fixed the TfpgCanvas.CopyRect method * Implemented a overloaded SortRect() method using TfpgRect.
2008-09-27* Rename all corelib units to the new naming convention.graemeg
* Updated the UI Designer to use the new unit names.