summaryrefslogtreecommitdiff
path: root/src/corelib/gdi
AgeCommit message (Collapse)Author
2010-11-11Bumped the version number so it's newer than the last release.Graeme Geldenhuys
2010-10-29Code cleanup by removing leftover writeln() statements.Graeme Geldenhuys
2010-10-29Fixed Windows DND memory leaks.Graeme Geldenhuys
2010-10-29More DND debugging code for TfpgGDIDrag class.Graeme Geldenhuys
2010-10-29Moved OnDragStartDetected from TfpgWidget to TfpgWindowBaseGraeme Geldenhuys
* also introduced virtual DoDragStartDetected which executes the OnDragStartDetected event * We also added a override of DoDragStartDetected in GDI for some extra tasks.
2010-10-29Added DND debugging entries and minor code formatting improvements.Graeme Geldenhuys
2010-10-29Applied same logic in X11 to OLE DND regarding preferred mime choiceGraeme Geldenhuys
Mime types should be registered from most specific (first item in mime list) to least specific (last item in mime list). The preferred mime choice will be the first item in the list. Raise an error if the mime list doesn't contain data.
2010-10-29Bugfix in EnumDataToStringList()Graeme Geldenhuys
We can't just go adding mime types without actual data associated with each entry. So now we match the mime stringlist to exact data count in IDataObject
2010-10-29Slight improvement to the WindowsClipboardLookup method.Graeme Geldenhuys
* Introduced a new parameter to know if we translated the mime type to a known Windows CF_ clipboard type. * Fixed the spelling mistake in the function name
2010-10-29Implemented a working TfpgGDIDrag.ExecuteGraeme Geldenhuys
Finally we are getting somewhere with OLE DND.
2010-10-29GDI: Implemented StringToHandle in TfpgGDIDrag classGraeme Geldenhuys
This is needed so we can store a string in a global buffer for DND. This will also reduce code duplication a bit, by simply allowing us to call this function.
2010-10-29Added a new private Drag property to TfpgGDIApplicationGraeme Geldenhuys
This allows use to easily find the TfpgDrag instance we are working with. Same was done in X11 backend.
2010-10-28GDI: Implement last remaining part to allow DropTarget to receive data.Graeme Geldenhuys
2010-10-28GDI: store user selected information from DragEnter event handlerGraeme Geldenhuys
2010-10-28GDI: Choose a more specific base class for DropTarget reference.Graeme Geldenhuys
2010-10-28GDI: Reference to where I got info to implement Windows OLE DNDGraeme Geldenhuys
2010-10-28GDI: When creating a list of clipboard formats, add mime equivalents too.Graeme Geldenhuys
2010-10-28Implemented a bare minimum MimeType to Win Clipboard lookup function.Graeme Geldenhuys
2010-10-28GDI: Created a help function, GetFormatEtc, that sets up a TFormatEtc recordGraeme Geldenhuys
2010-10-28interface implementation methods can be private. We only work withGraeme Geldenhuys
the interface anyway, not an actual object instance.
2010-10-28GDI: Implemented HandleDNDLeave, DNDEnter and DNDPosition event handlersGraeme Geldenhuys
2010-10-28GDI: implemented a helper function for DropAction conversionGraeme Geldenhuys
2010-10-28GDI: Implemented DoDragLeave for droptargetGraeme Geldenhuys
2010-10-28GDI: Fixed DragEnter implementation.Graeme Geldenhuys
We should not modify the dwEffect variable before the user gets a chance to look at it.
2010-10-28GDI: implemented some helper functions for OLE DND clipboard typesGraeme Geldenhuys
2010-10-28GDI: Changed TfpgOLEDragDropEffect type to DWORD to match OLE APIGraeme Geldenhuys
2010-10-28GDI: Added OLE DND into TfpgGDIWindow.Graeme Geldenhuys
AcceptDrops: is implemented and can be toggled at runtime or designtime. Windows cursor also changes to show that target windows can accept drops.
2010-10-28GDI: A near complete Windows OLE Drag-n-Drop implementationGraeme Geldenhuys
2010-10-28TfpgWindowBase introduced a new abstract methodGraeme Geldenhuys
* This abstract method is called from TfpgWidget's AcceptDrops setter function * Template implementation in X11 * Actual implementation in GDI
2010-10-28Ad conversion helper functions from OLE DND to fpGUI DropActionsGraeme Geldenhuys
2010-10-28GDI: introduced a template TGDIDragManager classGraeme Geldenhuys
* implements the IDropTarget interface * Also initialize/uninitialize OLE at application startup/stop
2010-10-27Renamed TfpgWindowBase.DoEnabledDrops() to DoDNDEnabled()Graeme Geldenhuys
This will hopefully reduce the confusion between the other TfpgWidget.AcceptDrops property - they had too similar names. * Applied rename changes to all other descendants too * Updated DND demo project
2010-10-21GDI: Removed definition of MW_MOUSEWHEEL. it already exists in FPC.Graeme Geldenhuys
2010-10-15fpgApplication.OnIdle was never triggered under Windows.Graeme Geldenhuys
2010-10-01fixed issue ID: 3030971 from SourceForge.Graeme Geldenhuys
When the date/time changes to an earlier date while an fpGUI application is running, all timers stopped firing. Under Windows all timers are reset. TODO: Found out what happens under Linux and how we can detected a date/time change.
2010-09-23GDI: make code compilable again after X11 DND implementation.Graeme Geldenhuys
2010-09-04fpg_utils: Added a new function that returns a config directory for fpGUI ↵Graeme Geldenhuys
framework itself. This will be used by the File Dialog and Font Select dialog.
2010-09-01GDI: replaced debug writeln's with SendDebug() calls.Graeme Geldenhuys
We should rather use the debug server for debugging, it works much better.
2010-08-30Fix bug returning to previous active window after opening modal formGraeme Geldenhuys
* If you had a main form and a non-modal form, and the non-modal opened a modal window, then the following happened in error: - modal form could open behind non-modal for, treating main form as parent. - when modal form closed, it set main form active, instead of non-modal form. This is now fixed.
2010-08-26GDI: Correctly implement clipboard support under Windows.Graeme Geldenhuys
This includes unicode text support.
2010-08-23Fix compilation error under Windows.Graeme Geldenhuys
2010-08-22Introduced a new cross-platform fpgFileSize() helper function.Graeme Geldenhuys
2010-08-02Added VERSION_FILE.inc to fpgui_toolkit.lpk packages and updated version.Graeme Geldenhuys
2010-07-05New unit (fpg_imgutils)Graeme Geldenhuys
* This will contain various utility functions to works on images. * Implemented a GrayScale Filter function.
2010-06-29Removed special characters from code comments.Graeme Geldenhuys
2010-06-29GDI: minor code formatting.Graeme Geldenhuys
* also improved if..else for WindowType * Moved AdjustWindowStyle to after all checks for WindowType so user could override it if needed.
2010-05-23New Input Query (text) Dialog and global function fpgInputQuery().Graeme Geldenhuys
2010-05-17GDI: did not handle waBorderLess window attribute.Graeme Geldenhuys
2010-05-14JPEG image loading supportjp anghel
2010-04-29Fixed code to remove compiler warnings/hints.Graeme Geldenhuys