Commit graph

2045 commits

Author SHA1 Message Date
Nicola Pero
910fff911e Include DPSOperators.h so it compiles again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8535 72102866-910b-0410-8b05-ffd578937521
2001-01-09 11:58:40 +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
deab375e4b *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8516 72102866-910b-0410-8b05-ffd578937521
2001-01-08 17:35:05 +00:00
Fred Kiefer
a39f34d7d9 Removed function GSWSetMatrix().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8515 72102866-910b-0410-8b05-ffd578937521
2001-01-08 17:34:30 +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
7aea59ec77 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8504 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:13:11 +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
528a627ccb work on text view sizing, various fixes for text classes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8486 72102866-910b-0410-8b05-ffd578937521
2001-01-07 01:07: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
18e118704c Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8474 72102866-910b-0410-8b05-ffd578937521
2001-01-04 12:49:52 +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
2b9210fc47 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8460 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:44:21 +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
41b054c358 not needed any more
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8456 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:41:26 +00:00
Fred Kiefer
d7e9c664e3 Prefixed all ivars with underscores, removed unneded ivars and
added some missing methods and types.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8455 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:40:21 +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
Fred Kiefer
1b19044765 Corrected definition of NSBezelStyle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8453 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:39:24 +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
7b3c4722a1 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8445 72102866-910b-0410-8b05-ffd578937521
2000-12-26 21:44:28 +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
b1f846a45a Added some missing methods and some ivars.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8442 72102866-910b-0410-8b05-ffd578937521
2000-12-26 21:42:28 +00:00
Fred Kiefer
f91e14c4f2 Added some missing methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8441 72102866-910b-0410-8b05-ffd578937521
2000-12-26 21:42:06 +00:00
Fred Kiefer
465686e5f9 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8436 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:10:45 +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
c6dace7f5e Added ivar _default_context to store the graphic context used for
events, which is not switched while printing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8434 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:08:25 +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
e20466af90 Added some missing methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8432 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:07:32 +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
a079c95741 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8426 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:24:52 +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