Pierre-Yves Rivaille
e3d2afb3c3
modifications to take [NSTableColumn -dataCellForRow:] into account
...
[-updateCell:]: only redraws the what's needed
[-setFrame:]: added a call to [self sizeToFit]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10749 72102866-910b-0410-8b05-ffd578937521
2001-08-21 12:25:29 +00:00
Pierre-Yves Rivaille
a25401504a
New method: -dataCellForRow:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10748 72102866-910b-0410-8b05-ffd578937521
2001-08-21 12:18:06 +00:00
Pierre-Yves Rivaille
ae903addba
New method : -dataCellForRow:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10747 72102866-910b-0410-8b05-ffd578937521
2001-08-21 12:17:37 +00:00
Pierre-Yves Rivaille
8e94f5abf9
NSStepper & NSStepperCell classes
...
Source/GNUmakefile
Headers/gnustep/gui/AppKit.h
Source/NSBrowser.m
Source/NSMatrix.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10740 72102866-910b-0410-8b05-ffd578937521
2001-08-20 10:55:15 +00:00
Pierre-Yves Rivaille
83dc0a3b13
[NSMatrix -sizeToFit] : This method now assumes that all cells have the
...
same size (this is what specification says). If it is not the case, weird
behaviour can happen ...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10739 72102866-910b-0410-8b05-ffd578937521
2001-08-20 10:48:09 +00:00
Pierre-Yves Rivaille
bf358e75d1
Added NSStepper.m NSStepper.h NSStepperCell.m NSStepperCell.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10738 72102866-910b-0410-8b05-ffd578937521
2001-08-20 10:29:26 +00:00
Pierre-Yves Rivaille
5a1b08e5c1
add include file for NSStepper and NSStepperCell
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10737 72102866-910b-0410-8b05-ffd578937521
2001-08-20 10:28:12 +00:00
Pierre-Yves Rivaille
d001a1267e
NSStepper class : first implementation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10734 72102866-910b-0410-8b05-ffd578937521
2001-08-20 10:16:22 +00:00
Pierre-Yves Rivaille
f17d36556d
NSStepperCell class : first implementation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10733 72102866-910b-0410-8b05-ffd578937521
2001-08-20 10:15:54 +00:00
Pierre-Yves Rivaille
ab5209f426
[NSBrowser -_performLoadOfColumn:] : improved performance when loading
...
previously unloaded column with a passive delegate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10732 72102866-910b-0410-8b05-ffd578937521
2001-08-20 10:12:11 +00:00
Adam Fedor
08c97488f8
Prevent NSTextView from asking a text storage of zero length
...
for attributes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10731 72102866-910b-0410-8b05-ffd578937521
2001-08-19 23:28:27 +00:00
Fred Kiefer
3c9b1dc947
Cleanup of NSMenu.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10730 72102866-910b-0410-8b05-ffd578937521
2001-08-19 23:23:37 +00:00
Fred Kiefer
e410d96f8d
In [setWindowFrameForAttachingToRect:...popUpSelectedItem:]
...
replaced reference to NSMenuWindow with NSWindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10729 72102866-910b-0410-8b05-ffd578937521
2001-08-19 23:22:32 +00:00
Fred Kiefer
935a47fb6f
Adopted to changes in the header file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10728 72102866-910b-0410-8b05-ffd578937521
2001-08-19 23:21:59 +00:00
Fred Kiefer
9b1c5eaee3
Moved the declaration of NSMenuWindow and NSMenuWindowTitleView
...
into the file NSMenu.m, making this private classes.
Removed unused ivars and renamed the remaining ivars to fit the
GNUstep sheme of underscore prefixes.
Added new method [popUpContextMenu:withEvent:forView:].
Made the methods [_ownedByPopUp] and [_setOwnedByPopUp:] public.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10727 72102866-910b-0410-8b05-ffd578937521
2001-08-19 23:21:24 +00:00
Fred Kiefer
945f5faf62
Prepared the RTF parser to be moved into a separate bundle.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10725 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:11:04 +00:00
Fred Kiefer
401c1a5f2b
Renamed methods to fit the GSTextConsumer protocol. Adopted to
...
changes in header. Perliminary implementation for RTFDConsumer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10724 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:08:28 +00:00
Fred Kiefer
48d393c79e
RTFConsumer implements the protocol GSTextConsumer. New subclass
...
RTFDConsumer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10723 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:07:59 +00:00
Fred Kiefer
c692062b18
Renamed methods to fit the GSTextProducer protocol. Adopted to
...
changes in header. Implementation for RTFProducer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10722 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:07:35 +00:00
Fred Kiefer
1829333edf
Renamed RTFProducer into RTFDProducer, with new subclass
...
RTFProducer. Both implement the protocol GSTextProducer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10721 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:04:15 +00:00
Fred Kiefer
fa8999f56a
Include GSTextConverter.h. New function converter_class() to load
...
the class for a given text converter format. Use this function in
the RTF methods and use new protocol there.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10720 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:03:17 +00:00
Fred Kiefer
0eb432b95f
Install GSTextConverter.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10719 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:02:42 +00:00
Fred Kiefer
13fb4e1f7d
New file with two protocols for text converters.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10718 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:02:18 +00:00
Fred Kiefer
2276ef68f4
Added stubs for the class NSInputManager and NSInputServer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10717 72102866-910b-0410-8b05-ffd578937521
2001-08-18 15:19:17 +00:00
Fred Kiefer
a10d180052
Install NSInputServer.h + NSInputManager.h and compile
...
NSInputServer.m + NSInputManager.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10716 72102866-910b-0410-8b05-ffd578937521
2001-08-18 15:18:18 +00:00
Fred Kiefer
9a44480126
Dummy implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10715 72102866-910b-0410-8b05-ffd578937521
2001-08-18 15:17:49 +00:00
Fred Kiefer
a3e838fd0f
Declaration of this class and of the protocols
...
NSInputServerMouseTracker and NSInputServiceProvider.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10714 72102866-910b-0410-8b05-ffd578937521
2001-08-18 15:14:55 +00:00
Fred Kiefer
723ddc1b41
Declaration of this class and of the protocol NSTextInput.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10713 72102866-910b-0410-8b05-ffd578937521
2001-08-18 15:14:02 +00:00
Fred Kiefer
1cc64e5298
Added missing functions and removed obsolete feature from NSImageRep
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10711 72102866-910b-0410-8b05-ffd578937521
2001-08-14 22:40:28 +00:00
Fred Kiefer
06f366eac2
Implemented missing NSUpdateDynamicServices().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10710 72102866-910b-0410-8b05-ffd578937521
2001-08-14 22:39:06 +00:00
Fred Kiefer
4a0c1a233f
Added case of NSScrollWheel.
...
Impelemented missing NSShowSystemInfoPanel().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10709 72102866-910b-0410-8b05-ffd578937521
2001-08-14 22:38:30 +00:00
Fred Kiefer
7cb1299ac2
[initialize] removed obsolete check for default setting of
...
ImageComposition. In [copyWithZone:] copy the colour space, it
might be mutable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10708 72102866-910b-0410-8b05-ffd578937521
2001-08-14 22:37:11 +00:00
Pierre-Yves Rivaille
5f3c07c0f6
Source/NSTableView.m
...
Source/NSTableHeaderView.m
Headers/gnustep/gui/NSTableView.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10707 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:11:37 +00:00
Pierre-Yves Rivaille
7355b2a2f2
added BOOL _allowsColumnReordering
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10706 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:08:49 +00:00
Pierre-Yves Rivaille
679debe40c
Changed [-_userResizedTableColumn: leftWidth: rightWidth:] to
...
[-_userResizedTableColumn: width] for better resizing
Added [-_columnOrigins] for column reordering
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10705 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:06:53 +00:00
Pierre-Yves Rivaille
8a192b68b9
Reimplemented column resizing
...
Implemented column reordering
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10704 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:03:39 +00:00
Pierre-Yves Rivaille
2defbf1411
Source/NSSavePanel.m
...
Source/NSOpenPanel.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10703 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:00:30 +00:00
Pierre-Yves Rivaille
2500131c69
[NSSavePanel -runModalForDirectory:file:]
...
[NSOpenPanel -runModalForDirectory:file:types:]
Moved functionality from NSOpenPanel to NSSavePanel:
the "ok" button is shown as enabled or not at the beginning depending
on whether the given file is valid.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10702 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:57:20 +00:00
Pierre-Yves Rivaille
fc92649aa2
Source/NSPopUpButton.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10701 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:37:32 +00:00
Pierre-Yves Rivaille
01521ad6e7
[NSPopUpButton -keyDown:] add code to send the selected item action to its
...
target (this enables key control of an NSPopUpButton configured as an
pull-down list)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10700 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:34:35 +00:00
Pierre-Yves Rivaille
92fcfeaf5f
Source/Functions.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10697 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:28:22 +00:00
Pierre-Yves Rivaille
0e4a09cb8d
Modified NSDrawGrayBezel and NSDrawWhiteBezel so that they look nicer
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10696 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:24:38 +00:00
Nicola Pero
529c95f758
When appending an arc to a bezier path, draw the line from the current
...
point to the first point of the arc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10694 72102866-910b-0410-8b05-ffd578937521
2001-08-13 13:09:52 +00:00
Nicola Pero
93bcc21cfa
When appending an arc to a bezier path, draw the line from the current
...
point to the arc start point - unless this is the first element of the path
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10693 72102866-910b-0410-8b05-ffd578937521
2001-08-13 13:08:22 +00:00
Nicola Pero
c62d49de4a
Fixed inserted a string in a textview when it's empty (attributes were
...
wrong)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10692 72102866-910b-0410-8b05-ffd578937521
2001-08-13 11:46:22 +00:00
Nicola Pero
5320d8d0ec
Fixed setString: when there is no previous string, so that it uses
...
the typingAttributes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10691 72102866-910b-0410-8b05-ffd578937521
2001-08-13 11:44:42 +00:00
Nicola Pero
9bca979b83
Fixed bug which was crashing all apps with an icon at startup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10690 72102866-910b-0410-8b05-ffd578937521
2001-08-13 11:09:03 +00:00
Nicola Pero
759f159d16
Fixed setName: to work - was crashing all apps with an icon at startup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10689 72102866-910b-0410-8b05-ffd578937521
2001-08-13 11:07:39 +00:00
Fred Kiefer
a935e95e29
Clean up of code in NSImageCell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10688 72102866-910b-0410-8b05-ffd578937521
2001-08-12 17:30:36 +00:00
Fred Kiefer
913a946557
Removed [initImageCell:], [dealloc], [cellSizeForBounds:] and
...
[copyWithZone:], which where only super calls.
In [drawWithFrame:inView:] lockFocus only around drawing
code and check for invalid window.
In [drawInteriorWithFrame:inView:] lockFocus only around drawing
code, check for invalid window, use NSCompositeSourceOver instead
of NSCompositeCopy and show first responder state.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10687 72102866-910b-0410-8b05-ffd578937521
2001-08-12 17:29:34 +00:00