summaryrefslogtreecommitdiff
path: root/src/corelib/x11
AgeCommit message (Collapse)Author
2012-11-20It seems I was wrong, the .Height property is indeed the correct value to use.Graeme Geldenhuys
Some fonts like "Anonymous Pro" have characters like ( or ) that is larger (taller) than capital letters. Using the .Height property make multi-line text with ( or ) symbols not touch. This issue was noted in the TfpgTextEdit widget used in Maximus IDE.
2012-10-26Adds a System Tray Icon implementation for X11.Graeme Geldenhuys
This has been a long awaited feature. There is still some functionality missing and some more tweaks that need to be applied, but this implementation does work. It has been tested under JWM (Joe's Window Manager), MATE (Gnome2 fork) and KDE 4.8.x The Windows implementation will follow shortly.
2012-10-25minor changes for Xlib api usage.Graeme Geldenhuys
I'm not sure if this changes is needed any more for the latest FPC though. Anyway, now it is consistent with most other usages of Xlib API and boolean values.
2012-10-25Fixes compiler hint about TWMStateType not being used, but when in fact it ↵Graeme Geldenhuys
is being used. Hopefully this code changes make it more clear.
2012-10-25Adds missing clearing of record structure before use.Graeme Geldenhuys
The XLib man pages clearly state that the TXEvent structure must be cleared to 0 values before use.
2012-10-25minor code formatting fixesGraeme Geldenhuys
2012-10-25Fixes compiler hints about unused local variables.Graeme Geldenhuys
2012-08-16x11: Improved to code's intention and meaning.Graeme Geldenhuys
2012-08-16x11: Supported ATOMS are now actually populated.Graeme Geldenhuys
Unknowingly the NetWindow features were broken, eg: Fullscreen didn't work etc because they exit too early out of the functions due to an empty FAtomSupported[]
2012-08-16improved the clarity of one code comment.Graeme Geldenhuys
2012-08-16minor code formatting changes.Graeme Geldenhuys
2012-08-01Updates te fpgui_toolkit.lpk (lazarus packages) with the reporting engine units.Graeme Geldenhuys
* I also updated the windows version of the package with some missing units.
2012-07-31x11; FcFontSetDestroy() is defined in libfontconfig, not libXft.Graeme Geldenhuys
I confirmed this using OpenSuse 12.1 as a test.
2012-04-10x11: adds a new compiler define in the lazarus package to control AggPas ↵Graeme Geldenhuys
support.
2012-03-29x11: Enabled Smart-Linkable support for the fpgui_toolkit packageGraeme Geldenhuys
2012-03-19x11: fix color shifting due to Alpha channel introduction.Graeme Geldenhuys
2012-03-19updates search paths for AggPas in fpgui_toolkit.lpk packages.Graeme Geldenhuys
2012-03-16x11: AggPas needs acess to the internal XImageGraeme Geldenhuys
2012-03-16freetype: apparently specifying the base library name is enough.Graeme Geldenhuys
2012-03-16x11: This change allows TfpgX11Image to work with TAgg2D canvas.Graeme Geldenhuys
2012-03-16x11: The constructor signature is now updated to match the parent class.Graeme Geldenhuys
2012-03-09fixes a spelling mistake in a code comment.Graeme Geldenhuys
2012-02-29x11: changed the bit order.Graeme Geldenhuys
It seems, after reading a lot of documentation, that I got the setting wrong. Lets see what happens.
2012-02-29changed alias class definitions to class descendants.Graeme Geldenhuys
FPC doesn't have a problem with the original code, but other tools like fpdoc does. So to make everybody's life easier, I am making this change. The benefit now is that fpdoc will be able to generate a nice class hierarchy of fpGUI classes - without problems.
2012-02-21Adds PNG loading support.Graeme Geldenhuys
The unit uses the fcl-image backend to load the image. This is slightly slower than the native implementations for BMP and JPG. But at least now we have PNG support too.
2011-12-02version bump to 0.8Graeme Geldenhuys
2011-11-21TfpgWindowBase now introduces a BringToFront() method.Graeme Geldenhuys
2011-09-13x11: implemented window grouping support used by some X11 window managers.Graeme Geldenhuys
2011-08-26x11: removed trailing whitespaceGraeme Geldenhuys
2011-08-26x11: fixed a compiler hint about an invalid/unsafe typecast.Graeme Geldenhuys
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-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-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-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-06Skeleton style units.Graeme Geldenhuys
These will later contain the various style implementations.
2011-03-24Partial undo of commit 2ffdd747.Graeme Geldenhuys
The code change in the original commit worked fine for Windows, but caused other problems under Linux. So I have commented the original code change for Linux until I can find a more suitable solution.
2011-03-24Replaced direct API usage with an already implemented method.Graeme Geldenhuys
2011-03-24Replaced old reference to GFX to fpGUI.Graeme Geldenhuys
2011-01-14X11: OnDragDrop the Sender and Source parameters are now populated.Graeme Geldenhuys
Sender: the widget the mouse was over when drop occurs. Source: If whole DND is inside the same app, then Source is the original Widget the DND started from.
2011-01-14X11: OnDragEnter now has Sender and Source parameters populatedGraeme Geldenhuys
Sender: = the widget the mouse entered and that triggered the event Source: = if whole DND occurs in same app, then Source is the Widget the DND action started from.
2011-01-11fixes Alignment and Anchor calculation even before we have a window handleGraeme Geldenhuys
Updated the following methods by rather checking the ComponentState, than the HasHandle result. Why? Because we want alignment and anchor calculations to work, even before we have a window handle. Something that happens often when using a Frame-type design for the UI. * HandleMove() * HandleResize() * UpdateWindowPosition() Due to removing the HasHandle check in UpdateWindowPosition, we had to do the HasHandle check in each backend code instead. We don't want to trigger API calls when we don't have a window handle yet.
2011-01-10DoWaitWindowMessage() defined as virtual abstract in fpg_baseGraeme Geldenhuys
* All fpGUI backends must override it as supply an implementation. * Moved DowaitWindowMessage() implementations to the protected section in the GDI and X11 backends.
2011-01-10DoMessagesPending() renamed to MessagesPending()Graeme Geldenhuys
Also made MessagesPending() a virtual abstract method in fpg_base.pas which every fpGUI backend must supply an implementation.
2011-01-06Timers bugfix. Timers did not always work under Windows or Linux.Graeme Geldenhuys
Windows uses OS messages for the timer, and Linux not. So the DoMessagePending code had to be tweaked to work for both. I made a note of this, to see if there is a better way of doing this.
2010-12-30X11: Correctly implemented the handling of X11's GraphicsExpose event.Graeme Geldenhuys
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. :)