Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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 | 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 | 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 | 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 | 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 | |
2010-09-23 | Fixed double free libc crash. We assumed we should always free xdndtypes. | Graeme Geldenhuys | |
NEVER ASSUME! | |||
2010-09-23 | Fixes range-check errors and compiler warnings. | Graeme Geldenhuys | |
2010-09-23 | helper method to do conversion from TAtom to enum for drop actions. | Graeme Geldenhuys | |
2010-09-23 | X11: No need to reference xapplication because this method is inside ↵ | Graeme Geldenhuys | |
TfpgX11Application already | |||
2010-09-23 | X11: Adds remained of the XDND protocol handling routines | Graeme Geldenhuys | |
* Add DND processing has it's own debug DEFINE as well. This limits the console output so is easier to debug. | |||
2010-09-23 | Renamed DND fpGUI message constants to keep with existing naming convention. | Graeme Geldenhuys | |
2010-09-23 | X11: adds HandleDNDposition() for processing XdndPosition messages. | Graeme Geldenhuys | |
2010-09-23 | Adds some application wide variables that we need for tracking XDND data. | Graeme Geldenhuys | |
2010-09-23 | Fix variable types for XGetWindowProperty calls. | Graeme Geldenhuys | |
We must use C-types and not Pascal-types. | |||
2010-09-23 | Implemented abstract DoEnableDrops() method. | Graeme Geldenhuys | |
Also defined a few new types and TAtoms we will need for XDND support. | |||
2010-09-20 | Add some programmer comments in X11 backend code. | Graeme Geldenhuys | |
2010-09-04 | fpg_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-08-30 | Fix bug returning to previous active window after opening modal form | Graeme 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-22 | Introduced a new cross-platform fpgFileSize() helper function. | Graeme Geldenhuys | |
2010-08-02 | Added VERSION_FILE.inc to fpgui_toolkit.lpk packages and updated version. | Graeme Geldenhuys | |
2010-07-05 | New unit (fpg_imgutils) | Graeme Geldenhuys | |
* This will contain various utility functions to works on images. * Implemented a GrayScale Filter function. | |||
2010-05-23 | New Input Query (text) Dialog and global function fpgInputQuery(). | Graeme Geldenhuys | |
2010-05-17 | GDI: did not handle waBorderLess window attribute. | Graeme Geldenhuys | |
2010-05-14 | JPEG image loading support | jp anghel | |
2010-04-30 | X11: Fixed bug where 1x1 rectangle is not drawn. | Graeme Geldenhuys | |