Commit graph

232 commits

Author SHA1 Message Date
fedor
e7072cb446 *BSD fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3639 72102866-910b-0410-8b05-ffd578937521
1999-02-02 00:08:58 +00:00
richard
554d39c514 Don't use getpid() - use globallyUniqueString instead
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3635 72102866-910b-0410-8b05-ffd578937521
1999-02-01 14:14:58 +00:00
fedor
ec6158f0bb Move GMArchiver files so gui doesnt depend on extenions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3614 72102866-910b-0410-8b05-ffd578937521
1999-01-28 18:34:31 +00:00
richard
710675c693 Update to fix coordinate conversion between views.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3585 72102866-910b-0410-8b05-ffd578937521
1999-01-22 20:28:12 +00:00
richard
d4f4617d09 Tidied view hierarchy management methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3584 72102866-910b-0410-8b05-ffd578937521
1999-01-21 18:12:45 +00:00
richard
6639eb3c88 Some bugfixes - various
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3583 72102866-910b-0410-8b05-ffd578937521
1999-01-21 17:14:55 +00:00
richard
38cf692043 Bugfix for initWithCoder:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3582 72102866-910b-0410-8b05-ffd578937521
1999-01-21 10:41:23 +00:00
richard
dad20c9355 Rewrite and tidy of code to constrain scroll point. Incorporate some
ideas from xraw.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3577 72102866-910b-0410-8b05-ffd578937521
1999-01-19 10:58:51 +00:00
richard
9ddd4532b3 Several minor bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3576 72102866-910b-0410-8b05-ffd578937521
1999-01-19 10:55:24 +00:00
richard
185e4ef945 Additional method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3575 72102866-910b-0410-8b05-ffd578937521
1999-01-19 10:42:50 +00:00
richard
a5937406b0 Tidied -tile method and various other bits to do with resizing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3573 72102866-910b-0410-8b05-ffd578937521
1999-01-19 10:35:43 +00:00
richard
74cf0524f9 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
richard
92eef2512b Fixed bug reading colors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3571 72102866-910b-0410-8b05-ffd578937521
1999-01-18 05:35:14 +00:00
richard
a1947434d8 Better unpacking of nib.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3569 72102866-910b-0410-8b05-ffd578937521
1999-01-17 08:14:03 +00:00
richard
e18717400a Another fix attempt for header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3568 72102866-910b-0410-8b05-ffd578937521
1999-01-17 08:13:03 +00:00
richard
8a47c9e673 Add code to set ivars directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3567 72102866-910b-0410-8b05-ffd578937521
1999-01-15 11:44:53 +00:00
richard
f3c717363d Fix include suggested by dirk@object-factory.com
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3563 72102866-910b-0410-8b05-ffd578937521
1999-01-15 10:27:33 +00:00
richard
d803205644 Implemented nib support - No, not NeXTstep/OPENSTEP/MacOS-X compatible file
format, but a compatible API, and a fast, simple implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3562 72102866-910b-0410-8b05-ffd578937521
1999-01-15 10:14:28 +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
ea065125ea Bugfix by Benhur-de-Oliveira.Stein@imag.fr
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3556 72102866-910b-0410-8b05-ffd578937521
1999-01-11 17:33:35 +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
c8b326d53f More graceful startup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3553 72102866-910b-0410-8b05-ffd578937521
1999-01-09 06:49:48 +00:00
richard
5b72f5648a Nicer windows menu images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3550 72102866-910b-0410-8b05-ffd578937521
1999-01-08 14:55:25 +00:00
richard
7ca95598fa Preliminary code for opeing files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3538 72102866-910b-0410-8b05-ffd578937521
1999-01-07 15:52:42 +00:00
richard
11c0a41bcc Forward incoming requests to the application delegate if possible
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3537 72102866-910b-0410-8b05-ffd578937521
1999-01-07 14:28:58 +00:00
richard
319fd1a05d Bugfix suggested by stark@easynet.fr
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3534 72102866-910b-0410-8b05-ffd578937521
1999-01-06 22:16:22 +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
8fe11620e6 Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3528 72102866-910b-0410-8b05-ffd578937521
1999-01-05 21:27:31 +00:00
richard
e1b3e7a1f5 Tidied initialisation code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3527 72102866-910b-0410-8b05-ffd578937521
1999-01-05 21:24:06 +00:00
richard
8ffe5e9f10 Bugfixes suggested by stark@easynet.fr
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3525 72102866-910b-0410-8b05-ffd578937521
1999-01-05 18:42:33 +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
1f26059c40 More windows menu improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3487 72102866-910b-0410-8b05-ffd578937521
1998-12-17 22:42:16 +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
richard
ed8cb51bc9 Fixed ASSIGN macro from NSObject.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3479 72102866-910b-0410-8b05-ffd578937521
1998-12-17 11:11:22 +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
fedor
f786a3b18b Remove duplicate function
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3468 72102866-910b-0410-8b05-ffd578937521
1998-12-16 14:08:57 +00:00
far
7d4726f674 tweak acceptsFirstResponder
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3467 72102866-910b-0410-8b05-ffd578937521
1998-12-16 12:57:41 +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
richard
40a2eefab8 Added alert panels and fixed for submenus of services menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3458 72102866-910b-0410-8b05-ffd578937521
1998-12-14 15:59:51 +00:00
far
9a51e11c67 minor tweak to NSView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3455 72102866-910b-0410-8b05-ffd578937521
1998-12-14 10:28:51 +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
richard
3bdb18f536 Completed alert panel functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3453 72102866-910b-0410-8b05-ffd578937521
1998-12-14 08:58:53 +00:00
richard
01ac1e8035 Minor tidying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3435 72102866-910b-0410-8b05-ffd578937521
1998-12-12 10:03:44 +00:00
richard
5f2f86031b Fixed error in the, deliberately wrong :-) code for rounding view sizes down
to an integer number of points.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3433 72102866-910b-0410-8b05-ffd578937521
1998-12-12 09:53:54 +00:00
richard
67ac649c75 resizeWithOldSuperviewSize: revert to previous code (in order to fix bug
introduced when MaxX or Y is specified but not Min.  Added reliable
code to avoid fractional values.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3431 72102866-910b-0410-8b05-ffd578937521
1998-12-12 06:40:23 +00:00
fedor
977f5519f1 Remove method table init.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3430 72102866-910b-0410-8b05-ffd578937521
1998-12-11 13:39:07 +00:00