Commit graph

52 commits

Author SHA1 Message Date
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
Nicola Pero
913e8e34f4 Fixed offset used in delegate calls
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15974 72102866-910b-0410-8b05-ffd578937521
2003-02-16 14:04:10 +00:00
Nicola Pero
2f0f4f1d0d Fixed delegate constraining split position
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15969 72102866-910b-0410-8b05-ffd578937521
2003-02-16 03:19:11 +00:00
Nicola Pero
33a0a5ea29 Fixed compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15774 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:28:39 +00:00
Fred Kiefer
a666d7658d Removed unneeded includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15004 72102866-910b-0410-8b05-ffd578937521
2002-11-17 18:38:34 +00:00
Pierre-Yves Rivaille
ed7570937a * Source/NSSplitView.m ([NSSplitView -resizeSubviewsWithOldSize:]):
Move code from setFrame: & resizeWithOldSuperviewSize:
  to resizeSubviewsWithOldSize:.

* Source/NSColorPanel.m ([NSColorPanel _initWithoutGModel]):
  make the window a little bit higher. Some ColorPickers would not fit.
* ColorPickers/GSCMYKColorPicker.tiff:
* ColorPickers/GSGrayColorPicker.tiff:
* ColorPickers/GSHSBColorPicker.tiff:
* ColorPickers/GSRGBColorPicker.tiff:
  resize so that the image fits within the NSButton.
  (only blank area was removed)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14868 72102866-910b-0410-8b05-ffd578937521
2002-10-29 18:00:15 +00:00
Adam Fedor
356a824ea8 Document. Fix up NSDebugLogs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14727 72102866-910b-0410-8b05-ffd578937521
2002-10-12 03:14:22 +00:00
Nicola Pero
03c108664b Fixed typo in last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14529 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:30:29 +00:00
Nicola Pero
c7976b098c Remove the delegate from the notification center in -dealloc; cache the
default notification center for the whole class


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14527 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:28:12 +00:00
Pierre-Yves Rivaille
f9bdd044b1 * Source/NSSplitView.m ([NSSplitView -initWithCoder:]):
set _never_displayed_before to YES.
* Source/NSFont.m: rearrange the last change to make
  it look like other classes' initWithCoder/encodeWithCoder
* Source/NSTextView.m: do not call _blink directly
  (suggested by Nicola Pero).
* Source/NSButtonCell.m
  ([NSButtonCell -drawInteriorWithFrame:inView:]):
  if the button is NSImageOnly, draw the dotted frame at
  the right location.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14483 72102866-910b-0410-8b05-ffd578937521
2002-09-18 18:00:30 +00:00
Pierre-Yves Rivaille
f4cc3d1d83 Source/NSSplitView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14235 72102866-910b-0410-8b05-ffd578937521
2002-08-05 11:56:29 +00:00
Nicola Pero
68a815cb1b Updated and simplified code for the fact we no longer flush the window
in NSHighlightRect()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13680 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:05:25 +00:00
Nicola Pero
0baf5e4271 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13304 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:26:03 +00:00
Pierre-Yves Rivaille
ccb5efc4cd Source/NSSplitView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12843 72102866-910b-0410-8b05-ffd578937521
2002-02-27 16:58:35 +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
3f3d0d7d79 Adopted to changes in header. Dummy implementation of new
methods. Changed incudes. In [mouseDown:] also check for new delegate
methods. [_adjustSubviews:] now takes the old size as an argument
to hand it on to delegate. Changed all places that call
this. En-/decode the image instead of the cursor.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11306 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:02:24 +00:00
Nicola Pero
f15e2802c0 Implemented adjusting subviews only the first time the splitview is
displayed; fixed some delegate messaging which was done the wrong way


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9040 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:06:32 +00:00
Nicola Pero
284aef1ae9 Post appropriate notifications after the user finished dragging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8913 72102866-910b-0410-8b05-ffd578937521
2001-01-29 22:20:56 +00:00
Nicola Pero
dbbdfa3719 Implemented apple API extension allowing delegate to constrain divider
position to certain positions while dragging


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8850 72102866-910b-0410-8b05-ffd578937521
2001-01-28 17:43:13 +00:00
Nicola Pero
76ea49fa2a Changed to use flipped coordinates as per spec; _autoresize_subviews = NO
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8819 72102866-910b-0410-8b05-ffd578937521
2001-01-27 00:03:18 +00:00
Nicola Pero
f97716f2d8 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8816 72102866-910b-0410-8b05-ffd578937521
2001-01-26 21:56:34 +00:00
Nicola Pero
15c4029af9 Huge simplification and speed up of dragging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7432 72102866-910b-0410-8b05-ffd578937521
2000-09-07 12:59:28 +00:00
Richard Frith-MacDonald
f4ae81a101 Reduce flicker by only highlighting when needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6318 72102866-910b-0410-8b05-ffd578937521
2000-03-18 06:51:12 +00:00
Richard Frith-MacDonald
751ed9aca0 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6264 72102866-910b-0410-8b05-ffd578937521
2000-03-10 18:32:41 +00:00
Nicola Pero
9a2e06f513 Bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6252 72102866-910b-0410-8b05-ffd578937521
2000-03-10 12:41:25 +00:00
Nicola Pero
96097b90ad Fixed bug in dragging; avoid redrawing when ignoring mouse press
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6244 72102866-910b-0410-8b05-ffd578937521
2000-03-10 02:18:15 +00:00
Nicola Pero
0a517b8d4d Fixed bug in adjusting subviews when the divider is horizontal
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6239 72102866-910b-0410-8b05-ffd578937521
2000-03-09 19:40:54 +00:00
Nicola Pero
6358d4df44 Updated for change in NSView ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5719 72102866-910b-0410-8b05-ffd578937521
2000-01-10 02:04:25 +00:00
Nicola Pero
e4c6ec440e Prefixed ivar names with underscore; fixing dividerThickiness stuff, tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5577 72102866-910b-0410-8b05-ffd578937521
1999-12-18 15:47:25 +00:00
Richard Frith-MacDonald
738bb09559 Access superclass ivars directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4786 72102866-910b-0410-8b05-ffd578937521
1999-09-01 08:35:16 +00:00
Richard Frith-MacDonald
a3c6189002 Fixes for system colors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4777 72102866-910b-0410-8b05-ffd578937521
1999-08-31 09:19:39 +00:00
Richard Frith-MacDonald
1452e6dc22 Updates suggested by Pascal
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4571 72102866-910b-0410-8b05-ffd578937521
1999-07-12 05:59:41 +00:00
Richard Frith-MacDonald
0c507ab2d0 Some more optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4235 72102866-910b-0410-8b05-ffd578937521
1999-05-10 08:30:14 +00:00
Richard Frith-MacDonald
5b81c06c1a Major optimisation effort.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4228 72102866-910b-0410-8b05-ffd578937521
1999-05-07 20:08:51 +00:00
Richard Frith-MacDonald
e3dbc302ff Multiple drawing fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4006 72102866-910b-0410-8b05-ffd578937521
1999-04-01 06:19:37 +00:00
Richard Frith-MacDonald
a4144cabfd Fixes for flipped views
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3996 72102866-910b-0410-8b05-ffd578937521
1999-03-30 13:59:35 +00:00
Richard Frith-MacDonald
74806c946d Mouse handling fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3973 72102866-910b-0410-8b05-ffd578937521
1999-03-24 11:31:06 +00:00
Richard Frith-MacDonald
a57f809bd6 Many bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3756 72102866-910b-0410-8b05-ffd578937521
1999-02-19 20:19:58 +00:00
Richard Frith-MacDonald
663c70afac Corrected delegate setup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3731 72102866-910b-0410-8b05-ffd578937521
1999-02-17 09:13:43 +00:00
Richard Frith-MacDonald
5c31c8bd0e Fixed drawing of subviews to tile decently.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3572 72102866-910b-0410-8b05-ffd578937521
1999-01-18 18:24:37 +00:00
Felipe A. Rodriguez
1551c447ac * NSCell.m acceptsFirstResponder implement, editWithFrame: adjust further,
selectWithFrame: preliminary implementation.
	* NSButton.m: acceptsFirstResponder implement.
	* NSText.m: shouldDrawInsertionPoint test for field editor status.
	* NSTextField.m: mouseDown: use field editor instead of previous non OS
	text field cell editor code, textShouldEndEditing: implement.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3466 72102866-910b-0410-8b05-ffd578937521
