Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-11-08 | Menu's now invert the color the arrow for submenu's so they are visible when ↵ | Andrew Haines | |
highlighted | |||
2010-11-09 | * Added property IgnoreDblClicks to TfpgWidget | Andrew Haines | |
* TfpgButton now ignores double clicks by default | |||
2010-11-08 | Revert "Merge branch 'master' of ↵ | Graeme Geldenhuys | |
ssh://fpgui.git.sourceforge.net/gitroot/fpgui/fpgui" Andrew is finding is training wheels with git. This reverts commit e320dfae6add39c66ea554dbb161a844ee06db4d, reversing changes made to 735aec8207036adb17f2174ffcb9056bee712ed3. | |||
2010-11-05 | Merge branch 'master' of ssh://fpgui.git.sourceforge.net/gitroot/fpgui/fpgui | Andrew Haines | |
2010-10-29 | New Grid HeaderStyle property, and new Canvas/Style.DrawBevel() method | Graeme Geldenhuys | |
Grid.HeaderStyle has Button, Thin and Flat options New DrawBevel can draw a bevel raised or lowered using standard system colors. Quite similar to TfpgBevel. New DrawBevel() method and new Grid.HeaderStyle option. | |||
2010-10-29 | Removed the stray writeln() statement. | Graeme Geldenhuys | |
2010-10-29 | Code cleanup by removing leftover writeln() statements. | Graeme Geldenhuys | |
2010-10-29 | Fixed Windows DND memory leaks. | Graeme Geldenhuys | |
2010-10-29 | Published the DND propertys for some of the most used components. | Graeme Geldenhuys | |
This is so they can be tested. Once DND stabilizes, I'll make the properties available on the other components too. | |||
2010-10-29 | More DND debugging code for TfpgGDIDrag class. | Graeme Geldenhuys | |
2010-10-29 | Moved OnDragStartDetected from TfpgWidget to TfpgWindowBase | Graeme 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-29 | Updated X11 code due to property changes in TfpgMimeDataItem class. | Graeme Geldenhuys | |
2010-10-29 | Added DND debugging entries and minor code formatting improvements. | Graeme Geldenhuys | |
2010-10-29 | Applied same logic in X11 to OLE DND regarding preferred mime choice | Graeme 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-29 | Bugfix 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-29 | Slight 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-29 | Implemented a working TfpgGDIDrag.Execute | Graeme Geldenhuys | |
Finally we are getting somewhere with OLE DND. | |||
2010-10-29 | GDI: Implemented StringToHandle in TfpgGDIDrag class | Graeme 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-29 | Added a new private Drag property to TfpgGDIApplication | Graeme Geldenhuys | |
This allows use to easily find the TfpgDrag instance we are working with. Same was done in X11 backend. | |||
2010-10-29 | Renamed TfpgMimeDataStruct to TfpgMimeDataItem | Graeme Geldenhuys | |
* Also changed FormatCount to Count (more like standard list interface) * Also introduced a Items property (more like standard list interface) * The above to changes also made other implementations more simplified, so I did a bit of refactoring. | |||
2010-10-28 | GDI: Implement last remaining part to allow DropTarget to receive data. | Graeme Geldenhuys | |
2010-10-28 | GDI: store user selected information from DragEnter event handler | Graeme Geldenhuys | |
2010-10-28 | GDI: Choose a more specific base class for DropTarget reference. | Graeme Geldenhuys | |
2010-10-28 | GDI: Reference to where I got info to implement Windows OLE DND | Graeme Geldenhuys | |
2010-10-28 | GDI: When creating a list of clipboard formats, add mime equivalents too. | Graeme Geldenhuys | |
2010-10-28 | Implemented a bare minimum MimeType to Win Clipboard lookup function. | Graeme Geldenhuys | |
2010-10-28 | GDI: Created a help function, GetFormatEtc, that sets up a TFormatEtc record | Graeme Geldenhuys | |
2010-10-28 | interface implementation methods can be private. We only work with | Graeme Geldenhuys | |
the interface anyway, not an actual object instance. | |||
2010-10-28 | GDI: Implemented HandleDNDLeave, DNDEnter and DNDPosition event handlers | Graeme Geldenhuys | |
2010-10-28 | GDI: implemented a helper function for DropAction conversion | Graeme Geldenhuys | |
2010-10-28 | GDI: Implemented DoDragLeave for droptarget | Graeme Geldenhuys | |
2010-10-28 | GDI: Fixed DragEnter implementation. | Graeme Geldenhuys | |
We should not modify the dwEffect variable before the user gets a chance to look at it. | |||
2010-10-28 | GDI: implemented some helper functions for OLE DND clipboard types | Graeme Geldenhuys | |
2010-10-28 | Implemented equals (=) operator for TPoint type | Graeme Geldenhuys | |
2010-10-28 | GDI: Changed TfpgOLEDragDropEffect type to DWORD to match OLE API | Graeme Geldenhuys | |
2010-10-28 | GDI: 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-28 | GDI: A near complete Windows OLE Drag-n-Drop implementation | Graeme Geldenhuys | |
2010-10-28 | TfpgWindowBase introduced a new abstract method | Graeme Geldenhuys | |
* This abstract method is called from TfpgWidget's AcceptDrops setter function * Template implementation in X11 * Actual implementation in GDI | |||
2010-10-28 | Ad conversion helper functions from OLE DND to fpGUI DropActions | Graeme Geldenhuys | |
2010-10-28 | GDI: introduced a template TGDIDragManager class | Graeme Geldenhuys | |
* implements the IDropTarget interface * Also initialize/uninitialize OLE at application startup/stop | |||
2010-10-28 | extra error checking in mimelist DND operation | Graeme Geldenhuys | |
2010-10-28 | More code comments and DNDDebug entries. | Graeme Geldenhuys | |
2010-10-28 | bugfix: TfpgX11Drag.SendDNDDrop did not always process correctly. | Graeme Geldenhuys | |
Even though this method was called, it should have checked the FDropAccepted variable which did didn't. Now it correctly conforms to the XDND spec. Due to the new behaviour we also have to make sure we free the TfpgDrag instance when the drop is not accepted. | |||
2010-10-28 | Bugfix: TfpgX11Application.HandleDNDposition's XdndStatus message sent did ↵ | Graeme Geldenhuys | |
not correctly set the ActionType parameter if the drag was not accepted. | |||
2010-10-28 | OnDragLeave event now has the Sender parameter set, and points to the target ↵ | Graeme Geldenhuys | |
component | |||
2010-10-28 | TfpgDrag.Execute: replaced Assert() calls with Exceptions. | Graeme Geldenhuys | |
This does error checking before and DND gets triggered. The error messages must still be replaced with resource strings though. | |||
2010-10-28 | TfpgDrag.Execute now has a default TfpgDropAction drop action of daCopy. | Graeme Geldenhuys | |
2010-10-27 | X11 DND: We never checked if drop was really accepted in HandleDNDDrop | Graeme Geldenhuys | |
If the Drop occured, but AcceptDrops = False, we must not do any Selections conversions. This is now so. We must still send the XdndFinished message though, so data object can be freed, and to simply comply with XDND protocol. We now correctly set the Accept or Decine status in the XDNDFinished message. | |||
2010-10-27 | Renamed 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-27 | X11 DND: Incorrectly assumed there will always be a 'text/plain' mime-type | Graeme Geldenhuys | |
If the developer did not set the AMimeChoice in OnDragEnter, then the incorrect default could have been used. By default it used to deflaut to 'text/plain' and never actually checked the mime-type list to see if that exists. :-( Now the default AMimeChoice is set the the first mime-type in the mime-type list. This keeps with the methodology that the mime-type list must be from most specific to least specific mime types. |