Nicola Pero
5a0d43a0ab
Fix for menu sizing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15766 72102866-910b-0410-8b05-ffd578937521
2003-01-30 03:04:25 +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
439b4c01e4
Small reorganization of code in NSScrollView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15764 72102866-910b-0410-8b05-ffd578937521
2003-01-30 02:15:39 +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
Fred Kiefer
60d9c1dec6
Adopted RTF parser to changes to NSParagraphStyle
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15755 72102866-910b-0410-8b05-ffd578937521
2003-01-28 22:40:49 +00:00
Fred Kiefer
541252bb16
In [copyWithZone:] use mutable copy of prargraph style.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15754 72102866-910b-0410-8b05-ffd578937521
2003-01-28 22:39:56 +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
a20d8a42e5
Small optimization with scrolling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15736 72102866-910b-0410-8b05-ffd578937521
2003-01-27 03:07:00 +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
e9b28c85c1
Patched layout manager to get it to compile; minor NSScroller updates
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15734 72102866-910b-0410-8b05-ffd578937521
2003-01-27 02:56:01 +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
7e4d879270
Don't use protocol forward declarations.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15725 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:43:16 +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
d137be7d9f
Make header self-contained.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15719 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:26:12 +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
cda830aed6
Fixes for popup buttons and menus highlight/unhighligthing when used
...
from the keyboard; small safety belt added to NSWorkspace initialization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15662 72102866-910b-0410-8b05-ffd578937521
2003-01-21 01:21:19 +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