Commit graph

33 commits

Author SHA1 Message Date
fredkiefer
0b7c1c3bd5 Fix compiler warnings reported by
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36165 72102866-910b-0410-8b05-ffd578937521
2013-02-18 20:29:10 +00:00
fredkiefer
4f21ccbe3d Resolve clang warnings about wrong format specifiers for NSLog.
Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36133 72102866-910b-0410-8b05-ffd578937521
2013-02-14 08:58:05 +00:00
fredkiefer
9212e5bbeb Change NSEvent to CGFloat, NSUInteger and NSInteger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36121 72102866-910b-0410-8b05-ffd578937521
2013-02-13 08:40:36 +00:00
theraven
30eb57e642 Fix all current compiler warnings on FreeBSD/x86-64.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36038 72102866-910b-0410-8b05-ffd578937521
2013-01-30 09:48:54 +00:00
espectador
ad31dc92eb Improvements for tooltips and Drag&Drop operations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35566 72102866-910b-0410-8b05-ffd578937521
2012-09-14 01:01:23 +00:00
fredkiefer
5c93b41e6d Replace direct use of the isa pointer with a call to object_getClass()
to make David happy.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33545 72102866-910b-0410-8b05-ffd578937521
2011-07-14 07:17:24 +00:00
fredkiefer
1a31d7e65a * Source/GSDragView.m (-init): Set the window background colour to clear.
* Headers/AppKit/NSAffineTransform.h,
* Headers/AppKit/NSView.h,
* Source/NSAffineTransform.m,
* Source/NSPrintOperation.m,
* Source/NSView.m: Use CGFlaot instead of float.
* Tests/gui/NSView/NSView_bounds_scale.m: New test file that currently fails.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33398 72102866-910b-0410-8b05-ffd578937521
2011-06-28 20:59:24 +00:00
fredkiefer
003ea0982a Define new cursor backend methods replacing -setcursorcolor:::. And use
these.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32179 72102866-910b-0410-8b05-ffd578937521
2011-02-15 22:54:23 +00:00
fredkiefer
05f26e5418 Fix Use-after-release found by static analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32159 72102866-910b-0410-8b05-ffd578937521
2011-02-14 18:38:11 +00:00
fredkiefer
030f54c33b Check whether the drag source supports methods before calling them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31787 72102866-910b-0410-8b05-ffd578937521
2010-12-27 13:40:57 +00:00
fredkiefer
0efb94944b Correct the definition of NSDragOperation and all its usages.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31754 72102866-910b-0410-8b05-ffd578937521
2010-12-22 16:16:14 +00:00
fredkiefer
cec34abb20 Remove compiler warnings from clang.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30117 72102866-910b-0410-8b05-ffd578937521
2010-04-10 17:48:46 +00:00
fredkiefer
3d559c477e Yet another set of #include -> #import replacement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30083 72102866-910b-0410-8b05-ffd578937521
2010-03-31 08:14:50 +00:00
qmathe
7600520a7d Fixed GSAppKitDraggingDrop event to have a valid location
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29617 72102866-910b-0410-8b05-ffd578937521
2010-02-14 12:15:05 +00:00
qmathe
57cdb1250b Dispatch drag events with -[NSApp sendEvent:] and make each synthetized drag
event the current event in order to be consistent with Mac OS X behavior.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29418 72102866-910b-0410-8b05-ffd578937521
2010-01-27 11:21:13 +00:00
wlux
9dcd28f4f1 Scroll NSTextView during dragging if the mouse pointer is close to the
border of the view's visible rectangle.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27313 72102866-910b-0410-8b05-ffd578937521
2008-12-16 21:13:21 +00:00
fedor
ce41d782c1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
fredkiefer
96795179d7 Correction to dragging mask computation by Abdreas Schik.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25956 72102866-910b-0410-8b05-ffd578937521
2008-01-16 16:45:12 +00:00
fredkiefer
e25cceb710 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
fredkiefer
1d293756e0 Add new MacOSX 10.4 methods and constants to NSWindow. Requires
recompilation of all applications!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25469 72102866-910b-0410-8b05-ffd578937521
2007-09-09 12:19:01 +00:00
fredkiefer
0b066933b7 Added dragging patch by Yen-Ju Chen.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25092 72102866-910b-0410-8b05-ffd578937521
2007-04-27 18:54:58 +00:00
stoyan
604f3cabf2 * Source/GSSlideView.m: (- _slideFrom:to:): Calcuate number of
steps wrt image size.
* Source/GSDragView.m: (- slideDraggedImageTo:): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24831 72102866-910b-0410-8b05-ffd578937521
2007-03-09 00:21:52 +00:00
ratmice
c8a1031081 * Source/NSTableView.m: Add new private methods.
(-mouseDown:): Reorganize and don't track cells until dragging
        has been ruled out.
        * Source/NSCell.m (trackMouse:inRect:ofView:untilMouseUp:):
        Handle events no longer in the queue.
        * Source/GSDragView.m: Change NSLog to NSDebugLLog.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24007 72102866-910b-0410-8b05-ffd578937521
2006-11-01 09:50:00 +00:00
rfm
4eca996fb6 Don't drop expose events.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23602 72102866-910b-0410-8b05-ffd578937521
2006-09-24 08:27:21 +00:00
rfm
2ed1c70692 Tweaks to avoid new compiler warnings with gcc-4.1 and some 64bit issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23126 72102866-910b-0410-8b05-ffd578937521
2006-07-04 21:31:49 +00:00
fredkiefer
c69131d420 Allow to switch off the showing of the applications icon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22892 72102866-910b-0410-8b05-ffd578937521
2006-05-10 21:48:15 +00:00
CaS
b9c4cc1832 DnD cleanups and fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21028 72102866-910b-0410-8b05-ffd578937521
2005-04-01 14:10:39 +00:00
CaS
f83a371d2f Tweaks for subclassing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20998 72102866-910b-0410-8b05-ffd578937521
2005-03-29 10:08:50 +00:00
CaS
a3394a27e2 DnD bugfixes and cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20985 72102866-910b-0410-8b05-ffd578937521
2005-03-28 08:34:31 +00:00
fedor
25ff6e9629 * Source/GSDragView.m ([GSDragView -_setCursor]): Initialize variable.
* Source/NSMatrix.m: Rename vaguely-named macro.
(Based on Path #3499 from Patrick Middleton).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20346 72102866-910b-0410-8b05-ffd578937521
2004-11-12 04:19:33 +00:00
FredKiefer
395837a98a Better handling of generic drag window loaction update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19553 72102866-910b-0410-8b05-ffd578937521
2004-06-19 15:27:03 +00:00
FredKiefer
0c6b153a62 Finished off backend indepenend dragging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19546 72102866-910b-0410-8b05-ffd578937521
2004-06-18 23:49:40 +00:00
FredKiefer
3353b6a315 New backend neutral DnD implementation (still incomplete)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19451 72102866-910b-0410-8b05-ffd578937521
2004-06-03 22:44:12 +00:00