Commit graph

1265 commits

Author SHA1 Message Date
Nicola Pero
18ddb109ce Fixed problem with exposed rect being confused with bounds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8260 72102866-910b-0410-8b05-ffd578937521
2000-12-06 16:48:51 +00:00
Nicola Pero
71527b54da Patch from Georg Fleischmann removing release in excess; include file to
avoid compiler warnings; added copyright notice


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8182 72102866-910b-0410-8b05-ffd578937521
2000-11-23 10:17:47 +00:00
Fred Kiefer
c46694c404 Use system fonts, not explicit names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8171 72102866-910b-0410-8b05-ffd578937521
2000-11-21 19:23:21 +00:00
Fred Kiefer
dd30b76aec Added more graphical elements, any functionality is still missing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8170 72102866-910b-0410-8b05-ffd578937521
2000-11-21 19:22:45 +00:00
Fred Kiefer
6f5e42e1d1 Split up in three classes added primitiv printing in file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8169 72102866-910b-0410-8b05-ffd578937521
2000-11-21 19:22:08 +00:00
Adam Fedor
eee86903f2 Check id
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8116 72102866-910b-0410-8b05-ffd578937521
2000-11-15 05:02:06 +00:00
Fred Kiefer
1b7e190b3e Started implementation of printing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8107 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:19:00 +00:00
Fred Kiefer
0916c83f58 Implemented [print:], [fax:], [dataWithEPSInsideRect:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8105 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:18:11 +00:00
Fred Kiefer
c0f395f492 Implemented [print:], [fax:], [dataWithEPSInsideRect:] and [writeEPSInsideRect:toPasteboard:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8104 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:17:24 +00:00
Fred Kiefer
d08bdb8b6a Added method [copyWithZone:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8103 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:16:40 +00:00
Richard Frith-MacDonald
17ef6f2a6b Memory usage improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8099 72102866-910b-0410-8b05-ffd578937521
2000-11-13 11:54:58 +00:00
Fred Kiefer
153be7035b [loadNibNamed:owner:] removed unused local variable file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8087 72102866-910b-0410-8b05-ffd578937521
2000-11-12 16:45:25 +00:00
Fred Kiefer
dacc328789 [finishLaunching] removed uneeded call
to loadGModel:owner: as this gets done in loadNibNamed:owner:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8086 72102866-910b-0410-8b05-ffd578937521
2000-11-12 16:44:37 +00:00
Fred Kiefer
f5a8d938aa Renamed the ivars of _GNULineLayoutInfo to correspond to those of
GSLineLayoutInfo. Call a few more abstract methods. Added
AutoreleasePool in [rebuildForRange:delta:inTextContainer:] to free
up memory.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8081 72102866-910b-0410-8b05-ffd578937521
2000-11-12 13:54:54 +00:00
Nicola Pero
722719c680 Use Helvetica-Bold rather than Helvetica-BoldOblique for titles;
Helvetica-Bold looks much better


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8071 72102866-910b-0410-8b05-ffd578937521
2000-11-09 10:06:25 +00:00
Fred Kiefer
c29b53732f In [setVerticallyResizable:] and [setHorizontallyResizable:] set the size of the text conatainer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8062 72102866-910b-0410-8b05-ffd578937521
2000-11-06 22:12:29 +00:00
Fred Kiefer
d8c43999c1 Get the fragmentRect used for layout from the text container
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8061 72102866-910b-0410-8b05-ffd578937521
2000-11-06 22:11:26 +00:00
Adam Fedor
144ab50f30 Fix translation of scrolling document bounds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8042 72102866-910b-0410-8b05-ffd578937521
2000-11-06 05:00:17 +00:00
Fred Kiefer
e80400478a Moved all sizeToFit calls after text changes to
the layout manager.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8039 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:31:20 +00:00
Fred Kiefer
cd85ae9c86 In [setWidthTracksTextView:] and
[setHeightTracksTextView:] make sure that the view post changes
and that notifications are only send once.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8038 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:30:06 +00:00
Fred Kiefer
07b28f97da Added dealloc method. Implemented
[drawsBackground] and [setDrawsBackground:]. In [setDocumentView:]
get the background drawing from the document view. [drawRect:] and
[isOpaque] check the background drawing. Corrected [constrainScrollPoint:]
to respect the documentFrame origin. Implemented [autoscroll:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8037 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:29:32 +00:00
Fred Kiefer
21b856060f Hand on background drawing to content view. In [setContentView:] call setDocumentView:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8036 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:28:50 +00:00
Fred Kiefer
eaeca6efb0 Call size to fit on view after layout changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8033 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:21:47 +00:00
Gregory John Casamento
6d89487694 Adding modifications for NSSecureTextField. This is a partial
implementation which works at the same level as OPENSTEP 4.2.
The methods necessary to echo bullets to the screen will be
added later. (GJC)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8021 72102866-910b-0410-8b05-ffd578937521
2000-11-04 06:58:29 +00:00
Fred Kiefer
1cfbd9caf3 Set the TextConatainer to track its view
again. But switch this of if the view is scrollable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7997 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:22:15 +00:00
Fred Kiefer
83c9ff711e Added simple glyph cahracter mapping methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7996 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:21:29 +00:00
Fred Kiefer
fd834fe526 Removed some 300 lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7995 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:20:06 +00:00
Richard Frith-MacDonald
c4d502e70f Fix error in function name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7951 72102866-910b-0410-8b05-ffd578937521
2000-10-31 16:29:18 +00:00
Richard Frith-MacDonald
19e0fc3d15 Added some fixes for Apple runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7940 72102866-910b-0410-8b05-ffd578937521
2000-10-31 12:47:09 +00:00
Fred Kiefer
ca10da60f3 [setContainerSize:] only informs layout manager if really changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7896 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:27:00 +00:00
Fred Kiefer
cf2cd53ca5 [buildUpTextNetwork:] The text container no
longer tracks its view by default.
[initWithFrame:textContainer:] the view is no longer resizable by default.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7895 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:25:46 +00:00
Fred Kiefer
b682bebc80 _GNULineLayoutInfo has new ivar usedRect. Simplified the code a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7894 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:24:22 +00:00
Fred Kiefer
dbd69f759f Use NSASCIIStringEncoding instead of NSLatin1StringEncoding for RTF
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7893 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:23:34 +00:00
Michael Silva
9bb6a7ddc6 more NSTab* related fixed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7887 72102866-910b-0410-8b05-ffd578937521
2000-10-23 07:42:34 +00:00
Michael Silva
43f024d2d7 Fixed NSTabView more. Yeah.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7878 72102866-910b-0410-8b05-ffd578937521
2000-10-20 23:02:57 +00:00
Richard Frith-MacDonald
1ee0716c90 Clipview redisplay fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7854 72102866-910b-0410-8b05-ffd578937521
2000-10-20 04:19:22 +00:00
Michael Silva
e9ea6379e4 Bugfixes for NSTabView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7852 72102866-910b-0410-8b05-ffd578937521
2000-10-19 22:47:09 +00:00
Fred Kiefer
0630943220 [runPageLayout:] use real panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7832 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:53:39 +00:00
Fred Kiefer
57023039b9 Some basic implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7831 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:52:59 +00:00
Fred Kiefer
50bac4113c Change references to ivar info to _info.
[initPrintInfoDefaults] now works if there is no PrinterAdmin
resource.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7830 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:52:32 +00:00
Adam Fedor
880129448d Window focus improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7827 72102866-910b-0410-8b05-ffd578937521
2000-10-16 19:20:32 +00:00
Fred Kiefer
7b3fe023bc Improved the memory handling in diverse methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7821 72102866-910b-0410-8b05-ffd578937521
2000-10-15 20:55:38 +00:00
Nicola Pero
50f657f4c9 Prefixed ivar with underscore to keep it to compile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7804 72102866-910b-0410-8b05-ffd578937521
2000-10-13 10:03:36 +00:00
Fred Kiefer
fd3fe70d6a *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7803 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:05:36 +00:00
Fred Kiefer
9a7641c764 Started reorganising the code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7802 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:03:30 +00:00
Fred Kiefer
b97acdeb63 Use NSLayoutManager instead of GSSimpleLayoutManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7801 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:02:25 +00:00
Fred Kiefer
adf1534fc5 Added comments from .h file.
Return a GSSimpleLayoutManager from [allocWithZone].
Removed all compiler warnings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7800 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:01:43 +00:00
Fred Kiefer
a57534d8d3 Use explicit Private interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7799 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:00:45 +00:00
Fred Kiefer
989c7da61f In [close] use removeDocument instead of _removeDocument.
[initWithContentsOfFile:ofType:] call [self init] instead of
[super init].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7798 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:00:09 +00:00
Nicola Pero
64691efc39 Reverted autorelease pool code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7785 72102866-910b-0410-8b05-ffd578937521
2000-10-11 09:58:36 +00:00