Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-28 | fpg_base documentation update | Graeme Geldenhuys | |
* removed empty documentation elements. * added some minor documentation to a few elements. | |||
2010-09-28 | msg queue thread safety. Added an additional safety measure. | Graeme Geldenhuys | |
2010-09-28 | uidesigner: Fixed Object Inspector editor bounds to fit cell | Graeme Geldenhuys | |
* When you selected a property, the property editor did not take into account the owner component's border widths, so they overlapped by 2 pixels. | |||
2010-09-28 | memo bugfix: The 'delete' key did not work. Now it does. | Graeme Geldenhuys | |
2010-09-27 | docs: Moved additional topics into separate xml description files. | Graeme Geldenhuys | |
* So the changing default fpgui language topic has now moved out of fpg_constants into its own xml file. * Started a new topic related to drag and drop support. | |||
2010-09-27 | treeview: minor bugfix in the accuracy of selecting a node with the mouse. | Graeme Geldenhuys | |
An earlier commit fixed the selected rectangle offset painting. I forgot to also fix the node selection via mouse click. They y offsets was a bit off. | |||
2010-09-25 | a basic DND demo. | Graeme Geldenhuys | |
2010-09-25 | published DND events for Button, Edit and Label components. | Graeme Geldenhuys | |
This is just a start, so a few widgets can be tested with DND. After DND has be tested more, other widgets will get the published properties too. | |||
2010-09-25 | TfpgWidget: adds support for new event, OnDragStartDetected | Graeme Geldenhuys | |
2010-09-23 | GDI: make code compilable again after X11 DND implementation. | Graeme Geldenhuys | |
2010-09-23 | globe demo: removed compiler hint about unused unit. | Graeme Geldenhuys | |
2010-09-23 | X11: disable DNDDebug define to hide debug information | Graeme Geldenhuys | |
2010-09-23 | DND: > 3 data types are now supported. | Graeme Geldenhuys | |
* Reorganized some code * > 3 data types are now supported. XdndTypeList is now correctly set for the source window. | |||
2010-09-23 | DND: clean-up after we are done. | Graeme Geldenhuys | |
2010-09-23 | X11 DND: a variant is now passed around and used in OnDragDrop event. | Graeme Geldenhuys | |
2010-09-23 | TfpgMimeDataBase: introduced a new raw Data property. Returns data as variant | Graeme Geldenhuys | |
2010-09-23 | HandleSelectionRequest now correctly returns 'html' or 'plain text' data. | Graeme Geldenhuys | |
2010-09-23 | simple code formatting improvement | Graeme Geldenhuys | |
2010-09-23 | bugfix: SendDNDEnter now correctly sets first three supported data types | Graeme Geldenhuys | |
2010-09-23 | TfpgMimeDataBase: Fixed implementation of HTML property, and fixed ↵ | Graeme Geldenhuys | |
HasFormats() function | |||
2010-09-23 | X11: reset the mouse cursor after a DND drop action is complete | Graeme Geldenhuys | |
2010-09-23 | X11 correctly set mouse cursor for mcDefault and mcArrow | Graeme Geldenhuys | |
2010-09-23 | confirming XSetSelectionOwner succeeded as per ICCCM specs | Graeme Geldenhuys | |
2010-09-23 | Two new MouseCursor shapes added. mcDrag & mcNoDrop | Graeme Geldenhuys | |
* X11 DND now changes the mouse cursor depending if a drop target is available or not | |||
2010-09-23 | IsDNDAware never actually returned True before. Oops! | Graeme Geldenhuys | |
2010-09-23 | X11: FindWindow - renamed variable to make it easier to read and understand | Graeme Geldenhuys | |
2010-09-23 | X11: Only send XdndLeave event if we actually had a FLastTarget window | Graeme Geldenhuys | |
2010-09-23 | X11: only delegate MotionNotify event to Drag object if it's actually a drag | Graeme Geldenhuys | |
2010-09-23 | bugfix: I broke the array types earlier. This restores them to what they were. | Graeme Geldenhuys | |
2010-09-23 | X11: delegate the DND events to the Drag object. | Graeme Geldenhuys | |
2010-09-23 | fix the type of XDND implemented version fpGUI supports | Graeme Geldenhuys | |
2010-09-23 | Oops, forgot to commit the TfpgDragBase class from earlier. | Graeme Geldenhuys | |
2010-09-23 | implement the higher level TfpgDrag and TfpgMimeData classes. | Graeme Geldenhuys | |
These are independant of the backend - they contain common code and interface. TfpgDrag will be used to initiate a drag action (acting as the source of a drag), and contain the data available for that drag action. | |||
2010-09-23 | X11: Two new DND helper functions introduced | Graeme Geldenhuys | |
* IsTopLevel returns a boolean to say if a specific window is the top level window, and not some subwindow. * FindWindow tries to find the window at root coordinates x,y. we will use this to find the drop target. | |||
2010-09-23 | X11: introduced a TfpgX11Drag class with handles most of the XDND messages | Graeme Geldenhuys | |
We offload most of the DND message processing to the TfpgX11Drag class. This helps keep the functionality with a clean design. | |||
2010-09-23 | Replaced magic numbers with variable names. | Graeme Geldenhuys | |
Now we actually know the meaning of those parameters. | |||
2010-09-23 | fpgApplication got a new property: StartDragDistance. | Graeme Geldenhuys | |
This is the distance the mouse needs to move with the left button down, before it is considered a "drag action". Default value is 5 pixels. | |||
2010-09-23 | two new classes introduced to manage data associated with mime types. | Graeme Geldenhuys | |
TfpgMimeDataBase is a base class for data associated with mime types. TfpgMimeDataStruct is a simple data class. Currently I'm not sure if Variants are the way to go for storing data, so this might change in the future. | |||
2010-09-23 | More well known drop actions added to TfpgDropAction | Graeme Geldenhuys | |
2010-09-23 | Move array types to interface section as it's required in other interface ↵ | Graeme Geldenhuys | |
classes. | |||
2010-09-23 | Adds OnDragDrop event to TfpgWidget. | Graeme Geldenhuys | |
For now we hard-code the data type as TfpgString. Later this will change. | |||
2010-09-23 | Adds OnDragExit event to TfpgWidget. | Graeme Geldenhuys | |
2010-09-23 | Reworked the HandleDNDposition() method | Graeme Geldenhuys | |
* Events are now only fired when the drop is truly accepted, not just because it has AcceptDrops and OnEnterDrag event handlers. Event handler needs to explicitly set Accept = True. * Default mime type used is 'text/plain' * Default drop action is daCopy (or XdndActionCopy) | |||
2010-09-23 | Adds a reverse lookup: GetAtomFromDropAction() | Graeme Geldenhuys | |
2010-09-23 | Adds a property EnableDrops which enables DND for a top-level window. | Graeme Geldenhuys | |
If set to False (the default), no DND can occur in that window. No OS messages for DND are processed or received. | |||
2010-09-23 | Catch the OS independent DROP[Enter|Exit] messages | Graeme Geldenhuys | |
Under X11 the XDND OS messages on only go to the top-level window, so we send the FPGM_ messages ourselves. Later each component will hook into this to change it's appearance to show the end-user that a drop is allowed or not. eg: Some components will get a dark/black border or something. | |||
2010-09-23 | Adds OnDragEnter event for TfpgWidget. | Graeme Geldenhuys | |
2010-09-23 | If TfpgForm.EnabledDrops are set before a WinHandle exists we need to queue ↵ | Graeme Geldenhuys | |
the action for later. | |||
2010-09-23 | Changed bit manipulation so it makes more sense. | Graeme Geldenhuys | |
2010-09-23 | Adds implementation for handling XdndSelection message. | Graeme Geldenhuys | |