Commit graph

47 commits

Author SHA1 Message Date
Fred Kiefer
7c2e8efcd8 Replace nil with [NSDate distantFuture] in calls to nextEventMatchingMask:...dequeue:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28025 72102866-910b-0410-8b05-ffd578937521
2009-03-02 16:26:23 +00:00
Adam Fedor
7afdd32ac1 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
Fred Kiefer
193e31e678 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
Matt Rice
4475b975b8 * Source/NSTableView.m (-noteNumberOfRowsChanged:): Post selection
is and did change notifications if changing the selected rows.
        * Source/NSSliderCell.m (-copyWithZone:): Make a little clearer.
        * Source/NSMatrix.m (-_rebuildLayoutAfterResize): Don't change the
        intercell spacing if not autosizing cells.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24080 72102866-910b-0410-8b05-ffd578937521
2006-11-13 05:23:24 +00:00
Matt Rice
586f972d12 * Source/NSSliderCell.m: Implement copyWithZone:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24075 72102866-910b-0410-8b05-ffd578937521
2006-11-11 18:11:21 +00:00
Matt Rice
49923f47c7 * Source/NSSlider.m (-keyDown:): Implement, Fixes bug #14000.
* Source/NSSliderCell.m (-trackMouse:...): Fix allows tick marks
        only mouse tracking.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24031 72102866-910b-0410-8b05-ffd578937521
2006-11-05 19:22:00 +00:00
Richard Frith-MacDonald
57435da7d5 tidyups and minor theme tiling updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23871 72102866-910b-0410-8b05-ffd578937521
2006-10-15 08:34:47 +00:00
Fred Kiefer
ccc72cc74f Moved tracking code from controll to cell class to allow the use in a
matrix.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23255 72102866-910b-0410-8b05-ffd578937521
2006-08-11 14:08:32 +00:00
Gregory John Casamento
b4ed61fce1 2006-06-20 20:58 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/Additions/GNUstepGUI/GSNibCompatibility.h: Added
	declarations for classes and names methods and change return
	type for objects method.
	* Source/GSNibCompatibility.m: Properly return the pointer in
	objects method and also add methods for names, and classes
	maps in the nib file.
	* Source/NSDocument.m: Refuse to write a file for a type which isn't
	native.  If the class method isNativeType: returns YES, then write the
	file in writeToFile:ofType:saveOperation:.
	* Source/NSSliderCell.m: Make the cell non-bordered in initWithCoder:



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23095 72102866-910b-0410-8b05-ffd578937521
2006-06-21 01:02:25 +00:00
Gregory John Casamento
d68950d71a Nib compatibility code merge.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22957 72102866-910b-0410-8b05-ffd578937521
2006-05-20 22:12:46 +00:00
Nicolas Roard
dd5173a47a Replaced the slider's images with alpha-channel ones. Modified NSSliderCell to draw the background behind
the button using [NSColor controlBackgroundColor]. (images from Ingolf Jandt)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22685 72102866-910b-0410-8b05-ffd578937521
2006-03-19 18:59:38 +00:00
Fred Kiefer
ef9e46d09d Protect against knob image being nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22251 72102866-910b-0410-8b05-ffd578937521
2006-01-04 12:41:05 +00:00
Fred Kiefer
a350b03662 Two small patches from the current mailing list discussion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22060 72102866-910b-0410-8b05-ffd578937521
2005-11-21 13:33:59 +00:00
Fabien Vallon
3b55bfe195 Improved documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22032 72102866-910b-0410-8b05-ffd578937521
2005-11-18 09:14:44 +00:00
Adam Fedor
303dd1baf9 Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
David Ayers
b18f1c4ac4 Header reorganization - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
Adam Fedor
6be9174933 Include <> -> ""
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
Fred Kiefer
d49f634d96 Basic implementation of the tick mark methods. Added en-/decoding
for tick marks. [setKnobThickness:], [setNumberOfTickMarks:] and
[setTickMarkPosition:] now update the control.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16543 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:55:18 +00:00
Nicola Pero
ba494c7cd9 Lock focus / unlock focus optimizations and fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15839 72102866-910b-0410-8b05-ffd578937521
2003-02-01 05:10:00 +00:00
Adam Fedor
d47e202fbe Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
Fred Kiefer
4796b2e906 Added methods to handle ticks with a dummy implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11291 72102866-910b-0410-8b05-ffd578937521
2001-11-02 13:06:20 +00:00
Nicola Pero
37d07659ee Fixed displaying a title in the slider
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7356 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:27:02 +00:00
Richard Frith-MacDonald
13ef454d9c Fixed dumb error.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6464 72102866-910b-0410-8b05-ffd578937521
2000-04-14 03:43:35 +00:00
Richard Frith-MacDonald
ba2e62d6de Window level corrections and tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6459 72102866-910b-0410-8b05-ffd578937521
2000-04-13 07:55:19 +00:00
Jonathan Gapen
937e09c22d corrected version of previous change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6457 72102866-910b-0410-8b05-ffd578937521
2000-04-12 21:44:07 +00:00
Jonathan Gapen
338507c3c2 Account for border/bezel and draw title cell properly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6454 72102866-910b-0410-8b05-ffd578937521
2000-04-12 17:20:21 +00:00
Nicola Pero
279ef7c545 Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5766 72102866-910b-0410-8b05-ffd578937521
2000-01-13 23:17:05 +00:00
Richard Frith-MacDonald
7bb001fa02 Fix set/tage values
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5641 72102866-910b-0410-8b05-ffd578937521
1999-12-29 07:14:00 +00:00
Richard Frith-MacDonald
5733733fee Encode knob cell in archive
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5634 72102866-910b-0410-8b05-ffd578937521
1999-12-28 17:13:41 +00:00
Richard Frith-MacDonald
afc8cb7775 Tidy encoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5618 72102866-910b-0410-8b05-ffd578937521
1999-12-23 18:05:25 +00:00
Nicola Pero
767103407c Tiny speed up in initialization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5468 72102866-910b-0410-8b05-ffd578937521
1999-12-13 02:49:13 +00:00
Nicola Pero
129bd9ca8c Added isOpaque
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5216 72102866-910b-0410-8b05-ffd578937521
1999-11-16 23:54:10 +00:00
Richard Frith-MacDonald
dd34792910 Lock focus fixes - get cells to lock focus before drawing themselves.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4924 72102866-910b-0410-8b05-ffd578937521
1999-09-21 05:10:54 +00:00
Adam Fedor
0bfd542562 Merge from dawn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4853 72102866-910b-0410-8b05-ffd578937521
1999-09-09 02:56:20 +00:00
Richard Frith-MacDonald
80dbb9b1fc Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3942 72102866-910b-0410-8b05-ffd578937521
1999-03-16 22:43:34 +00:00
Richard Frith-MacDonald
dbbeff810a Merged in 'dawn' CVS branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3827 72102866-910b-0410-8b05-ffd578937521
1999-03-02 08:58:30 +00:00
Felipe A. Rodriguez
d7feaa84c0 * NSSliderCell.m: knobRectFlipped: fix draw bugs in slider.app example.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3801 72102866-910b-0410-8b05-ffd578937521
1999-02-25 07:14:17 +00:00
Michael Silva
d6da78443c * Source/NSBox.m Source/NSButtonCell.m Source/NSCell.m
Source/NSColorWell.m Source/NSMatrix.m Source/NSPrintInfo.m
Source/NSScroller.m Source/NSSliderCell.m: fixed compilation
warnings by including proper includes.

