summaryrefslogtreecommitdiff
path: root/src/corelib/fpg_main.pas
AgeCommit message (Collapse)Author
2010-10-28Implemented equals (=) operator for TPoint typeGraeme Geldenhuys
2010-10-28TfpgDrag.Execute: replaced Assert() calls with Exceptions.Graeme Geldenhuys
This does error checking before and DND gets triggered. The error messages must still be replaced with resource strings though.
2010-10-28TfpgDrag.Execute now has a default TfpgDropAction drop action of daCopy.Graeme Geldenhuys
2010-10-21changed system color for all inactive color variables.Graeme Geldenhuys
This applies to: clInactiveSel, clUnset, clGridInactiveSel I wasn't fond of the purple / faded blue color from before.
2010-10-15Minor improvement in fpgCheckTimers procedure.Graeme Geldenhuys
2010-10-15fpgApplication.OnIdle was never triggered under Windows.Graeme Geldenhuys
2010-10-11fpgApplication.ProcessMessages now process other events (eg: timers) too.Graeme Geldenhuys
The DoMessagesPending() only processed OS events, now ProccessMessages processes all events like the real event loop does. This gives a more expected behaviour to developers that write blocking loops etc.
2010-10-11new method, Pause(), introduced to TfpgTimerGraeme Geldenhuys
2010-10-11TfpgTimer constructor and Reset can now be extended in descendantsGraeme Geldenhuys
2010-10-04Splitter grabbar color is now a system color.Graeme Geldenhuys
2010-10-01fixed issue ID: 3030971 from SourceForge.Graeme Geldenhuys
When the date/time changes to an earlier date while an fpGUI application is running, all timers stopped firing. Under Windows all timers are reset. TODO: Found out what happens under Linux and how we can detected a date/time change.
2010-10-01bugfix for ID: 3064350 from SourceForge.Graeme Geldenhuys
* A default font size is now set. * The Writeln() statement is now hidden under IFDEF's like it was supposed to be.
2010-10-01minor improvement to fpgGetNamedColor - now using fpgIsNamedColor internally.Graeme Geldenhuys
2010-10-01new function introduced: fpgIsNamedColor()Graeme Geldenhuys
Then name says it all.
2010-10-01bugfix: SpinEdit sometimes caused an AV because fpgCaret could not paintGraeme Geldenhuys
2010-09-23implement the higher level TfpgDrag and TfpgMimeData classes.Graeme Geldenhuys
These are independant of the backend - they contain common code and interface. TfpgDrag will be used to initiate a drag action (acting as the source of a drag), and contain the data available for that drag action.
2010-09-23fpgApplication got a new property: StartDragDistance.Graeme Geldenhuys
This is the distance the mouse needs to move with the left button down, before it is considered a "drag action". Default value is 5 pixels.
2010-09-21Two new helper routines [fpgPoint() and fpgSize()] and lots of operator ↵Graeme Geldenhuys
overloading
2010-09-21DrawButtonFace(): Improved the look of Flat=True buttonsGraeme Geldenhuys
Flat=True (toolbar) style buttons now have a thinner border when the mouse hovers over them. They also have an improved look in Down=True state.
2010-09-20KeyPress events is now distributed to Widgets, then Form, then fpgApplicationGraeme Geldenhuys
* KeyPress is first offered to the focused widget * If not consumed, then to parent, then parent.parent etc.. * if still not consumed, then to top level form * if still not consumed, then to fpgApplication If anywhere in the sequence Consumed = True, then distribution of that event is stopped. This is the basic foundation required for various keyboard shortcut handling, actions shortcut handling, and especially in menus. The latter still needs some work though.
2010-08-29menu theming: refactored out the menu painting, into the TfpgStyle classGraeme Geldenhuys
* This gives us a bit more flexibility regarding the menu looks.
2010-08-05updated unit description.Graeme Geldenhuys
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 method Tfpgimage.ImageFromSource to create a cloned image.Graeme Geldenhuys
2010-05-07no comment.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-284 new predefined colors for grid usage.Graeme Geldenhuys
2010-04-25Hook the hint timer into the new OnShowHint event of TfpgWidget.Graeme Geldenhuys
2010-04-21new overloaded version of PrintCoord() helper procedure.Graeme Geldenhuys
2010-04-13Message Dialog buttons now use translated text.Graeme Geldenhuys
Initializing the cMsgDlgBtnText when it was declared is too early and the translated strings have not yet been loaded. We we update the array a bit later to make sure it is correct.
2010-03-30Replaced website address with a constant.Graeme Geldenhuys
2010-03-18Add support for changing the HintWindow and HintWindowClass at runtime.Graeme Geldenhuys
It now correctly frees the old hintwindow and recreates it with whatever the new hintwindowclass is.
2010-03-18WinCE: Now we can enable fpgCreateStandardImages again.Graeme Geldenhuys
2010-03-11use a more accurate message name for asking to be freed.Graeme Geldenhuys
The TfpgBaseForm needs to ask fpgApplication to free it, so we now use a new, and more appropriately named, message constant.
2010-03-10FPC compiler struggles with include files that don't have extensions.Graeme Geldenhuys
This issue is further complicated by Lazarus IDE. So to reduce issues, we appended the file with a .inc extension.
2010-03-08Updated the various programs and fpGUI library to use the new generate ↵Graeme Geldenhuys
version file. The VERSION-GEN script generates a VERSION-FILE file which contans the version number of fpGUI. This is now used in DocView, UI Designer and other example applications too.
2010-02-26Update copyright notice in all units.Graeme Geldenhuys
2010-02-23Initial support for WinCE devices, after a long break since v0.4.Paul Breneman
2010-02-22Removed IFDEf's in fpg_main by using fpg_interface unitGraeme Geldenhuys
* Introduced a new unit fpg_interface.pas which defines alias types. This binds the backend classes with fpg_main without the need for IFDEF's. * Rename all classes in fpg_x11 and fpg_gdi with platform specific class names.
2010-02-11Cross-build script for personal useGraeme Geldenhuys
* Created a Linux 64bit to 32bit cross-compile script for quick testing. This is only meant for me really. * Enabled C-style syntax. eg: += -= etc.. This reduces typing and is easy to read.
2009-12-29Add information text to the About fpGUI dialog.Graeme Geldenhuys
2009-12-10Forgot to free fpgApplicationt hint timerGraeme Geldenhuys
2009-12-10Tweak of color usage and the look of popup menusGraeme Geldenhuys
* Color now more closely matches WinXP colors * Improved the border look of popup menus and any 3d bevels * Replaced standard text drawing with fpgStyle text drawing * Menu dividers are now 3D and not flat black line
2009-10-16fpgStyles now has a FixedFont property as well.Graeme Geldenhuys
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
2009-10-09Operator overloading for TRect structure.Graeme Geldenhuys
2009-08-02Merge branch 'work'Graeme Geldenhuys
2009-08-02Fix compiler hint - unused unit in uses clauseGraeme Geldenhuys
Signed-off-by: Graeme Geldenhuys <graemeg@gmail.com>
2009-07-28Minor code formattingGraeme Geldenhuys
Signed-off-by: Graeme Geldenhuys <graeme@mastermaths.co.za>
2009-07-14Add new todo items so I don't forget themGraeme Geldenhuys
2009-06-26Updated translations with True/False constantsGraeme Geldenhuys
- Added new resource strings for True/False - Translated new resouce strings for all languages - On application initialization the RTL true/false strings are set according to the current active translation so BoolToStr() method will be localized.