summaryrefslogtreecommitdiff
path: root/src/corelib
AgeCommit message (Collapse)Author
2012-12-20Added the Agg2D canvas unit to the X11 fpgui_toolkip.lpk packageGraeme Geldenhuys
2012-12-20agg: comments about the difference between FreeType and Win32 font engine.Graeme Geldenhuys
2012-12-20Minor changes for AggPas-Canvas under X11.Graeme Geldenhuys
2012-12-20fixes spelling mistake in code commentGraeme Geldenhuys
2012-12-20AggPas Canvas can now render to the screen under Windows too.Graeme Geldenhuys
2012-12-18Completed some method signatures in implementation section.Graeme Geldenhuys
Lazarus IDE had some issues navigating them otherwise.
2012-12-18Removed unused units from uses clause. Preventing compiler hints.Graeme Geldenhuys
2012-12-10Replace text strings in the reporting units with resource strings - for ↵Graeme Geldenhuys
localization. I also updated all language files to include the latest resource string constants.
2012-12-10Removed old constants not needed any more - they are now standard in FPC's RTL.Graeme Geldenhuys
2012-12-03Updates the classes naming convension fro TGfx to TfpgGraeme Geldenhuys
How the hell has this been around for so long and went undetected. :-/
2012-11-30Silence the compiler about range checking.Graeme Geldenhuys
We manualy do the range checking before we access the string array. So disable the compiler range checking around the affected code.
2012-11-30Minor optimisation for UTF8Insert()Graeme Geldenhuys
Length() is a more 'lite" version than UTF8Length(), and in that code we don't need the functionality of the latter.
2012-11-30Fixes UTF8 functions for 64-bit compliance.Graeme Geldenhuys
2012-11-30optimised UTF8CStringToUTF8StringGraeme Geldenhuys
2012-11-30Fixes compiler warning about using a deprecated type... TFPColorGraeme Geldenhuys
2012-11-30Fixes compiler hint about unused unitGraeme Geldenhuys
2012-11-22Adds alpha channel values to all the named colors.Graeme Geldenhuys
We already done this for all the predefined colors, but somehow forgot about these.
2012-11-22Fixes line ending issuesGraeme Geldenhuys
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-11-13Fixes a memory leak when reading a PNG image from a Stream.Graeme Geldenhuys
2012-11-13Implements WakeMainThread for Windows.Graeme Geldenhuys
Multi-threaded apps under Windows requires the main thread to be woken up periodically. We now simply hook into the Classes.WakeMainThread function which is automatically called by TThread.Synchronize. I did the same testing under X11, but it doesn't seem needed there. If we do find a case for this under X11, it is easy to implement.
2012-11-13File Search Result Name was never correctly converted from OS encoding to UTF-8Graeme Geldenhuys
2012-11-09Moved Menu-key press handling up the class hierarchy to TfpgWidget.Graeme Geldenhuys
No need for so much code duplication. This also means that widgets like TfpgStringGrid now have keyMenu keypress behaviour. Basically any widget that supports a PopupMenu.
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-26Adds a new "Can Adjust Position" parameter to TfpgPopupWindow.ShowAt() call.Graeme Geldenhuys
Sometimes we want to display a popup window, but would like the framework to take into account the desktop screen size. If the popup window would display outside the bounds of the screen, we would like fpGUI to reposition the popup window to be fully visible. This will be used in the System Tray Icon implemenation. This parameter defaults to False, so the behaviour is exactly like it was before this changes.
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-10-18Moved some constants from fpg_main to fpg_constants unit.Graeme Geldenhuys
2012-10-12Creates a fpGUI wrapper for RTL's RenameFile() function.Graeme Geldenhuys
2012-09-26gdi: oops, fixed code where I check the variable before I actually assign ↵Graeme Geldenhuys
something to it.
2012-09-26fixes spelling mistake in code comment.Graeme Geldenhuys
2012-09-21gdi: Corrected the implemenation of Canvas.GetPixel()Graeme Geldenhuys
We referenced the write device context. FGC is the temporary buffer used for double buffering. FWinGC is the actual DC of the window.
2012-09-21gdi: corrected the WinColorTofpgColor() implementation.Graeme Geldenhuys
2012-09-21gdi: re-ordered the code in a more logical way, to ease reading.Graeme Geldenhuys
2012-08-31Implements loading PNG images from a Stream or Resource.Graeme Geldenhuys
Thanks to Dibo for this contribution.
2012-08-31Refactored the png loading code.Graeme Geldenhuys
Extracted the code that does the conversion from FPC's FPImage to fpGUI's TfpgImage. Thanks to Dibo for this patch.
2012-08-28TfpgWidget: Implements a new OnMouseScroll eventGraeme Geldenhuys
2012-08-23gdi: The IDropSource signature has changed in FPC > 2.6.0Graeme Geldenhuys
Once the next stable FPC is released, then we can remove this again.
2012-08-21changes param type from String to TfpgStringGraeme Geldenhuys
2012-08-16Merge remote-tracking branch 'github/master'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-16F1 is not hard-coded as the help key any more.Graeme Geldenhuys
fpgApplication.HelpKey is now actually used in fpGUI, and it will invoke the help.
2012-08-16Make sure TfpgString is based on AnsiString.Graeme Geldenhuys
With the FPC 2.7.1 having some form of Unicode support, and the String typing being redefined... defining TfpgString as AnsiString, we know fpGUI will continue running as normal.
2012-08-09bugfix: gdi fullscreen - form was larger than screen dimensions.Graeme Geldenhuys
This went unnoticed for a very long time, Mhen a from was set to fullscreen, after it was already displayed (not at creation time), then the size of the form was slightly bigger that the screen resolution. I corrected the Win32 API calls, and now the form has the correct size at all times.