1998-12-16 11:48:33 +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
Felipe A. Rodriguez
2b9b066fcc * NSSplitView.m in drawRect moved NSRectFill() to backend
* NSSavePanel.m commented out call to NSRunAlertPanel
	* NSText.h and NSText.m integrated source from Daniel B�hringer.
	* NSTextView.h and NSTextView.m integrated source from Daniel B�hringer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2936 72102866-910b-0410-8b05-ffd578937521
1998-08-20 09:56:26 +00:00
Felipe A. Rodriguez
fd64d9ffb9 * NSView.h added specific values and comments to resize constants enum.
* NSView.m implemented resizeWithOldSuperviewSize (needs work).
	* NSMatrix.m mousedown clarified description comment.
	* NSSavePanel.m integrated source from Daniel B�hringer into premliminary
		implementations provided by Scott Christley.
	* NSSavePanel.h integrated source from Daniel B�hringer into premliminary
		implementations provided by Scott Christley.
	* NSOpenPanel.m integrated source from Daniel B�hringer into premliminary
		implementations provided by Scott Christley.
	* NSOpenPanel.h integrated source from Daniel B�hringer into premliminary
		implementations provided by Scott Christley.
	* NSStringDrawing.h defined NSAttributedString portion of extension.
	* NSAttributedString.h created preliminary implementation of extension.
	* Appkit.h added includes for NSAttributedString and NSStringDrawing.
	* NSPasteboard.h added extern NSRTFDPboardType define.
	* externs.m defined NSRTFDPboardType.
	* NSText.h integrated source from Daniel B�hringer
	* NSTextView.m preliminary implementation from Daniel B�hringer
	* NSTextView.h preliminary implementation from Daniel B�hringer
	* NSSplitView.m in drawRect use NSRectFill()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2934 72102866-910b-0410-8b05-ffd578937521
1998-08-19 09:00:26 +00:00
Felipe A. Rodriguez
ddfdb35ec3 * NSSplitView in initWithFrame changed default back color to light gray.
* NSSavePanel modified to inherit from NSPanel per OS spec.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2896 72102866-910b-0410-8b05-ffd578937521
1998-08-04 08:33:31 +00:00
Adam Fedor
8d2cc1717c New split view, other fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2869 72102866-910b-0410-8b05-ffd578937521
1998-07-28 17:51:55 +00:00
Scott Christley
aee90a695e Convert to the GNUstep makefile package.
The config.h files should not be installed with the other
header files; it is only used for compilation, so the source
files should include it not the header files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2439 72102866-910b-0410-8b05-ffd578937521
1997-09-23 22:43:24 +00:00
Scott Christley
b78cc8a51f Add WIN32 DLL support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2367 72102866-910b-0410-8b05-ffd578937521
1997-08-04 20:42:56 +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