Commit graph

2900 commits

Author SHA1 Message Date
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
Fred Kiefer
6d8269c593 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
Fred Kiefer
84398c7cae 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
Nicola Pero
6b0432bf62 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
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
572a275edc 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
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
31d9a3842f 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
Nicola Pero
c5a64153a1 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
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
6008e49f73 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
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
b66562abe8 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
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
bd837a9cdf 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
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
5759ea6b0f 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
Nicola Pero
971cdf1e03 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
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
1133bd649a 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
Nicola Pero
46dfcd9b12 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
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
23e5c589e4 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
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
b9ee49fb74 Moved all code for setting up delegate from NSText to NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8382 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:53:01 +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
Nicola Pero
7427870911 Added NSText notifications to delegate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8380 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:50:15 +00:00
Nicola Pero
e594266a93 Further work on merging NSText code into NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8379 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:42:46 +00:00
Nicola Pero
de8df1c4f5 Moved some methods to NSTextView; removed some old methods; tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8378 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:37:28 +00:00
Nicola Pero
be3091ea03 Moved selectedRange and setSelectedRange: from NSText
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8377 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:35:22 +00:00
Nicola Pero
06dccf6395 Removed old gnu extension
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8376 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:34:21 +00:00
Nicola Pero
a20166067f Fix in my last change, plus some verbose comments added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8375 72102866-910b-0410-8b05-ffd578937521
2000-12-19 21:20:39 +00:00
Nicola Pero
b89da5341a Indented comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8374 72102866-910b-0410-8b05-ffd578937521
2000-12-19 21:09:21 +00:00
Nicola Pero
39da358cad Added code to share multiple textviews with a single layout manager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8373 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:48:31 +00:00
Nicola Pero
b867efaa01 Moved the string method to NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8372 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:45:52 +00:00
Nicola Pero
9a852c5fe4 Added code to share editing attributes and delegate between multiple
text views with the same layout manager


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8371 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:45:19 +00:00
Nicola Pero
9250be6b27 Added ivars to manage the case of multiple text views sharing a layout
manager


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8370 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:41:24 +00:00
Nicola Pero
ec997b4642 Added a comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8369 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:40:21 +00:00
Nicola Pero
e3f6a413a0 Tidied some long comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8368 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:47:24 +00:00