* Tools/Functions.m: Defined NSRectClip(). Fixes fatal linking
errors in Tools/


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3712 72102866-910b-0410-8b05-ffd578937521
1999-02-15 19:35:02 +00:00
Felipe A. Rodriguez
4dd58372f6 * move DPSOperators.h to XDPS.
* move GPS headers into a new backend.
	* define GSContext.h/GSContext.m as abstract super for all drawing
		destinations (eliminates the need for DPS, GPS, DGS at the root of
		the AppKit) add appropriate defintion to various classes.
	* NSMatrix.m add abstract backend code from xraw (eliminate backend).
	* NSSlider.m add abstract backend code from xraw (eliminate backend).
	* NSSliderCell.m add abstract backend code from xraw (eliminate backend).
	* NSSplitView.m add abstract backend code from xraw (eliminate backend).
		replace private divider highlight method with NSHighlightRect()
	* NSWindow.m add class method to create backend specific window view.
	* NSTextField.m add abstract backend code from xraw (eliminate backend).
	* NSForm.m add abstract backend code from xraw (eliminate backend).
	* NSFormCell.m add abstract backend code from xraw (eliminate backend).
	* NSColorWell.m add abstract backend code from xraw (eliminate backend).
	* NSButton.m add abstract backend code from xraw (eliminate backend).
	* NSControl.m add abstract backend code from xraw (eliminate backend).
	* NSBox.m add abstract backend code from xraw (eliminate backend).
	* NSBrowser.m add abstract backend code from xraw (eliminate backend).
	* NSBrowserCell.m add abstract backend code from xraw (eliminate backend).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3321 72102866-910b-0410-8b05-ffd578937521
1998-11-25 17:16:48 +00:00
Adam Fedor
2ec2e70df2 Preliminary drawing engine
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3222 72102866-910b-0410-8b05-ffd578937521
1998-11-16 20:32:48 +00:00
Adam Fedor
baa1f85805 configure and library-combo fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2938 72102866-910b-0410-8b05-ffd578937521
1998-08-20 17:48:46 +00:00
Ovidiu Predescu
9837b14866 NSSlider implemented. Optimizations in displaying and flushing mechanism. A bunch of memory allocation problems fixed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2494 72102866-910b-0410-8b05-ffd578937521
1997-10-09 22:55:31 +00:00
Scott Christley
d4bfac2d3a Added scaling and rotation support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2386 72102866-910b-0410-8b05-ffd578937521
1997-08-18 17:10:23 +00:00
Scott Christley
151bf11e2c Header files reorganized. All the definitions were moved in appropiate files.
Each header file includes only the header files it needs and it uses
@class to forward reference a class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2189 72102866-910b-0410-8b05-ffd578937521
1997-02-18 00:29:25 +00:00
Scott Christley
910ea0d927 Initial implementation of NSColorList and NSColorWell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1971 72102866-910b-0410-8b05-ffd578937521
1996-12-05 16:16:21 +00:00
Scott Christley
50604fcf31 Corrected FSF address and moved comment about NET-Community
support into SUPPORT file.
Additional NSImage work.
Added resources for common TIFF images.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1869 72102866-910b-0410-8b05-ffd578937521
1996-10-18 17:14:13 +00:00
GNUstep Maintainer
4faed08751 Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1580 72102866-910b-0410-8b05-ffd578937521
1996-05-30 20:03:15 +00:00