Age | Commit message (Collapse) | Author |
|
We did the color conversion to RGB, and then in the last block of code
we strangely discarded that conversion. Without the color conversion
(some colors can be "alias colors" like clButtonFace) we might process
rubbish data.
Now it should be fixed. Thanks to user UAPLY for spotting this.
|
|
https://github.com/graemeg/fpGUI/issues/9
Thanks to UAPLY for debugging the issue and supplying the solution. Much
appreciated.
|
|
|
|
- moved fpg_fontcache unit to corelib/render/software/
- added fpg_fontcache unit to x11 fpgui_toolkit.lpk package
- translates FontDesc to FontCache item.
Tested under X11 only.
|
|
|
|
Added debug interface units to 'corelib' and to the fpgui_toolkit packages
|
|
Some desktop enviroments or window managers include support for a clipboard
manager. This clipboard manager can make the content of the clipboard persistent
even after the source application closed down.
|
|
|
|
|
|
Under *nix systems, if we can't find the direct location of docview, we
try the 'which docview' command. If we get a positive response, we know
docview is in the system path, and we can go ahead and launch it.
At least this doesn't instantly throw an exception when docview can't
be found on the first attempt.
|
|
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
is being used.
Hopefully this code changes make it more clear.
|
|
The XLib man pages clearly state that the TXEvent structure must be cleared to 0 values
before use.
|
|
|
|
|
|
|
|
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[]
|
|
|
|
|
|
* I also updated the windows version of the package with some missing units.
|
|
I confirmed this using OpenSuse 12.1 as a test.
|
|
support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It seems, after reading a lot of documentation, that I got the setting
wrong. Lets see what happens.
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
It seems FPC only supports users.pp unit in Linux. Making this changes
allows use to compile fpGUI under OpenSolaris too!
|
|
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.
|
|
|
|
See the comments in the code. This fixes lots of code that checks for
the ShiftState values in key press events.
|
|
|
|
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.
|
|
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.
|