Commit graph

2065 commits

Author SHA1 Message Date
FredKiefer
bcbee1ce99 *** 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
FredKiefer
92c0078da3 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
FredKiefer
7a9d62fae0 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
FredKiefer
40a70f854b 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
FredKiefer
6297f7eaa5 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
FredKiefer
a8ce1aa056 *** 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
FredKiefer
81023862e0 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
FredKiefer
e1733dfac5 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
FredKiefer
261757c1a2 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
FredKiefer
dcfd813991 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
FredKiefer
3693adb7ef 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
FredKiefer
fd184f1c92 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
FredKiefer
65742524f5 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
FredKiefer
b9c33644ac 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
FredKiefer
9f8a443439 *** 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
FredKiefer
549881f5a9 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
FredKiefer
6e09fd2f0c 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
FredKiefer
2413222c41 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
FredKiefer
961ec94b86 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
FredKiefer
0b714fd726 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
FredKiefer
f6a7adac1b Prefixed all ivars with underscores.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8419 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:18:40 +00:00
FredKiefer
1adbb947a4 Prefixed all ivars with underscores, made fileName an ivar of NSImage and
added some missing methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8418 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:16:51 +00:00
nico
fe99e99a20 Rewritten setting typing attributes from insertion point
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8417 72102866-910b-0410-8b05-ffd578937521
2000-12-23 13:08:45 +00:00
nico
a76dd73eff 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
f38731f7ca 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
nico
06791f91fa Implemented sending delegate notifications in NSTextView about selections
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8413 72102866-910b-0410-8b05-ffd578937521
2000-12-22 19:11:34 +00:00
nico
d20f647768 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
nico
f3e5387500 Added ivar for original selection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8411 72102866-910b-0410-8b05-ffd578937521
2000-12-22 19:06:36 +00:00
nico
24f3f6a30c Implemented shift click in text views; moved some code around there
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8410 72102866-910b-0410-8b05-ffd578937521
2000-12-22 17:57:10 +00:00
nico
e580476c3c 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
nico
f22344ed12 Work on drawing insertion point in text views
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8408 72102866-910b-0410-8b05-ffd578937521
2000-12-22 17:01:48 +00:00
nico
b8172d5f2c 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
nico
5f6e350654 Remove selection affinity ivar, added ivar for delegate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8406 72102866-910b-0410-8b05-ffd578937521
2000-12-22 16:50:54 +00:00
nico
4822eefa52 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
nico
34ac8953af Implemented/fixed code for first responder, delegate, notifications,
begin/end editing in text views.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8402 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:51:57 +00:00
nico
3ec36308e4 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
nico
4ede334acc 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
nico
fc1bb74b23 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
nico
df0caf45b8 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
nico
c4fd4c7113 Added a bit in the bitfield
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8397 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:28:19 +00:00
nico
3520268e07 Added some ivars; tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8396 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:27:27 +00:00
nico
27b1108db2 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
nico
91570698d2 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
nico
535b3b5461 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
nico
8e0f5cb8fc Added an ivar and a little private method needed to implement NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8392 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:19:35 +00:00
nico
2b3a9c1bff Tidyups, access some ivars directly and a bug fix in NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8387 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:59:03 +00:00
nico
71f2cc1849 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
nico
91fb1e751e 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
nico
e33d9e5ac0 Merged NSText into NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8384 72102866-910b-0410-8b05-ffd578937521
2000-12-20 17:02:18 +00:00
nico
7927b1847e 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