summaryrefslogtreecommitdiff
path: root/src/corelib/gdi
AgeCommit message (Collapse)Author
2015-04-12Win: DND support is now toggled by a feature compile define, not platform defineGraeme Geldenhuys
Old behaviour was to disable DND when WINCE is active. The HAS_DND compiler define now does this. HAS_DND is enabled by default for Windows, and disabled for WinCE platforms.
2015-04-10WinCE: fixes compilation errors for WinCE-ARMGraeme Geldenhuys
* Disabled OLE support for WinCE * Disabled Drag-n-Drop support for WinCE * Fixed PChar vs PWidechar types * Fixed IFDEF's. Differences between MSWINDOWS, WINDOWS and WINCE.
2015-02-28bug: Fixes GDI issue where if font name contain a @ or - symbol the couldn't ↵Graeme Geldenhuys
be selected For example: '@Terminal-10' did not work. Neither did 'VNI-Bamas-10'. The tokenizer was improved to look-ahead or accept extra characters like the @ symbol.
2015-02-12Version bumpGraeme Geldenhuys
2014-10-20gdi: Implements TfpgGDIApplication.GetScreenPixelColor()Graeme Geldenhuys
The color picker in the ColorWheel demo now works on all supported platforms.
2014-10-19New fpgApplication.GetScreenPixelColor() for X11Graeme Geldenhuys
We can now color pick a value on a X11 desktop.
2014-10-15Fixes compiler warningGraeme Geldenhuys
2014-09-19Windows: Just for fun, allow the ability to hook into the System MenuGraeme Geldenhuys
This means we can easily add an "About fpGUI" menu item in the System Menu of a window.
2014-07-272 new units: fpg_CSVParser and fpg_StringGridBuilderGraeme Geldenhuys
fpg_CSVParser contains a class and singleton method to allow parsing CSV files. fpg_StringGridBuilder is a class that allows you to load a CSV file and automatically populate a StringGrid with its content.
2014-07-25Bump 'develop' branch to next version numberGraeme Geldenhuys
2014-07-21new ToggleBox widgetAndrew Haines
Hi I made a Togglebox widget descended from TfpgComboBox. It has button that slides side to side for checked/unchecked with a subtle animation when toggled. Various colors can be changed and the animation disabled.
2014-07-17Merge branch 'jml/integer_input_dialog' into developGraeme Geldenhuys
2014-07-17Additional integerinputquerydialogJean-Marc
Hi, For my own use, I had to create a new specific integer dialog similar to the existing inputquerydialog. Attached is the patch for it. Hope it will be usefull Regards Jean-Marc New integerinputquery dialog Signed-off-by: Jean-Marc <jmarc.levecque@dbmail.com>
2014-07-15Removes WriteLn() statement in GDI backendGraeme Geldenhuys
Us SendDebug() instead - which means it will not cause a problem on Windows non-console applications.
2014-06-20GDI: Correctly define visibility for methods in TfpgGDIFileListGraeme Geldenhuys
2014-03-30Adds the new win8 theme unit to the fpgui_toolkit packageGraeme Geldenhuys
2014-01-24Fixes a spelling mistake in a code comment.Graeme Geldenhuys
Also removed trailing spaces from some lines.
2014-01-24GDI: Fixes mouse wheel scrolling bug on newer Windows versions.Graeme Geldenhuys
For some odd reason under Win7 only downward scrolling was working. This changes fixes it. Tested on Win2000 and Win7 systems.
2013-12-22Adds 2 new themes to the fpGUI framework.Graeme Geldenhuys
All are 'dark' themes, but with various looks and color variations. Thanks to Rochdi Abdelilah (aka ROCABDEL) for the fantastic contribution.
2013-12-08win32: package file file changes due to newer Lazarus IDE version.Graeme Geldenhuys
2013-12-08gdi: forgot to remove a debug writeln() statement.Graeme Geldenhuys
This caused a "file not open" error when pausing and resuming Windows VM's - thus the system time changes.
2013-10-31gdi: prevents an AV if applications have a non-standard startupGraeme Geldenhuys
I sometimes implement a "-h" help command line parameter to GUI and non-GUI applications. For GUI applications it pops up a dialog that displays help then quits before the main form displays. Without the change in this commit, the GUI applications will trigger an AV, because MainForm = nil in the code referenced in this commit.
2013-05-20bug: Under Windows the mouse coordinates in OnDragDrop was screen coordinates.Graeme Geldenhuys
I forgot to translate those to widget coordinates.
2013-05-01Adds much faster Canvas.CopyRect() implemenation for the GDI backend.Graeme Geldenhuys
2013-04-30debug: replaced debug writeln() statements with SendDebug() calls.Graeme Geldenhuys
Debugging with the debug server is much easier than looking at command line output.
2013-04-30Fixes a Windows 64-bit compile error relating to Windows.SetTimer()Graeme Geldenhuys
The TIMERPROC signature has changed between FPC 2.6.0 and 2.6.2. This minor changes now supports both compiler versions. I tested this under 32-bit and 64-bit FPC.
2013-04-29new debug interface unit for use with out Debug Server application.Graeme Geldenhuys
Added debug interface units to 'corelib' and to the fpgui_toolkit packages
2013-04-10Forgot to bump the version numbers of the fpgui_toolkit.lpk packages.Graeme Geldenhuys
2012-12-20AggPas Canvas can now render to the screen under Windows too.Graeme Geldenhuys
2012-11-22Fixes line ending issuesGraeme 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-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-09-26gdi: oops, fixed code where I check the variable before I actually assign ↵Graeme Geldenhuys
something to it.
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-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-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.
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-31TfpgGDIWindow.ActivateWindow now uses SetWindowPos instead of ↵Graeme Geldenhuys
SetForegroundWindow. The code and intent seems to be correct, but even though I set the flag SWP_NOZORDER (so the behaviour is consistent with Linux X11), Windows seems to ignore that flag and still bring the active window to the front.
2012-07-31Windows GDI BringToFront() behaviour is now consistent with Linux X11Graeme Geldenhuys
The window is brought to the front, but not activated.
2012-04-25gdi: minor changes to make sure fpGUI compiles under Win64Graeme Geldenhuys
2012-04-05gdi: fixes spelling mistake in code comment.Graeme Geldenhuys
2012-04-05gdi: Removed completed todo item comment.Graeme Geldenhuys
2012-03-19fixes compiler errors under Windows.Graeme Geldenhuys
Clearly I did not pay as much attension as I should have. :-(
2012-03-19updates search paths for AggPas in fpgui_toolkit.lpk packages.Graeme Geldenhuys
2012-03-19gdi: We will probably need access to HBitmap in the Agg Canvas.Graeme Geldenhuys
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