Richard Frith-MacDonald
0ac0237a1e
Handle exceptions when graphics context isn't in place.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8519 72102866-910b-0410-8b05-ffd578937521
2001-01-08 19:59:20 +00:00
Fred Kiefer
485b84e393
[_initWithoutGModel] make the size label non-selectable.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8511 72102866-910b-0410-8b05-ffd578937521
2001-01-08 17:29:13 +00:00
Fred Kiefer
f5cce03392
In [supportMaxColorSpaces] corrected converions from RGB to HSB.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8510 72102866-910b-0410-8b05-ffd578937521
2001-01-08 17:28:32 +00:00
Fred Kiefer
c1f712ee80
Small improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8503 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:12:31 +00:00
Fred Kiefer
3f961f1098
Better interaction with the current colour picker. [setTarget:]
...
don't retain target. In [sharedColorPanel] the picker mode is used
only to create the panel, not each time the panel is shown. Show
the alpha value multiplied by 100.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8499 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:06:10 +00:00
Fred Kiefer
b2799ce60c
In [dealloc] call [deactivate] for active colour wells.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8498 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:05:32 +00:00
Fred Kiefer
47c5ba9a64
[setTarget:] don't retain target to avoid retain cycle in
...
NSScrollView. [initWithCoder:] release target after decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8497 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:04:58 +00:00
Fred Kiefer
b8a41ef24a
Added new GS methods [concatenateWithMatrix:] and
...
[deltaPointInMatrixSpace:] to avoid the creation of a new
NSAffineTransform in the backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8496 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:04:21 +00:00
Nicola Pero
44a4abdda9
Sizing improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8485 72102866-910b-0410-8b05-ffd578937521
2001-01-07 01:05:44 +00:00
Nicola Pero
aa91231c31
Improvements for replacing the text view with another one
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8484 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:59:57 +00:00
Nicola Pero
0d14de6d9c
Implemented textContainerChangeTextView:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8483 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:57:23 +00:00
Nicola Pero
0fe5dd2861
Added invalidation of text position during editing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8482 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:53:53 +00:00
Nicola Pero
b6038bc341
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8481 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:46:12 +00:00
Richard Frith-MacDonald
a6a81013c4
A few copy/paste fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8466 72102866-910b-0410-8b05-ffd578937521
2001-01-03 10:39:02 +00:00
Fred Kiefer
f15c6fb50b
Added missing methods, restructured all the private methods, so
...
there are no changing methods left. Made systemColorWithName() a
function and optimized system color retrival.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8459 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:42:56 +00:00
Fred Kiefer
b6214ee639
Added notifiaction string from NSColor.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8458 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:42:18 +00:00
Fred Kiefer
21589c3965
Removed reference of NSColorPrivate.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8457 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:41:53 +00:00
Fred Kiefer
7465643efd
Simplified mask definition in [drawInteriorWithFrame:inView:] and
...
[cellSize].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8454 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:39:54 +00:00
Richard Frith-MacDonald
afc3dfd686
More selection fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8451 72102866-910b-0410-8b05-ffd578937521
2000-12-27 07:39:25 +00:00
Richard Frith-MacDonald
7fdaabcdde
Selection fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8450 72102866-910b-0410-8b05-ffd578937521
2000-12-27 06:28:29 +00:00
Fred Kiefer
3088176c7a
Dummy implementation for new methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8444 72102866-910b-0410-8b05-ffd578937521
2000-12-26 21:43:27 +00:00
Fred Kiefer
a5b32e8ee8
Delegate all the new methods to the cell. Replaced all calls to
...
[display] with [setNeedsDisplay:] excuding those in [setState:]
and [setNextState:]. Removed the initXXX methods, as they were
doublicated code from super.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8443 72102866-910b-0410-8b05-ffd578937521
2000-12-26 21:42:57 +00:00
Fred Kiefer
20a28ff6a0
Use the _default_context for all events and in dealloc.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8435 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:09:03 +00:00
Fred Kiefer
4869a8775e
Implemented [setTitleWithMnemonic:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8433 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:07:58 +00:00
Fred Kiefer
f369ead740
Implemented [refusesFirstResponder] and [setRefusesFirstResponder:].
...
Changed [setEnabled:], [setAlignment:], [setFont:] and all
[setXXValue:] methods to conform to the spec. Removed the
[copyWithZone:] method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8431 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:07:06 +00:00
Fred Kiefer
e2080f1aa3
Dummy implementation for new methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8430 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:06:06 +00:00
Fred Kiefer
31dbd85ecb
Implemented [imageRepWithContentsOfURL:] and [imageRepsWithContentsOfURL:].
...
In [imageRepsWithContentsOfFile:] get all possible reps.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8429 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:05:39 +00:00
Fred Kiefer
8dd31d83b4
Implemented [initWithBitmapHandle:], [initWithIconHandle:] and
...
[initWithContentsOfURL:]. [copyWithZone:] dont copy cached image reps.
Allways use [self representations], so that the representation is
loaded if needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8428 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:05:12 +00:00
Fred Kiefer
003b893e23
In [drawInteriorWithFrame:inView:] use NSCompositeSourceOver as
...
the operator for imag composition not NSCompositeCopy. This
replacement may be necessary in other parts of the GUI as well!!!!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8424 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:22:16 +00:00
Fred Kiefer
43d41776c0
Adopted to changes in header file.
...
Moved code from [TIFFRepresentation] to
[TIFFRepresentationUsingCompression:factor:] and call this.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8423 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:21:34 +00:00
Fred Kiefer
a10dcd826a
Adopted to changes in header file.
...
Removed methods [drawAtPoint:] and [drawInRect:] so that the super
implementation gets used. In method [initWithSize:depth:separate:alpha:]
store alpha and bitspersample.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8422 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:21:05 +00:00
Fred Kiefer
b0b2dd93f7
Adopted to changes in header file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8421 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:20:29 +00:00
Fred Kiefer
681da22a0e
Adopted to changes in header file. General cleanup.
...
Removed obsolete backend declarations.
Move ivar fileName from GSRepDate to NSImage, as it is used only
once. This simplifies [_useFromFile:] and [_loadImageFilenames].
Implemented [compositeToPoint:fromRect:operation:] and
[dissolveToPoint:fromRect:fraction:] by calling the corresponding
function. Now the operator given to this methods is really used!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8420 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:19:23 +00:00
Nicola Pero
bb8c149fce
Rewritten setting typing attributes from insertion point; tidied, minor
...
changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8416 72102866-910b-0410-8b05-ffd578937521
2000-12-23 13:07:36 +00:00
Richard Frith-MacDonald
0ae0da7dad
Handle apostrophes and hyphens within words.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8415 72102866-910b-0410-8b05-ffd578937521
2000-12-23 07:10:27 +00:00
Nicola Pero
901d2114eb
Implemented notifications to the delegate about changes in the selection
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8412 72102866-910b-0410-8b05-ffd578937521
2000-12-22 19:08:29 +00:00
Nicola Pero
a53e0a5769
Implemented shift click; moved code around
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8409 72102866-910b-0410-8b05-ffd578937521
2000-12-22 17:52:23 +00:00
Nicola Pero
85ff7509fc
Work on drawing insertion point
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8407 72102866-910b-0410-8b05-ffd578937521
2000-12-22 16:57:21 +00:00
Nicola Pero
f97b00a5b1
Added NSOldSelectedCharacterRange
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8405 72102866-910b-0410-8b05-ffd578937521
2000-12-22 16:49:09 +00:00
Nicola Pero
e07f5fa8c9
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8401 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:47:51 +00:00
Nicola Pero
c8bfe7e399
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8400 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:39:42 +00:00
Nicola Pero
2a0c9fda52
Use layout manager's ivars for flags shared between textviews with the same
...
layout manager; fixed/implemented notifications, begin/end editing etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8399 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:32:01 +00:00
Nicola Pero
8d3ffdfc63
Code for multiple text views
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8398 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:29:51 +00:00
Nicola Pero
89fce18382
Fixed bug allowing buttons disabled but with a key equivalent to get first
...
responder status
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8395 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:23:21 +00:00
Nicola Pero
3d77093190
Access ivar _refuses_first_responder directly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8394 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:21:27 +00:00
Nicola Pero
62797f6331
Added a little private method to allow implentation of NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8393 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:20:33 +00:00
Nicola Pero
ed69dee7f2
Tidyups, access some ivars directly, and a bug fix for scrolling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8386 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:56:40 +00:00
Nicola Pero
b1507ff3e2
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8385 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:55:30 +00:00
Nicola Pero
6455046227
Merged NSText code into NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8383 72102866-910b-0410-8b05-ffd578937521
2000-12-20 17:00:32 +00:00
Nicola Pero
6ab26e6943
Removed most delegate code now handled by NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8381 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:50:37 +00:00