Commit graph

38 commits

Author SHA1 Message Date
Nicola Pero
b58cc80c6b Abort value before setting numeric values.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5276 72102866-910b-0410-8b05-ffd578937521
1999-11-25 17:15:46 +00:00
Nicola Pero
a5f9364730 Added isOpaque method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5214 72102866-910b-0410-8b05-ffd578937521
1999-11-16 23:49:35 +00:00
Richard Frith-MacDonald
fe4195d6e2 Fixes for cursor updating
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5189 72102866-910b-0410-8b05-ffd578937521
1999-11-15 16:00:47 +00:00
Nicola Pero
ebf13e74a0 Mainly removed useless implementation of 'methods implemented by the
delegate'; minor bug fix too.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5173 72102866-910b-0410-8b05-ffd578937521
1999-11-14 03:17:52 +00:00
Nicola Pero
8f94336ad5 Crucial fix to make NSControl usable un-subclassed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5078 72102866-910b-0410-8b05-ffd578937521
1999-10-25 22:13:15 +00:00
Nicola Pero
cc3f04f070 Added missing method performClick
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5031 72102866-910b-0410-8b05-ffd578937521
1999-10-18 22:54:41 +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
Richard Frith-MacDonald
63b1e96172 Nocolas patch for cell size calculation, plus some tidying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4869 72102866-910b-0410-8b05-ffd578937521
1999-09-11 05:25:53 +00:00
Richard Frith-MacDonald
9ab12bd316 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 Frith-MacDonald
3cfafe1499 Various tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4357 72102866-910b-0410-8b05-ffd578937521
1999-06-04 14:43:24 +00:00
Richard Frith-MacDonald
61e4a40589 Send actions as we should
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4343 72102866-910b-0410-8b05-ffd578937521
1999-06-02 20:37:19 +00:00
Adam Fedor
ac26385d09 Fix up lockFocus, restoring graphics context.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4243 72102866-910b-0410-8b05-ffd578937521
1999-05-11 15:43:10 +00:00
Richard Frith-MacDonald
5d64c2b950 Default implementation of drawRect: is to call drawCell:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4167 72102866-910b-0410-8b05-ffd578937521
1999-04-29 12:48:58 +00:00
Richard Frith-MacDonald
293ecacd91 Permit nil cel values
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4039 72102866-910b-0410-8b05-ffd578937521
1999-04-07 09:46:04 +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
4019b69433 Mouse tracking fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3832 72102866-910b-0410-8b05-ffd578937521
1999-03-02 12:14:38 +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
Richard Frith-MacDonald
681644efb2 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
Felipe A. Rodriguez
f29476bc08 * 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
Felipe A. Rodriguez
134a561e0c * 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
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
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
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
6f7b6620d0 The first implementation of scroll views.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2370 72102866-910b-0410-8b05-ffd578937521
1997-08-05 21:50:10 +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
a05e35e336 Add peek event methods to NSApplication.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2260 72102866-910b-0410-8b05-ffd578937521
1997-03-27 17:47:03 +00:00
Scott Christley
b44d89e34a Minor bug fixes related to lock/unlock of focus and
displaying cells when their value has changed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2257 72102866-910b-0410-8b05-ffd578937521
1997-03-21 01:06:15 +00:00
Scott Christley
aa3bf02466 Remove some debugging code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2256 72102866-910b-0410-8b05-ffd578937521
1997-03-20 19:28:14 +00:00
Scott Christley
1957d087a5 Additional NSScroller implementation.
Fix locking/unlocking of focus for view hierarchy.
Numerous bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2255 72102866-910b-0410-8b05-ffd578937521
1997-03-20 19:23:21 +00:00
Scott Christley
5d15da4e79 Some small changes to support backing-store.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2244 72102866-910b-0410-8b05-ffd578937521
1997-03-17 18:43:27 +00:00
Scott Christley
91f71eb3ad Changed the retain/release policy in NSButton, NSCell, NSControl,
NSSlider and NSTextField classes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2230 72102866-910b-0410-8b05-ffd578937521
1997-03-05 19:46:41 +00:00
Scott Christley
1f73912776 Remove internal NSLog() implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2224 72102866-910b-0410-8b05-ffd578937521
1997-03-04 17:55:44 +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
debc412a06 Minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2068 72102866-910b-0410-8b05-ffd578937521
1997-01-30 15:41:50 +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
fed5dc1dfb Replace use of NSLog with NSDebugLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1644 72102866-910b-0410-8b05-ffd578937521
1996-07-11 00:59:30 +00:00
GNUstep Maintainer
6ec5d8d5a4 Corrections for state changes and drawing with cells and controls.
Corrections to NSWindow for key and main window notification and
first responder handling.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@1642 72102866-910b-0410-8b05-ffd578937521
1996-07-10 20:43:47 +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