Commit graph

3705 commits

Author SHA1 Message Date
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
Fred Kiefer
bb6ec63500 Made selecting of text work for non editable text fields.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15550 72102866-910b-0410-8b05-ffd578937521
2003-01-08 16:38:04 +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
Nicola Pero
a23c2b0253 Fixed building libgmodel bundle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15429 72102866-910b-0410-8b05-ffd578937521
2002-12-31 15:35:29 +00:00
Nicola Pero
9436775376 Fixed building libgmodel as a bundle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15428 72102866-910b-0410-8b05-ffd578937521
2002-12-31 15:34:59 +00:00
Nicola Pero
2c47f39689 Updated all checks for library-combo in makefile for building nib2gmodel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15406 72102866-910b-0410-8b05-ffd578937521
2002-12-30 17:33:49 +00:00
Nicola Pero
ed73ebc25c Updated all checks for library-combo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15405 72102866-910b-0410-8b05-ffd578937521
2002-12-30 17:33:23 +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
ef4235871b Small tidyup of my last ChangeLog entry
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15363 72102866-910b-0410-8b05-ffd578937521
2002-12-28 00:55:55 +00:00
Nicola Pero
908cd58ba2 Fixed bug causing drag&drop not to work in deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15362 72102866-910b-0410-8b05-ffd578937521
2002-12-28 00:50:37 +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
3c1be9a6ca Added -setFont:range: in NSText; modified setFont:ofRange: to call the other one
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15334 72102866-910b-0410-8b05-ffd578937521
2002-12-25 16:59:06 +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
Nicola Pero
3bec9aad8a Added -setFont:range: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15331 72102866-910b-0410-8b05-ffd578937521
2002-12-25 16:57:37 +00:00
Fred Kiefer
075e50faf5 Some corrections and improvements for NSComboBoxCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15321 72102866-910b-0410-8b05-ffd578937521
2002-12-23 23:23:01 +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
Fred Kiefer
b54b019957 Removed unused ivars and added one to store the popup while open.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15319 72102866-910b-0410-8b05-ffd578937521
2002-12-23 23:18:05 +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
4eae71e19a make fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15280 72102866-910b-0410-8b05-ffd578937521
2002-12-11 04:11:59 +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
02bf520b01 Improved dragging for NSImageView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15272 72102866-910b-0410-8b05-ffd578937521
2002-12-10 00:19:58 +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
Adam Fedor
f9917b89bd (DPSPrintf): Remove inline attribute
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15248 72102866-910b-0410-8b05-ffd578937521
2002-12-05 03:30:30 +00:00
Fred Kiefer
25a188478f Implement dragging of images to and from NSImageView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15247 72102866-910b-0410-8b05-ffd578937521
2002-12-05 00:38:25 +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
Adam Fedor
a741883279 Make sure headers don't conflict with MacOSX headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15203 72102866-910b-0410-8b05-ffd578937521
2002-12-03 03:31:13 +00:00
Adam Fedor
181fda8a83 Make sure headers don't conflict with MacOSX headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15202 72102866-910b-0410-8b05-ffd578937521
2002-12-03 03:24:42 +00:00