Richard Frith-MacDonald
eccba52f9b
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 Frith-MacDonald
dcd2e40b41
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
Richard Frith-MacDonald
60800878e7
Improve flushing by using new focus lock/unlock
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4256 72102866-910b-0410-8b05-ffd578937521
1999-05-16 06:52:39 +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
0644a7dfeb
Bugfix and optimisations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4232 72102866-910b-0410-8b05-ffd578937521
1999-05-09 07:50:04 +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
Adam Fedor
20fc62f76c
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 Frith-MacDonald
8d3ef364d3
On removal from superview send move to nil window
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4176 72102866-910b-0410-8b05-ffd578937521
1999-04-30 18:42:07 +00:00
Richard Frith-MacDonald
cdd115ed0e
Polish
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4000 72102866-910b-0410-8b05-ffd578937521
1999-03-31 06:01:58 +00:00
Richard Frith-MacDonald
2b273903c4
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 Frith-MacDonald
bc4841ed81
Tidy
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3975 72102866-910b-0410-8b05-ffd578937521
1999-03-24 16:49:55 +00:00
Richard Frith-MacDonald
b54c16fb31
Lock and unlock focus
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3957 72102866-910b-0410-8b05-ffd578937521
1999-03-22 13:23:53 +00:00
Richard Frith-MacDonald
aa8df77c85
Resizing error fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3928 72102866-910b-0410-8b05-ffd578937521
1999-03-16 10:53:42 +00:00
Richard Frith-MacDonald
9375928c5d
Minor fix for resizing in flipped views.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3927 72102866-910b-0410-8b05-ffd578937521
1999-03-16 08:18:16 +00:00
Richard Frith-MacDonald
8df86089cc
Tidyup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3918 72102866-910b-0410-8b05-ffd578937521
1999-03-14 22:07:14 +00:00
Richard Frith-MacDonald
f5d2532cd0
Added checks on rectangle dimensions etc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3891 72102866-910b-0410-8b05-ffd578937521
1999-03-10 13:34:29 +00:00
Richard Frith-MacDonald
83e3e52e34
Added comments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3863 72102866-910b-0410-8b05-ffd578937521
1999-03-07 21:10:22 +00:00
Richard Frith-MacDonald
b3053fadef
Bugfix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3861 72102866-910b-0410-8b05-ffd578937521
1999-03-07 06:38:01 +00:00
Richard Frith-MacDonald
fab177a1ae
Moved focus handling to graphics context
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3859 72102866-910b-0410-8b05-ffd578937521
1999-03-05 15:47:22 +00:00
Richard Frith-MacDonald
bab63fe691
Bugfix in redisplay
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3833 72102866-910b-0410-8b05-ffd578937521
1999-03-02 14:02:50 +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
dd0b687fb3
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 Frith-MacDonald
a136e2ee9c
Much optimised coordinate conversion
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3783 72102866-910b-0410-8b05-ffd578937521
1999-02-22 09:00:53 +00:00
Richard Frith-MacDonald
f99c78791f
Tidyup conversion code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3779 72102866-910b-0410-8b05-ffd578937521
1999-02-22 06:03:26 +00:00
Richard Frith-MacDonald
ea86b25c57
Fix coordinate conversion code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3778 72102866-910b-0410-8b05-ffd578937521
1999-02-22 05:41:00 +00:00
Richard Frith-MacDonald
55564033f8
Coordinate conversion code plus bugfix in redisplay stuff.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3768 72102866-910b-0410-8b05-ffd578937521
1999-02-21 21:09:46 +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
Felipe A. Rodriguez
ee210229a6
Thu Feb 18 1999 Felipe A. Rodriguez <farz@mindspring.com>
...
* NSView.m display: fix for display bug in buttons example
* NSCell.m endEditing: fix for display bug in buttons example
* NSTextField.m textShouldEndEditing: The changes to these three classes
fix a display bug visible in the buttons example when the top text field is
selected for editing and then asked to resign when the user clicks on say
the bottom text field. This causes a rect encompassing both views to be
invalidated and displayed. Beyond being inefficient this also causes a
display glitch given the current drawing methodology.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3755 72102866-910b-0410-8b05-ffd578937521
1999-02-18 10:46:39 +00:00
Richard Frith-MacDonald
67d34b8556
Minor bugfixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3737 72102866-910b-0410-8b05-ffd578937521
1999-02-17 12:22:46 +00:00
Richard Frith-MacDonald
320a9d10c4
Optimisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3716 72102866-910b-0410-8b05-ffd578937521
1999-02-16 06:02:15 +00:00
Richard Frith-MacDonald
75deb059d4
Misc tidying.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3698 72102866-910b-0410-8b05-ffd578937521
1999-02-12 21:43:18 +00:00
Richard Frith-MacDonald
cb876494d8
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 Frith-MacDonald
fadb539151
Rewrote display methods to conform to spec.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3693 72102866-910b-0410-8b05-ffd578937521
1999-02-12 13:39:44 +00:00
Richard Frith-MacDonald
2e9637bfed
Code tidyup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3677 72102866-910b-0410-8b05-ffd578937521
1999-02-09 12:59:44 +00:00
Richard Frith-MacDonald
3a3476456f
More drawing fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3666 72102866-910b-0410-8b05-ffd578937521
1999-02-05 20:30:50 +00:00
Richard Frith-MacDonald
96ba007614
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 Frith-MacDonald
61333abe17
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 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
9104a852b4
* 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
Felipe A. Rodriguez
81aa95a861
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
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
Richard Frith-MacDonald
7c66b0ba8b
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 Frith-MacDonald
7e21acf74e
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 Frith-MacDonald
a3caf04554
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
Felipe A. Rodriguez
caab58e8db
* NSView.m resizeWithOldSuperviewSize: revert to previous code and add bug
...
fixes from new. Fixes bugs in new code when MaxX or Y is specified but not
Min. Avoids fractional values and fewer lines of code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3425 72102866-910b-0410-8b05-ffd578937521
1998-12-09 17:49:55 +00:00
Richard Frith-MacDonald
2eb6fb3f87
Auto-resize fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3424 72102866-910b-0410-8b05-ffd578937521
1998-12-09 06:42:19 +00:00
Felipe A. Rodriguez
3a0de0df6c
* 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
Felipe A. Rodriguez
fe9e59eb35
* NSView.m resizeWithOldSuperviewSize: fully implement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3392 72102866-910b-0410-8b05-ffd578937521
1998-12-05 21:27:19 +00:00
Felipe A. Rodriguez
b57813676d
* NSView.m resizeSubviewsWithOldSize: check whether view has ever been
...
rotated (per 4.2 docs).
* NSStringDrawing.m sizeWithAttributes: fix minor bug introduced while
optimizing tab calc.
* NSCell.m: drawInteriorWithFrame: minor optimization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3379 72102866-910b-0410-8b05-ffd578937521
1998-12-03 21:23:58 +00:00
Felipe A. Rodriguez
e75279e0eb
* GSContext.m/.h second rewrite and polish of API.
...
* NSView.m displayrect add flushWindow at end.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3339 72102866-910b-0410-8b05-ffd578937521
1998-11-27 12:17:37 +00:00