Alexander Malmberg
2169264f00
(-layoutLineNewParagraph:): Fix sign problem with descender.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15843 72102866-910b-0410-8b05-ffd578937521
2003-02-01 12:54:09 +00:00
Nicola Pero
ba494c7cd9
Lock focus / unlock focus optimizations and fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15839 72102866-910b-0410-8b05-ffd578937521
2003-02-01 05:10:00 +00:00
Alexander Malmberg
959e21868b
(-replaceLayoutManager:): Remove the containers from the correct layout manager.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15838 72102866-910b-0410-8b05-ffd578937521
2003-02-01 02:32:35 +00:00
Alexander Malmberg
64671d7b86
(-removeTextContainerAtIndex:): Set textcontainers to NULL after freeing it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15837 72102866-910b-0410-8b05-ffd578937521
2003-02-01 02:32:03 +00:00
Alexander Malmberg
f26c829614
Add handling of NSAttachmentCharacter.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15830 72102866-910b-0410-8b05-ffd578937521
2003-01-31 22:25:12 +00:00
Fred Kiefer
8d06767b77
Empty implementation for this.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15829 72102866-910b-0410-8b05-ffd578937521
2003-01-31 22:24:32 +00:00
Alexander Malmberg
4087e5c7f7
Remove debugging printf.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15826 72102866-910b-0410-8b05-ffd578937521
2003-01-31 21:11:13 +00:00
Alexander Malmberg
3ea5844deb
Implement text attachment handling.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15825 72102866-910b-0410-8b05-ffd578937521
2003-01-31 21:08:24 +00:00
Nicola Pero
255d80c476
Use -Wno-protocol when compiling NSMenuItem
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15781 72102866-910b-0410-8b05-ffd578937521
2003-01-30 15:35:36 +00:00
Nicola Pero
4c583d47e6
Added missing cast
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15776 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:29:37 +00:00
Nicola Pero
710652a86c
Fixed compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15775 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:29:00 +00:00
Nicola Pero
33a0a5ea29
Fixed compiler warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15774 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:28:39 +00:00
Nicola Pero
6bf8718026
Use setHighlighted: on table header cells instead of setting their background
...
color directly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15773 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:27:26 +00:00
Nicola Pero
4571641386
Implemented setHighlighted: method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15772 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:26:35 +00:00
Nicola Pero
3446373469
Moved private interface into public header ... as a quick hack to fix
...
compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15771 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:24:42 +00:00
Nicola Pero
96a872ad09
Fixed dealloc laziness in releasing stuff as soon as possible
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15767 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:44:51 +00:00
Nicola Pero
efca744a34
Removed ugly 17 pixels added to title width when computing menu sizes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15765 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:03:51 +00:00
Nicola Pero
766b7e954b
Small reorganization of code: scroll header view and rulers in reflectedScrolledClipView:
...
method, rather than when generating the scroll command to the clipview
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15763 72102866-910b-0410-8b05-ffd578937521
2003-01-30 02:15:02 +00:00
Alexander Malmberg
58fb330d35
Guard against a nil _layoutManager in a few places.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15761 72102866-910b-0410-8b05-ffd578937521
2003-01-29 20:19:20 +00:00
Alexander Malmberg
6d9a9c890c
Make sure the text network stays synchronized when one part changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15760 72102866-910b-0410-8b05-ffd578937521
2003-01-29 20:19:01 +00:00
Alexander Malmberg
5580ccd32c
Fix adjustment of selection range when entire selection is removed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15759 72102866-910b-0410-8b05-ffd578937521
2003-01-29 15:05:12 +00:00
Alexander Malmberg
1c5f6f4772
(-layoutLineNewParagraph:): Place baseline higher.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15758 72102866-910b-0410-8b05-ffd578937521
2003-01-29 15:04:46 +00:00
Alexander Malmberg
c90372a21a
Remove debugging code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15757 72102866-910b-0410-8b05-ffd578937521
2003-01-29 00:43:43 +00:00
Alexander Malmberg
6546c340e8
Implement basic drawing of insertion point.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15756 72102866-910b-0410-8b05-ffd578937521
2003-01-29 00:42:29 +00:00
Alexander Malmberg
e9ebe98664
(-setConstrainedFrameSize:):Fix calculation of effective minimum size. (-sizeToFit): Use maximum x and y of used rect to calculate size, not used rect's own size.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15753 72102866-910b-0410-8b05-ffd578937521
2003-01-28 22:32:18 +00:00
Alexander Malmberg
36c596fdf6
Add code to adjust the selected range after every change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15752 72102866-910b-0410-8b05-ffd578937521
2003-01-28 21:57:22 +00:00
Alexander Malmberg
eaec5ebcea
(-initWithFrame:textContainer:): Make the default text container inset (2,0).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15751 72102866-910b-0410-8b05-ffd578937521
2003-01-28 21:23:51 +00:00
Alexander Malmberg
a2079ad1b2
(-usedRectForTextContainer:): Return sane value if there are no line frag rects in the text container.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15750 72102866-910b-0410-8b05-ffd578937521
2003-01-28 19:05:09 +00:00
Alexander Malmberg
67626efae4
Set proper used rect for line frag rects.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15749 72102866-910b-0410-8b05-ffd578937521
2003-01-28 19:04:34 +00:00
Alexander Malmberg
314e298be1
Avoid making calls to the layout manager with invalid arguments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15748 72102866-910b-0410-8b05-ffd578937521
2003-01-28 17:00:28 +00:00
Alexander Malmberg
f1255d750b
Try to make sure each container gets at least one line frag rect.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15747 72102866-910b-0410-8b05-ffd578937521
2003-01-28 17:00:15 +00:00
Alexander Malmberg
bf56e3e54e
Give better error message for an invalid glyph range.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15746 72102866-910b-0410-8b05-ffd578937521
2003-01-28 16:44:53 +00:00
Alexander Malmberg
46f18bc1ff
Whitespace cleanups and comments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15745 72102866-910b-0410-8b05-ffd578937521
2003-01-28 16:44:34 +00:00
Alexander Malmberg
31c38c8183
(-mouseDown:): Handle empty text views. (-drawRect:): Always draw glyphs' backgrounds.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15740 72102866-910b-0410-8b05-ffd578937521
2003-01-27 15:19:15 +00:00
Alexander Malmberg
c696800396
Fix format string.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15739 72102866-910b-0410-8b05-ffd578937521
2003-01-27 15:17:13 +00:00
Nicola Pero
2dc798da12
Small optimization - avoid to call the scrollview's _doScroll: on the first
...
click, if the click is not actually changing the float value
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15735 72102866-910b-0410-8b05-ffd578937521
2003-01-27 03:06:34 +00:00
Nicola Pero
6107b5dca8
Patched macro calls to get the library to compile
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15733 72102866-910b-0410-8b05-ffd578937521
2003-01-27 02:55:18 +00:00
Nicola Pero
e6832b40aa
Updated testPart: and its callers for new semantics; highlight the cell
...
in -drawArrow:highlight:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15732 72102866-910b-0410-8b05-ffd578937521
2003-01-27 02:54:00 +00:00
Nicola Pero
9111bb7a75
Added comment about what looks like a bug
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15731 72102866-910b-0410-8b05-ffd578937521
2003-01-27 01:13:11 +00:00
Alexander Malmberg
b3782e2403
Draw background for the selected range.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15730 72102866-910b-0410-8b05-ffd578937521
2003-01-26 23:02:55 +00:00
Alexander Malmberg
ecfebfecfc
(-textStorage:edited:range:changeInLength:invalidatedRange:): Tell the text views to resize if their text has changed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15728 72102866-910b-0410-8b05-ffd578937521
2003-01-26 20:18:04 +00:00
Alexander Malmberg
8a98cb98a8
(-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:): Try harder to always return a valid glyph index.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15727 72102866-910b-0410-8b05-ffd578937521
2003-01-26 20:10:21 +00:00
Alexander Malmberg
5b78652c15
Make sure the typing attributes are always a mutable dictionary that we can modify.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15724 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:42:03 +00:00
Alexander Malmberg
66c63d5580
Make sure the typing attributes are always a mutable dictionary that we can modify.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15722 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:36:57 +00:00
Alexander Malmberg
14ea97a747
Add missing includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15721 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:31:49 +00:00
Alexander Malmberg
765f78b9e5
Merge in text-system-branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15720 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:29:30 +00:00
Alexander Malmberg
9407b0bfca
Merge in text-system-branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15718 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:21:40 +00:00
Alexander Malmberg
3c890f8d74
Clean up some includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15715 72102866-910b-0410-8b05-ffd578937521
2003-01-26 17:57:39 +00:00
Alexander Malmberg
9b5e901493
Clean up some prototypes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15714 72102866-910b-0410-8b05-ffd578937521
2003-01-26 17:49:35 +00:00
Adam Fedor
2eb03143c3
Update image caching for printing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15666 72102866-910b-0410-8b05-ffd578937521
2003-01-21 05:08:26 +00:00
Nicola Pero
0cd3adbe8a
Fix to display highlighted menu items when they are triggered from the keyboard;
...
fix for wrong highlighting of menu items in popupbuttons when used from
the keyboard
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15661 72102866-910b-0410-8b05-ffd578937521
2003-01-21 01:19:44 +00:00
Nicola Pero
cc6e0ba4cc
When performing key equivalents, only highlight a menu item if it's enabled.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15660 72102866-910b-0410-8b05-ffd578937521
2003-01-21 01:18:24 +00:00
Nicola Pero
38c0e9037b
Fixes mostly for accessing the popup button items via the keyboard
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15659 72102866-910b-0410-8b05-ffd578937521
2003-01-21 01:17:26 +00:00
Nicola Pero
b5457230e9
Use an exception handler during initialization to be 100% sure we are
...
unlocking the lock
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15658 72102866-910b-0410-8b05-ffd578937521
2003-01-21 01:16:32 +00:00
Nicola Pero
a3559dd888
Indented line
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15638 72102866-910b-0410-8b05-ffd578937521
2003-01-19 23:47:53 +00:00
Adam Fedor
85d90ce9d3
Rename gsnd to gnustep_sndd
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15599 72102866-910b-0410-8b05-ffd578937521
2003-01-15 03:17:45 +00:00
Nicola Pero
972d2bdf45
Make sure NSApplicationIcon is always a registered image
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15560 72102866-910b-0410-8b05-ffd578937521
2003-01-09 04:29:35 +00:00
Fred Kiefer
0e294ebdd8
Use method calls in [initWithCoder:] so opaque flag is set
...
correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15549 72102866-910b-0410-8b05-ffd578937521
2003-01-08 16:37:01 +00:00
Fred Kiefer
0265583240
Use method calls in [initWithCoder:] to get fontification correct.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15548 72102866-910b-0410-8b05-ffd578937521
2003-01-08 16:36:24 +00:00
Fred Kiefer
9097568682
In [selectWithFrame:...length:] removed duplicate setting of delegate.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15547 72102866-910b-0410-8b05-ffd578937521
2003-01-08 16:35:57 +00:00
Fred Kiefer
f10e76e245
Changed all the internal methods ([replaceCharacterRange:withString:],
...
[setFont:range:], [setTextColor:range:], [setalignment:range:],
[replaceRange:withAttributedString:], [setAtrributes:range:]) not
to call [shouldChangeTextInRange:replacementString:], so that they
can be called for a non editable text view.
Added this call to the methods: [insertText:], [transpose:],
[changeColor:], [alignCenter:], [alignLeft:], [alignRight:],
[alignJustified:], [readSelectionFromPasteboard:type:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15546 72102866-910b-0410-8b05-ffd578937521
2003-01-08 16:35:28 +00:00
Gregory John Casamento
296489eaa6
Fixing minor issue w/ NSToolbarItem.m. I forgot to include NSImage.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15369 72102866-910b-0410-8b05-ffd578937521
2002-12-29 05:44:28 +00:00
Gregory John Casamento
d0ee6298b7
Committing a fix for the "default" font issue. Also adding some of the things I have been working on for NSToolbar/NSToolbarItem.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15368 72102866-910b-0410-8b05-ffd578937521
2002-12-29 05:38:29 +00:00
Nicola Pero
4474394422
Fixed drag&drop in deferred windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15361 72102866-910b-0410-8b05-ffd578937521
2002-12-28 00:49:40 +00:00
Nicola Pero
9cdaef32c7
Renamed setFont:ofRange: to setFont:range:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15333 72102866-910b-0410-8b05-ffd578937521
2002-12-25 16:58:28 +00:00
Nicola Pero
0657472147
Added -setFont:range:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15332 72102866-910b-0410-8b05-ffd578937521
2002-12-25 16:58:02 +00:00
Fred Kiefer
d9cfc09a11
Moved popup positioning to GSComboWindow, rewrote popup size code
...
to respect numberOfItems and to adopt the used matrix. New methods
for the cell to popup interaction.
Corrected the encoding code of NSComboBoxCell. [objectValues] now
correctly warns in the data source case. New method
[stringValueAtIndex:]. Hack in [_didClick:] to get setting of
values working.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15320 72102866-910b-0410-8b05-ffd578937521
2002-12-23 23:21:43 +00:00
Gregory John Casamento
9d0808bae8
Incrementally implementing NSToolbar/NSToolbarItem
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15318 72102866-910b-0410-8b05-ffd578937521
2002-12-22 16:14:00 +00:00
Adam Fedor
84c74e4a2d
Check for window iff not printing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15279 72102866-910b-0410-8b05-ffd578937521
2002-12-10 17:52:50 +00:00
Fred Kiefer
8b3f44c4cc
Use [mouseDown:] instead of [mouseDragged:] to start dragging as
...
the later only works when the view is not first responder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15271 72102866-910b-0410-8b05-ffd578937521
2002-12-10 00:19:11 +00:00
Adam Fedor
709f0a2379
Make sure view exists before trying to get range (Solaris limitation).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15259 72102866-910b-0410-8b05-ffd578937521
2002-12-06 02:05:39 +00:00
Adam Fedor
f5018416a5
Fix solaris problem
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15251 72102866-910b-0410-8b05-ffd578937521
2002-12-05 04:50:30 +00:00
Adam Fedor
99319bc83e
Update for GSSetLocale change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15250 72102866-910b-0410-8b05-ffd578937521
2002-12-05 04:29:12 +00:00
Fred Kiefer
c1f5081524
Implement dragging of images.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15246 72102866-910b-0410-8b05-ffd578937521
2002-12-05 00:37:30 +00:00
Fred Kiefer
86711c9522
In [TIFFRepresentationUsingCompression:factor:] set extraSamples
...
and correct compression type if 0.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15245 72102866-910b-0410-8b05-ffd578937521
2002-12-05 00:37:01 +00:00
Richard Frith-Macdonald
dc309289c4
Fix function name error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15182 72102866-910b-0410-8b05-ffd578937521
2002-11-29 14:23:46 +00:00
Richard Frith-Macdonald
fde00710f6
Quick hack for setting ivars.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15158 72102866-910b-0410-8b05-ffd578937521
2002-11-27 21:39:48 +00:00
Adam Fedor
e7394a8320
Check array count
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15157 72102866-910b-0410-8b05-ffd578937521
2002-11-27 21:19:53 +00:00
Fred Kiefer
12f532ae25
Added new MacOSX methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15105 72102866-910b-0410-8b05-ffd578937521
2002-11-26 00:18:33 +00:00
Fred Kiefer
961e797c53
Corrected [GSBezierPath appendBezierPath:] to check the class of
...
the parameter and to keep the isFlat flag in sync.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15065 72102866-910b-0410-8b05-ffd578937521
2002-11-24 01:05:20 +00:00
Adam Fedor
6807f49761
Version 0.8.3
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15043 72102866-910b-0410-8b05-ffd578937521
2002-11-22 03:19:12 +00:00
Fred Kiefer
15e791f6a5
Replaces [_doPath] with calls to [NSGraphicsContext
...
GSSendBezierPath:].
Added optimisation methods [appendBezierPath:] and
[transformUsingAffineTransform:] on GSBezierPath.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15038 72102866-910b-0410-8b05-ffd578937521
2002-11-21 20:28:42 +00:00
Fred Kiefer
2322b909f3
Rewrote [GSSendBezierPath:] to send the full path to the
...
backend. Code comes from [NSBezierPath _doPath].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15037 72102866-910b-0410-8b05-ffd578937521
2002-11-21 20:27:44 +00:00
Gregory John Casamento
893e070f28
Added versioning code for .gorm files.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15005 72102866-910b-0410-8b05-ffd578937521
2002-11-18 06:00:26 +00:00
Fred Kiefer
a666d7658d
Removed unneeded includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15004 72102866-910b-0410-8b05-ffd578937521
2002-11-17 18:38:34 +00:00
Fred Kiefer
883424fddb
Rewrote [drawHashMarksAndLabelsInRect:] to use string drawing and
...
bezier path code instead of direct PS operations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15003 72102866-910b-0410-8b05-ffd578937521
2002-11-17 18:37:52 +00:00
Adam Fedor
c3bae489b8
Add OpenGL support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14997 72102866-910b-0410-8b05-ffd578937521
2002-11-16 04:48:52 +00:00
Adam Fedor
14c4427f75
NSSavePanel (-ok:): Display filename with extension when replacing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14983 72102866-910b-0410-8b05-ffd578937521
2002-11-12 21:31:11 +00:00
Alexander Malmberg
6a2f9200b9
Allow nil data source in -setDataSource:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14982 72102866-910b-0410-8b05-ffd578937521
2002-11-12 19:41:26 +00:00
Fred Kiefer
7a9a8d54a6
Corrected includes to speed up compilation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14972 72102866-910b-0410-8b05-ffd578937521
2002-11-11 00:15:29 +00:00
Fred Kiefer
1d9f4b6f52
Removed compiler warnings by correcting method names.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14971 72102866-910b-0410-8b05-ffd578937521
2002-11-11 00:14:04 +00:00
Fred Kiefer
4f3eee6035
Prefixed all ivars with underscore
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14970 72102866-910b-0410-8b05-ffd578937521
2002-11-10 17:11:49 +00:00
Richard Frith-Macdonald
6c0cb17c64
Bugfix storing incorrect defaults values.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14964 72102866-910b-0410-8b05-ffd578937521
2002-11-09 18:46:15 +00:00
Adam Fedor
1822484c60
Only allow main menu to become key and try to find another one.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14958 72102866-910b-0410-8b05-ffd578937521
2002-11-08 16:39:41 +00:00
Fred Kiefer
6f075a0a20
Removed all direct usage of ivar _contents. Implemented
...
[attributedAlternateTitle] and use this in [cellSize] and
[drawInteriorWithFrame:inView:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14953 72102866-910b-0410-8b05-ffd578937521
2002-11-07 23:34:08 +00:00
Fred Kiefer
e3aa46c612
In [initImageCell:] and [initTextCell:] set the default menu.
...
In all [XXXValue] methods try to get the value from the objectValue
first and use [stringValue] instead of accessing the contents directly.
Removed AUTORELEASE calls from [attributedStringValue] and similar
places.
In [cellSize] use [attributedStringValue] to get the string to size.
In [drawInteriorWithFrame:inView:] use [attributedStringValue] to
get the string to draw. This make the method [_drawText:inFrame:]
obsolete for this class, but subclasses still use it.
New method [_setupTextWithFrame:inView:editor:] with the common
text view setup from [editWithFrame:inView:editor:delegate:event:]
and [selectWithFrame:inView:editor:delegate:start:length:].
Calls to [setFont:] and [setAlignment:] switch the cell to NSTextCellType.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14952 72102866-910b-0410-8b05-ffd578937521
2002-11-07 23:33:33 +00:00
Adam Fedor
930b47d1cc
Remove NSLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14946 72102866-910b-0410-8b05-ffd578937521
2002-11-06 20:07:40 +00:00
Adam Fedor
862214a9ab
Dragging fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14945 72102866-910b-0410-8b05-ffd578937521
2002-11-06 20:04:59 +00:00
Adam Fedor
5e12263244
Warning and if check fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14944 72102866-910b-0410-8b05-ffd578937521
2002-11-06 15:44:36 +00:00
Adam Fedor
1f3d2e81a0
Change workspace default to GWorkspace
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14926 72102866-910b-0410-8b05-ffd578937521
2002-11-05 05:04:40 +00:00
Adam Fedor
e43ebddc33
Remove comment of set editable, not ready to make this yet.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14908 72102866-910b-0410-8b05-ffd578937521
2002-11-02 23:20:58 +00:00
Adam Fedor
52b116f1f4
Add dragging of ruler markers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14907 72102866-910b-0410-8b05-ffd578937521
2002-11-02 23:17:23 +00:00
Adam Fedor
00f196e1c0
Document-base app fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14904 72102866-910b-0410-8b05-ffd578937521
2002-11-01 22:42:52 +00:00
Gregory John Casamento
356e452793
Adding logic for .gorm file directories
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14892 72102866-910b-0410-8b05-ffd578937521
2002-10-31 14:59:18 +00:00
Pierre-Yves Rivaille
ed7570937a
* Source/NSSplitView.m ([NSSplitView -resizeSubviewsWithOldSize:]):
...
Move code from setFrame: & resizeWithOldSuperviewSize:
to resizeSubviewsWithOldSize:.
* Source/NSColorPanel.m ([NSColorPanel _initWithoutGModel]):
make the window a little bit higher. Some ColorPickers would not fit.
* ColorPickers/GSCMYKColorPicker.tiff:
* ColorPickers/GSGrayColorPicker.tiff:
* ColorPickers/GSHSBColorPicker.tiff:
* ColorPickers/GSRGBColorPicker.tiff:
resize so that the image fits within the NSButton.
(only blank area was removed)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14868 72102866-910b-0410-8b05-ffd578937521
2002-10-29 18:00:15 +00:00
Adam Fedor
77dde4b8bc
Remove typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14865 72102866-910b-0410-8b05-ffd578937521
2002-10-29 04:54:44 +00:00
Adam Fedor
06a5c62fa5
Load prolog.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14863 72102866-910b-0410-8b05-ffd578937521
2002-10-29 03:46:39 +00:00
Adam Fedor
cce683f608
Printing impl.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14862 72102866-910b-0410-8b05-ffd578937521
2002-10-29 02:48:16 +00:00
Richard Frith-Macdonald
c6cf00fc56
Mmory leak fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14856 72102866-910b-0410-8b05-ffd578937521
2002-10-28 09:09:14 +00:00
Richard Frith-Macdonald
63ed41067f
Attempted fix for multiple dealloc problems.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14855 72102866-910b-0410-8b05-ffd578937521
2002-10-28 08:08:57 +00:00
Pierre-Yves Rivaille
90645a5f8a
* Source/NSMenuView.m ([NSMenuView -trackWithEvent:]):
...
new tracking code. The menu feels snappier now (at least for me).
* Source/NSColorWell.m ([-activate:], [-deactivate])
register/unregister for NSColorPanelColorChangedNotification.
([NSColorWell _takeColorFromPanel:]): new method to prevent endless
loop when setting the well's color from the color panel.
([NSColorWell -initWithCoder:]): register for NSColorPboardType.
* Source/NSColorPanel.m ([NSColorPanel -_bottomWellAction:]):
called when hitting one of the well at the bottom of the panel.
Previous behaviour would not send a
NSColorPanelColorChangedNotification.
([NSColorPanel -initWithCoder:]): update bottom wells construction to
call _bottomWellAction: instead of takeColorFrom:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14853 72102866-910b-0410-8b05-ffd578937521
2002-10-27 22:33:16 +00:00
Adam Fedor
48ecaabf8b
Fix memory leak.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14852 72102866-910b-0410-8b05-ffd578937521
2002-10-27 02:47:43 +00:00
Adam Fedor
bd5048dc2b
Stub implementation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14847 72102866-910b-0410-8b05-ffd578937521
2002-10-26 03:35:11 +00:00
Adam Fedor
24653e2d38
Document NSDocumentController, imrpove setting directory.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14845 72102866-910b-0410-8b05-ffd578937521
2002-10-26 02:38:34 +00:00
Adam Fedor
ccd4853629
Remove encodingForRegistry:encoding:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14832 72102866-910b-0410-8b05-ffd578937521
2002-10-22 03:24:48 +00:00
Richard Frith-Macdonald
b38ed9a2d0
Typo fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14809 72102866-910b-0410-8b05-ffd578937521
2002-10-21 17:23:59 +00:00
Richard Frith-Macdonald
a19302360b
Fix coding bugs etc.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14808 72102866-910b-0410-8b05-ffd578937521
2002-10-21 17:20:46 +00:00
Richard Frith-Macdonald
20247dac50
Rewrite key view handling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14805 72102866-910b-0410-8b05-ffd578937521
2002-10-21 13:03:23 +00:00
Nicola Pero
4d694da0f5
Fixed setNextKeyView: and setPreviousKeyView:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14803 72102866-910b-0410-8b05-ffd578937521
2002-10-20 23:56:30 +00:00
Adam Fedor
527fd35378
More focus fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14800 72102866-910b-0410-8b05-ffd578937521
2002-10-20 01:48:55 +00:00
Nicola Pero
1b95651245
Get the GSBackend class in a safer way
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14783 72102866-910b-0410-8b05-ffd578937521
2002-10-15 00:47:52 +00:00
Nicola Pero
ee191fcb9f
Fixed last change which had broken GSFileBrowserHideDotFiles
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14767 72102866-910b-0410-8b05-ffd578937521
2002-10-14 00:31:22 +00:00
Richard Frith-Macdonald
af70a6521a
Tidied method argument naming.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14763 72102866-910b-0410-8b05-ffd578937521
2002-10-13 13:50:06 +00:00
Richard Frith-Macdonald
76d90272f8
Documentation tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14762 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:33:26 +00:00
Richard Frith-Macdonald
92867e201f
Documentation tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14760 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:26:57 +00:00
Richard Frith-Macdonald
d73d397164
Fix error in last mod.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14759 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:13:38 +00:00
Richard Frith-Macdonald
47ee0f0312
Tidied for documentation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14758 72102866-910b-0410-8b05-ffd578937521
2002-10-13 09:16:17 +00:00
Richard Frith-Macdonald
c8fe5fbff1
Tidied for autogsdoc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14752 72102866-910b-0410-8b05-ffd578937521
2002-10-13 07:10:44 +00:00
Richard Frith-Macdonald
40253f5a72
SRome documentation tidyupsi
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14751 72102866-910b-0410-8b05-ffd578937521
2002-10-13 07:00:38 +00:00
Richard Frith-Macdonald
24dc39fe16
Avoid problem with DEFINE_RINT_IF_MISSING
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14750 72102866-910b-0410-8b05-ffd578937521
2002-10-13 06:30:02 +00:00
Richard Frith-Macdonald
e23391c4e5
Update documentation building
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14749 72102866-910b-0410-8b05-ffd578937521
2002-10-13 06:17:04 +00:00
Gregory John Casamento
7ae86bf2f5
Adding custom class changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14747 72102866-910b-0410-8b05-ffd578937521
2002-10-13 06:03:10 +00:00
Richard Frith-Macdonald
504b32f99c
Minor mod to improve performance and avoid warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14745 72102866-910b-0410-8b05-ffd578937521
2002-10-13 04:45:29 +00:00
Adam Fedor
356a824ea8
Document. Fix up NSDebugLogs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14727 72102866-910b-0410-8b05-ffd578937521
2002-10-12 03:14:22 +00:00
Nicola Pero
0de6fb2b19
Return a nil font if such a font can't be found; try to find an appropriate
...
font when loading a default font.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14711 72102866-910b-0410-8b05-ffd578937521
2002-10-10 23:27:51 +00:00
Nicola Pero
72d35ad13a
Implemented pageUp: and pageDown:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14709 72102866-910b-0410-8b05-ffd578937521
2002-10-10 19:05:02 +00:00
Nicola Pero
ca715b758a
Use 't' as key equivalent for the font panel; 'f' is for 'find'
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14707 72102866-910b-0410-8b05-ffd578937521
2002-10-10 18:18:03 +00:00
Fred Kiefer
480b90b2b8
Handle seting of an empty dash in [setLineDash:count:phase:].
...
[_doPath] now always sends the dash pattern, even when empty.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14699 72102866-910b-0410-8b05-ffd578937521
2002-10-10 09:47:48 +00:00
Adam Fedor
d9dda82498
Constrain windows that are off bottom of screen also.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14695 72102866-910b-0410-8b05-ffd578937521
2002-10-10 03:10:31 +00:00
Adam Fedor
323e056230
Fix focus on hide problem
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14694 72102866-910b-0410-8b05-ffd578937521
2002-10-09 17:35:03 +00:00
Adam Fedor
1323d17420
Add Quartz-like interface. Fix focus problems.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14678 72102866-910b-0410-8b05-ffd578937521
2002-10-09 02:47:40 +00:00
Nicola Pero
67c953ddfe
Mostly rewritten - should no longer crash with new internals, and be quite
...
better
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14675 72102866-910b-0410-8b05-ffd578937521
2002-10-08 18:01:38 +00:00
Nicola Pero
2e0ea9045b
Set the layout manager's text storage to nil when we remove it, since we
...
are the ones setting it to non-nil when we add it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14673 72102866-910b-0410-8b05-ffd578937521
2002-10-08 17:58:09 +00:00
Nicola Pero
82656d0255
Fixed bugs in replaceLayoutManager:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14672 72102866-910b-0410-8b05-ffd578937521
2002-10-08 17:57:33 +00:00
Gregory John Casamento
2cab5b1dd2
Added NSButtonTemplate. Made changes to some of the other templates.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14671 72102866-910b-0410-8b05-ffd578937521
2002-10-08 06:30:13 +00:00
Gregory John Casamento
5bbafb06c5
Committing additional changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14670 72102866-910b-0410-8b05-ffd578937521
2002-10-08 02:05:54 +00:00
Fred Kiefer
c2f13c49ac
[setButtonType:] use those new names. Corrected [cellAttribute:]
...
and [setCellAttribute:] to use the right tests. [performClick:]
now play the sound, if provided.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14668 72102866-910b-0410-8b05-ffd578937521
2002-10-07 23:42:02 +00:00
Adam Fedor
3e452ef940
Minor browser column fix. Change some methods to take void *
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14663 72102866-910b-0410-8b05-ffd578937521
2002-10-07 17:05:06 +00:00
Gregory John Casamento
060138dadf
Changes necessary in the gui library to implement custom class support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14660 72102866-910b-0410-8b05-ffd578937521
2002-10-06 23:59:30 +00:00
Adam Fedor
b909bc1fbf
Implement non-separated columns.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14645 72102866-910b-0410-8b05-ffd578937521
2002-10-04 18:47:04 +00:00