Commit graph

1376 commits

Author SHA1 Message Date
Nicola Pero
a2f769603a Added method to quickly copy the matrix from one transform to another
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8610 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:30:02 +00:00
Nicola Pero
32915c1d25 Fixed bug in drawing text in menu titles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8608 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:23:17 +00:00
Richard Frith-MacDonald
83df4ad3b9 More glyph handling code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8606 72102866-910b-0410-8b05-ffd578937521
2001-01-15 21:48:18 +00:00
Nicola Pero
3ae06c1286 Changes for better cursor movement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8591 72102866-910b-0410-8b05-ffd578937521
2001-01-14 11:32:07 +00:00
Nicola Pero
953a5c5318 Added method to move cursor up or down to be implemented in subclasses
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8590 72102866-910b-0410-8b05-ffd578937521
2001-01-14 11:29:48 +00:00
Nicola Pero
9e3cb35e61 Added method to move cursor up or down; fixed bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8588 72102866-910b-0410-8b05-ffd578937521
2001-01-14 11:28:26 +00:00
Richard Frith-MacDonald
4d25305e2e A few text storage bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8585 72102866-910b-0410-8b05-ffd578937521
2001-01-13 20:33:32 +00:00
Nicola Pero
4506bb839a Attempt at making the panel run upon uncaught exceptions a bit more user
friendly by adding the word 'error' to the panel title


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8582 72102866-910b-0410-8b05-ffd578937521
2001-01-13 13:44:40 +00:00
Richard Frith-MacDonald
fd61eea775 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8567 72102866-910b-0410-8b05-ffd578937521
2001-01-12 12:43:22 +00:00
Richard Frith-MacDonald
801d25ac87 Minor updates to glyph stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8566 72102866-910b-0410-8b05-ffd578937521
2001-01-12 12:32:32 +00:00
Nicola Pero
e35c3b51e9 Rewritten deleting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8562 72102866-910b-0410-8b05-ffd578937521
2001-01-11 23:32:49 +00:00
Richard Frith-MacDonald
fe14b19de7 Some work on glyph handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8560 72102866-910b-0410-8b05-ffd578937521
2001-01-11 19:09:02 +00:00
Richard Frith-MacDonald
77a74143c2 removed unused header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8555 72102866-910b-0410-8b05-ffd578937521
2001-01-11 08:29:18 +00:00
Nicola Pero
3809ed26c2 Fixed infinite loop of recursive exception handler calls from locking up
my window system and forcing me to restart it


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8553 72102866-910b-0410-8b05-ffd578937521
2001-01-10 22:37:29 +00:00
Nicola Pero
04a00a7269 Prefixed GSTextStorage ivars with underscore; implement length for speed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8552 72102866-910b-0410-8b05-ffd578937521
2001-01-10 20:20:47 +00:00
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