summaryrefslogtreecommitdiff
path: root/src/corelib
AgeCommit message (Collapse)Author
2012-02-21Use unicode enabled types for the BMP loading code.Graeme Geldenhuys
2011-12-08New functions to return darker or lighter variations of a color.Graeme Geldenhuys
2011-12-06Hide the hint window when the mouse button is pressed.Graeme Geldenhuys
2011-12-02version bump to 0.8Graeme Geldenhuys
2011-11-29move declaration of TfpgEditBorderStyle so it is more accessible.Graeme Geldenhuys
This now makes it easier to reuse this border style declaration in other widgets. We need to refactor some other widgets too, that have there own border styles as well.
2011-11-21TfpgWindowBase now introduces a BringToFront() method.Graeme Geldenhuys
2011-11-07Timer related functions now check to see if global fpgTimers exists or not.Graeme Geldenhuys
2011-11-07new overloaded DumpStack() can now output to a TStringListGraeme Geldenhuys
It wasn't always desireable for DumpStack to output to the console, because it doesn't always exist, and the user will normally not see it if app is launched from a icon. We can now output that info to a stringlist, and display it to the end-user in whatever way we want.
2011-10-31report tool: move some images into standard images listJean-Marc Levecque
2011-10-26new handy function to covert individual R, G and B values into a TfpgColor ↵Graeme Geldenhuys
value.
2011-10-26TfpImageList.Items[] property is now set as the default property for the class.Graeme Geldenhuys
2011-09-13x11: implemented window grouping support used by some X11 window managers.Graeme Geldenhuys
2011-09-13new utility function to get the current executable nameGraeme Geldenhuys
2011-08-31add sharing options when opening po files.Graeme Geldenhuys
This doesn't have any affect under Linux, but it might under Windows.
2011-08-31pofile unit now uses the UTF-8 safe file functions.Graeme Geldenhuys
2011-08-31updates KeycodeToText() to use the new resource string constants.Graeme Geldenhuys
2011-08-31adds resource string constants for menu key shortcuts.Graeme Geldenhuys
- also updated the translation include files. ready for translation.
2011-08-26x11: removed trailing whitespaceGraeme Geldenhuys
2011-08-26x11: fixed a compiler hint about an invalid/unsafe typecast.Graeme Geldenhuys
2011-08-24added begin..end block to make code more readable.Graeme Geldenhuys
2011-08-24bugfix: Menu key never set consumed = True in key press processingGraeme Geldenhuys
2011-08-24reworked TfpgWidget.MsgKeyPress() to correctly handle keyboard shortcuts.Graeme Geldenhuys
processing order is now as follows; - widget that keypress occured it trys to handle the event. - then to keyboard shortcut processing for the widget's children - then work back towards the top-level form giving chance for keyboard navigation (tabstop) processing. eg: pressing Tab key - then let the top level form to keyboard shortcut processing eg: allowing MainMenu to process the event. - then allow the top level for to process OnKeyPress if such an event handler is implemented. - then if the top level form is not the MainForm, and the current top level form is not shown model, allow the application.mainform to process the keyshortcut in it's main menu.
2011-08-24Introduced DoKeyShortcut() into TfpgWidgetGraeme Geldenhuys
This is similar to HandleKeyPress() but takes into account the original widget that started the process, so it doesn't process that widget or its children twice.
2011-08-24Shift comes after Ctrl or AltGraeme Geldenhuys
In KeycodeToText(), 'Shift+' came before Ctrl or Alt. This is not normal practice, so I moved it.
2011-08-17TfpgCaret doesn't need it's timer enabled at creation.Graeme Geldenhuys
Now the internal blink timer only gets activating when a Canvas is assigned.
2011-08-17Fixed KeycodeToText that overwrote the ShiftState of previous values.Graeme Geldenhuys
2011-08-17GDI: Fixed the rubbish timer implementation.Graeme Geldenhuys
I was clearly smoking something that day! Anyway, the GDI timer is now correctly implemented, and doesn't push up the CPU load any more. No matter how long the timer runs for. The timer is much more accurate/consistent in firing as well. :-)
2011-08-17TfpgTimer refactoring.Graeme Geldenhuys
Refactored the TfpgTimer by introducing a TfpgBaseTimer and X11 & GDI Timer descendants. This now allows use to add platform specific extensions to the timer implementation.
2011-08-11changed string parameter to TfpgString typeGraeme Geldenhuys
2011-08-04imagelist Item[] property changed to plural Items[]Graeme Geldenhuys
This is consistent with other components in the RTL, FCL and even fpGUI itself.
2011-07-28Changed IFDEF around users unit in uses clause.Graeme Geldenhuys
It seems FPC only supports users.pp unit in Linux. Making this changes allows use to compile fpGUI under OpenSolaris too!
2011-07-25parameter handling improvementsGraeme Geldenhuys
Old behaviour was that we simply assumed the first parameter will be the X11 -display parameter. This is just WRONG! We now query the parameter list for the value of -display, that's if it exists in the first place.
2011-07-23wip stashGraeme Geldenhuys
2011-07-16added timestamp varibale to Mouse Parameter record structure.Graeme Geldenhuys
This is a placeholder for future use.
2011-07-14GDI: minor change to IUnknown interface code for FPC 2.5.1 compatibilityGraeme Geldenhuys
2011-07-06Numlock gets treated as a ShitfState in X11. Now disabled.Graeme Geldenhuys
See the comments in the code. This fixes lots of code that checks for the ShiftState values in key press events.
2011-06-17gdi implementation of GetWindowStateGraeme Geldenhuys
Now we can retrieve the WindowState of TfpgForm under both Linux and Windows.
2011-06-17minor code formatting changesGraeme Geldenhuys
2011-06-17Introduced a new property TfpgWindowBase.WindowStateGraeme Geldenhuys
This is an initial implementation for Linux only. Currently this property is read-only, but that alone is already very useful. Next I'll implement the Windows support, and later the read-write support.
2011-05-19New component TfpgReadOnly added to fpGUI.Graeme Geldenhuys
This component allows you to set all components on a form or embedded containers as ReadOnly = True/False by just toggling one property on TfpgReadOnly.
2011-05-19better debug output when needed.Graeme Geldenhuys
2011-05-19This code is not needed any more, as it was meant for FPC 2.2.x versions.Graeme Geldenhuys
Code cleanup was done. After all, FPC 2.4.0 and 2.4.2 has been out for ages.
2011-05-08Included Motif as one of the default registered styles in fpGUI.Graeme Geldenhuys
2011-05-08Corrected the button border sizes in the common style TfpgStyleGraeme Geldenhuys
2011-05-08added comments and fixed spelling mistakes in comments.Graeme Geldenhuys
2011-05-08globally renamed TFTextFlags to TfpgTextFlagsGraeme Geldenhuys
Somehow I forgot to rename this type when we introduced the 'fpg' prefix years ago.
2011-05-08globally renamed TFButtonFlags to TfpgButtonFlagsGraeme Geldenhuys
Somehow I forgot to rename that type name when we moved over to the 'fpg' prefix.
2011-05-06hook up the Style Manager.Graeme Geldenhuys
The fpgStyle global variable is now simply a reference to the current style in the fpgStyleManager. The Style Manager does the free'ing of the style too, so we simply need to tell the style manager when we want that done.
2011-05-06make the Style Manager available in the fpg_main unit.Graeme Geldenhuys
This is a bit of a cross-linking case, jumping from corelib code to gui code, but I can't see how this can be done any other way. After all, fpGUI is a GUI toolkit - not a non-gui utility library. For some strange reason the 'Win2000' and 'auto' did not register automatically, even though they are in the *.lpk package and in the initialization section. So I had to add that style unit to the uses clause. I need to investigate why this had to be done.
2011-05-06Just grouped the methods of TfpgStyle based on functionality and widgets.Graeme Geldenhuys
This is basically just some code formatting changes, making it easier for a developer to see what style methods related to what widgets - that's if the method names was not obvious enough. ;-)