Commit graph

84 commits

Author SHA1 Message Date
richard
489e24d900 Tidied window movement and resize
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4521 72102866-910b-0410-8b05-ffd578937521
1999-07-06 11:56:22 +00:00
richard
a79eeb8a2d New stuff for moving and sizing windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4517 72102866-910b-0410-8b05-ffd578937521
1999-07-06 05:37:15 +00:00
richard
04f50b071d Minor dragging update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4514 72102866-910b-0410-8b05-ffd578937521
1999-07-04 18:13:15 +00:00
michael
6df630c781 A miriad of changes, look at ChangeLogs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4497 72102866-910b-0410-8b05-ffd578937521
1999-06-30 03:10:38 +00:00
richard
a967db2efb Update front-end support for registering dnd types.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4407 72102866-910b-0410-8b05-ffd578937521
1999-06-15 09:23:39 +00:00
richard
1e0a90c91d Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4390 72102866-910b-0410-8b05-ffd578937521
1999-06-11 04:46:12 +00:00
fedor
df72c2d544 Remove previous change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4385 72102866-910b-0410-8b05-ffd578937521
1999-06-10 03:05:11 +00:00
richard
e3c716678d Move mouse location code to graphics context.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4381 72102866-910b-0410-8b05-ffd578937521
1999-06-09 08:54:08 +00:00
richard
6bbd8536b1 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4380 72102866-910b-0410-8b05-ffd578937521
1999-06-09 07:28:09 +00:00
fedor
ba5f43a515 Add base/screen conversion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4377 72102866-910b-0410-8b05-ffd578937521
1999-06-08 19:18:49 +00:00
richard
f6d03c0dc7 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4358 72102866-910b-0410-8b05-ffd578937521
1999-06-04 15:06:00 +00:00
richard
8fe2c79614 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4341 72102866-910b-0410-8b05-ffd578937521
1999-06-02 19:43:09 +00:00
richard
5a808ad389 Updates for dnd support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4327 72102866-910b-0410-8b05-ffd578937521
1999-06-01 17:05:57 +00:00
fedor
95f1109ae7 Implement extended graphics ops (composite, etc).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4262 72102866-910b-0410-8b05-ffd578937521
1999-05-18 16:49:13 +00:00
richard
bf60d23c5e Tiny optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4250 72102866-910b-0410-8b05-ffd578937521
1999-05-14 14:50:05 +00:00
richard
d888b218dd 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
6b82d01416 Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4222 72102866-910b-0410-8b05-ffd578937521
1999-05-07 11:09:07 +00:00
richard
2a22d6ee9f Optimisation of handling of mouse movement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4221 72102866-910b-0410-8b05-ffd578937521
1999-05-07 11:06:37 +00:00
fedor
8a2bbcaae2 flushWindow updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4201 72102866-910b-0410-8b05-ffd578937521
1999-05-06 02:59:26 +00:00
richard
19ddb94e5b Various header updates for MacOS-X compat
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4194 72102866-910b-0410-8b05-ffd578937521
1999-05-04 13:17:26 +00:00
fedor
69cc96b955 Revamp flushWindow code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4180 72102866-910b-0410-8b05-ffd578937521
1999-05-02 01:34:06 +00:00
richard
c07241993d Tidied launching
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4049 72102866-910b-0410-8b05-ffd578937521
1999-04-08 20:42:46 +00:00
richard
379f84aa74 Text field updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4014 72102866-910b-0410-8b05-ffd578937521
1999-04-01 20:21:05 +00:00
richard
275648662a Tracking rect fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3980 72102866-910b-0410-8b05-ffd578937521
1999-03-25 21:23:32 +00:00
richard
bceff2165a 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
705fb71ce1 Added resize increments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3963 72102866-910b-0410-8b05-ffd578937521
1999-03-23 22:35:21 +00:00
richard
55b55d3fee 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
richard
44dc1e7090 Added NSAffineTransform
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3821 72102866-910b-0410-8b05-ffd578937521
1999-03-01 20:53:55 +00:00
richard
7808d177f4 Misc bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3758 72102866-910b-0410-8b05-ffd578937521
1999-02-19 20:31:07 +00:00
richard
a2f42a39e9 Fixup notifications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3729 72102866-910b-0410-8b05-ffd578937521
1999-02-17 04:52:58 +00:00
richard
eddafd66d5 Minor tidyup for window flushing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3695 72102866-910b-0410-8b05-ffd578937521
1999-02-12 17:00:59 +00:00
richard
951c165938 General tidyup - make updates work properly etc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3647 72102866-910b-0410-8b05-ffd578937521
1999-02-03 21:53:29 +00:00
richard
0a4e2abfb8 Bugfix for tracking rects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3559 72102866-910b-0410-8b05-ffd578937521
1999-01-12 12:29:05 +00:00
richard
b4c33e2403 Fixed [NSWindow -setContentView:] method to make view fill window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3554 72102866-910b-0410-8b05-ffd578937521
1999-01-09 21:43:09 +00:00
richard
45d8ea0680 Get windows item update working.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3533 72102866-910b-0410-8b05-ffd578937521
1999-01-06 18:01:05 +00:00
richard
25a37ec353 Many updates to fix problems with menus etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3500 72102866-910b-0410-8b05-ffd578937521
1998-12-22 12:34:03 +00:00
richard
7418e3b778 Tidying window list management
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3495 72102866-910b-0410-8b05-ffd578937521
1998-12-20 06:19:06 +00:00
richard
582f5f44ad Reinstate changes to NSWindow.m to keep it working.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3480 72102866-910b-0410-8b05-ffd578937521
1998-12-17 13:06:17 +00:00
far
c869e4f009 * NSWindow.m acceptsFirstResponder implement.
* NSView.m: removeFromSuperview remove view from responder chain.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3476 72102866-910b-0410-8b05-ffd578937521
1998-12-16 22:33:40 +00:00
richard
1299ad6aa2 More tidying.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3471 72102866-910b-0410-8b05-ffd578937521
1998-12-16 17:36:48 +00:00
richard
590157c9c4 Many many improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3469 72102866-910b-0410-8b05-ffd578937521
1998-12-16 15:21:55 +00:00
far
cb3439381e * 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
richard
bf5137b858 Various updates to get keyboard equivalents for buttons working (especially
for panels).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3461 72102866-910b-0410-8b05-ffd578937521
1998-12-15 16:20:22 +00:00
far
22040ec62b * NSWindow.m renmae captureMouse: to _captureMouse: (designate as non OS),
various methods add fieldEditor support.
	* GSContext.m/GSContext.h revert to previous code as solution discussed
	with Adam Fedor regarding backends had problems I had not forseen.
	* NSBrowserCell.h/.m specify text subcell as an NSCell, eliminate image
	cell, copyWithZone: optimize and eliminate use of ASSIGN (fixes serious
	dealloc bug), highlight: eliminate method (fixes dup display bug).
	* NSButtonCell.m copyWithZone: optimize and eliminate use of ASSIGN
	* NSStringDrawing.h/.m remove unimplemented draw methods from Category
	(these are backend specific, can't be defined twice and are already
	implemented in xraw).
	* NSApplication.h redefine initialize_gnustep_backend () per Adam's
	redefinition in the backend.
	* Functions.m/.h remove initialize_gnustep_backend()
 	* NSCell.m preliminary implementation of fieldEditor mechanism,
	copyWithZone: optimize and eliminate use of ASSIGN
	* NSControl.m rename cell class global to _NSCONTROL_CELL_CLASS
	* NSMatrix.m implement NSControl's updateCell: to prevent unecessary
	matrix drawing if possible.
	* NSView.m -resizeWithOldSuperviewSize reverted code to my own once more
	(fewer lines and no if/else logic), changed code to use view frame instead
	of bounds per 3.3/4.2 docs, optimize to avoid floating point math and scale
	adjustment unless view has been scaled.
	* NSScrollView.m define as externs various PS* functions for use in
	drawing, polish drawing, move all backend code to front.
	* Tools/dummy.m define dummy PS* functions employed in gui.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3454 72102866-910b-0410-8b05-ffd578937521
1998-12-14 09:54:38 +00:00
far
d1b08f9835 * NSWindow.h change window style enum to match WindowMaker's definition.
* GNUAlertPanel.m NSGetAlertPanel() replace centering code with call to
	center method, change window style mask, add class initialize.
	* libgnustep-gui.m rename to Functions.m.
	* Functions.m add new file as location for generic NS* and GS* functions,
	move backend NSEventMaskFromType() into it.
	* NSApplication.m discardEventsMatchingMask:.. rewrite (fix bugs),
	runModalSession: dump all events not for modal window (fixes modal panel
	button display bug), arrangeInFront: preliminary implemenation.
	* NSCell.m: Polish.
	* NSWindow.m: center remove display invocation per 4.2 docs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3426 72102866-910b-0410-8b05-ffd578937521
1998-12-10 18:07:24 +00:00
far
04cfb58055 * NSScroller.m move backend code into frontend, polish code, remove ifdefs.
* TrackingRectangle.m/.h rename class to GS* prefix (GSTrackingRect).
	* NSView.m resizeWithOldSuperviewSize: floor possibly fractional results.
	displayIfNeededIgnoringOpacity: rewrite to fix obscure bugs in auto
	display.  Minor tweaks in other display methods for same reasons.
	* NSView.h rename invalidatedRectangle to invalidRect.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3421 72102866-910b-0410-8b05-ffd578937521
1998-12-09 01:26:37 +00:00
far
4d64c2187a * NSWindow.m rename windowWithNumber to _windowWithTag per backend
* NSEvent.m call to windowWithNumber.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3362 72102866-910b-0410-8b05-ffd578937521
1998-12-01 19:42:35 +00:00
far
b77483cabe * NSAttributedString.m and NSAttributedString.h remove.
* NSStringDrawing.m and NSStringDrawing.h add NSAttributedString interface
	and implementation.  Implement NSAttributedString's size method and
	optimize tab width calculation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3352 72102866-910b-0410-8b05-ffd578937521
1998-11-30 09:40:01 +00:00
far
2d4079f2cf * 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
richard
d438ecfaed Updates to support services
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3317 72102866-910b-0410-8b05-ffd578937521
1998-11-24 15:25:22 +00:00