Nicola Pero
12423e223f
Fixes to NSWindowController for closing window behaviour
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11115 72102866-910b-0410-8b05-ffd578937521
2001-10-08 10:53:08 +00:00
Nicola Pero
49f6931245
Fixes for case _document == nil
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11114 72102866-910b-0410-8b05-ffd578937521
2001-10-08 10:49:29 +00:00
Nicola Pero
53ad3452ff
Indentation tidy up
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11113 72102866-910b-0410-8b05-ffd578937521
2001-10-08 10:26:44 +00:00
Fred Kiefer
6058b88bf6
Missing part of last change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11111 72102866-910b-0410-8b05-ffd578937521
2001-10-08 08:21:07 +00:00
Fred Kiefer
8f884a5434
[insertItemWithTitle:atIndex:] don't set the action and target for
...
the item, so it will use the action from the popup button.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11110 72102866-910b-0410-8b05-ffd578937521
2001-10-08 08:19:50 +00:00
Fred Kiefer
42988fcc62
Corrected popup button action sending to be the same as in OpenStep.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11109 72102866-910b-0410-8b05-ffd578937521
2001-10-07 23:45:37 +00:00
Fred Kiefer
92a36a93b8
Changed all calls to [NSMenu _setOwnedByPopUp:] and added missing
...
one in [setMenu:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11108 72102866-910b-0410-8b05-ffd578937521
2001-10-07 23:44:24 +00:00
Fred Kiefer
a3febc44f3
Adopted to changes in header. In [update] check for popup buttons
...
also the action of the popup itself, if there is non for the item.
In [performActionForItemAtIndex:] if we are owned by a popup
button, send this action, if the menu item does not have an action.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11107 72102866-910b-0410-8b05-ffd578937521
2001-10-07 23:43:43 +00:00
Fred Kiefer
2393546934
Replace ivar _isBeholden_byPopup with _popUpButtonCell. Change
...
method [_setOwnedByPopUp:] to take an NSPopUpButtonCell instead
of a Bool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11106 72102866-910b-0410-8b05-ffd578937521
2001-10-07 23:43:06 +00:00
Fred Kiefer
2f76fcacc8
Corrections for NSScreen.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11105 72102866-910b-0410-8b05-ffd578937521
2001-10-07 22:47:51 +00:00
Fred Kiefer
8e59dbb8ca
Removed function _screenNumbers. Moved class method to front. Use
...
[screens] in method [mainScreen]. Cache screens in mehtod
[screens]. Use the context from NSApp instead of the current
context in all calls. In [deepestScreen] replace NSScreen by self.
Added method [resetScreens].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11104 72102866-910b-0410-8b05-ffd578937521
2001-10-07 22:47:00 +00:00
Fred Kiefer
7d19b5efb1
Added method [resetScreens].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11103 72102866-910b-0410-8b05-ffd578937521
2001-10-07 22:46:17 +00:00
Adam Fedor
4b82a3091e
Simplify BUNDLE_LIBS
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11102 72102866-910b-0410-8b05-ffd578937521
2001-10-07 04:47:19 +00:00
Adam Fedor
636c50825b
Add BUNDLE_LIBS
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11101 72102866-910b-0410-8b05-ffd578937521
2001-10-07 04:45:58 +00:00
Adam Fedor
9e7640459b
Implement print panel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11100 72102866-910b-0410-8b05-ffd578937521
2001-10-07 04:22:41 +00:00
Fred Kiefer
ea5372114d
Basic implementation of rulers and some small corrections.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11099 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:32:46 +00:00
Fred Kiefer
4854b4cad2
Protected all initXXX methods so that for empty input nil will be
...
returned.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11098 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:30:54 +00:00
Fred Kiefer
a4a08c2811
Compile NSRulerMarker and NSRulerView.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11097 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:30:20 +00:00
Fred Kiefer
ae558ee576
Some basic implementation of these class.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11096 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:29:57 +00:00
Fred Kiefer
a113ea6e17
Added copyright notice and defined some ivars.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11095 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:27:26 +00:00
Fred Kiefer
263b6bf5a6
Adopted to changes in header and added some code for displaying
...
indeterminate progress.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11094 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:26:28 +00:00
Fred Kiefer
f27e0fc6ec
Prefixed all ivars with an underscore and added ivars for
...
indeterminate progress. Added some constant definitions and
control size and tint methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11093 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:25:49 +00:00
Fred Kiefer
5c4d364c8c
Added enumerator NSControlSize.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11092 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:25:23 +00:00
Nicola Pero
7802332a82
Minor fixed in init methods of NSWindowController
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11088 72102866-910b-0410-8b05-ffd578937521
2001-10-06 13:30:01 +00:00
Nicola Pero
cd967093fd
Raise an exception in init methods when called with nil nib file name
...
or nil owner
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11087 72102866-910b-0410-8b05-ffd578937521
2001-10-06 13:27:46 +00:00
Adam Fedor
1b792f83c7
New GSCustomView class
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11077 72102866-910b-0410-8b05-ffd578937521
2001-10-03 17:05:57 +00:00
Adam Fedor
c7ac9f7827
setFrame: to new constrained rect
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11075 72102866-910b-0410-8b05-ffd578937521
2001-10-02 17:38:21 +00:00
Fred Kiefer
7e8f65211b
Removed all files
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11035 72102866-910b-0410-8b05-ffd578937521
2001-09-28 23:43:43 +00:00
Fred Kiefer
a47397006b
Removed all ivars and cleaned up the rest.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11034 72102866-910b-0410-8b05-ffd578937521
2001-09-28 23:37:37 +00:00
Adam Fedor
4be6726ebd
Printer fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11024 72102866-910b-0410-8b05-ffd578937521
2001-09-27 02:29:56 +00:00
Nicola Pero
74c17b5c36
Indentation tidyups - added { } in if, else, switch etc clauses
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11023 72102866-910b-0410-8b05-ffd578937521
2001-09-26 22:51:51 +00:00
Nicola Pero
564860cd35
Fix for saving the filename when writing a NSFileWrapper to disk
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11010 72102866-910b-0410-8b05-ffd578937521
2001-09-26 22:00:14 +00:00
Nicola Pero
fcbf4d11a9
Fix for saving the filename when writing to file
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11009 72102866-910b-0410-8b05-ffd578937521
2001-09-26 21:58:51 +00:00
Adam Fedor
9ad5bc7fd1
Set up print context and view coords for priting
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11006 72102866-910b-0410-8b05-ffd578937521
2001-09-26 03:47:20 +00:00
Fred Kiefer
4934a1b527
Clean up of NSPanel and GSAlertPanel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11001 72102866-910b-0410-8b05-ffd578937521
2001-09-24 23:31:52 +00:00
Fred Kiefer
bce2688968
Implemented coding for NSPanel. For GSAlertPanel reoranised the
...
initXXX code. Moved the GModel methods into a separate category,
removing [createObjectForModelUnarchiver:] as this was (incorrectly)
duplication code from the super class.
Implemented NSBeginAlertSheet(), NSBeginCriticalAlertSheet() and
NSBeginInformationalAlertSheet().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11000 72102866-910b-0410-8b05-ffd578937521
2001-09-24 23:30:36 +00:00
Fred Kiefer
ccf62d14f7
Defined additional window masks. Removed all unneeded ivars and
...
replaced the others by the superclass additional flags.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10999 72102866-910b-0410-8b05-ffd578937521
2001-09-24 23:30:04 +00:00
Fred Kiefer
ee22454665
Added three BOOL flags for subclasses.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10998 72102866-910b-0410-8b05-ffd578937521
2001-09-24 23:06:33 +00:00
Fred Kiefer
6acc98c255
Patch to NSMenu to fixe bug reported by Benhur Stein.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10965 72102866-910b-0410-8b05-ffd578937521
2001-09-23 22:40:00 +00:00
Fred Kiefer
33c4ae65df
[insertItem:atIndex:] set the menu of the item after the insert
...
notification has been send. [initWithCoder:] send change
notifications as one block.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10964 72102866-910b-0410-8b05-ffd578937521
2001-09-23 22:38:48 +00:00
Fred Kiefer
7556a2c7dd
Mostly clean up of .cvsignore and a patch for our layout manager.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10959 72102866-910b-0410-8b05-ffd578937521
2001-09-23 22:13:36 +00:00
Fred Kiefer
03bf029cff
New file to ingore all temporary files.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10958 72102866-910b-0410-8b05-ffd578937521
2001-09-23 22:12:03 +00:00
Fred Kiefer
a610a95fc4
Ignore the bundle
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10957 72102866-910b-0410-8b05-ffd578937521
2001-09-23 22:11:14 +00:00
Fred Kiefer
2052fda34e
Removed ivar _new added ivar _accessoryView. Added sheet method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10956 72102866-910b-0410-8b05-ffd578937521
2001-09-23 22:10:48 +00:00
Fred Kiefer
632ec4278e
[GSSimpleLayoutManager boundingRectForGlyphRange:inTextContainer:]:
...
Use lineFragmentRect instead of usedRect, so that the full line
gets cleared. This still is not correct for all cases.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10955 72102866-910b-0410-8b05-ffd578937521
2001-09-23 22:09:48 +00:00
Fred Kiefer
2f8b4e7389
Small layout improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10954 72102866-910b-0410-8b05-ffd578937521
2001-09-23 22:08:49 +00:00
Fred Kiefer
596d793519
Ignore all services.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10953 72102866-910b-0410-8b05-ffd578937521
2001-09-23 22:08:22 +00:00
Fred Kiefer
008f2f0234
Bugfix on NSMenu.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10940 72102866-910b-0410-8b05-ffd578937521
2001-09-19 22:39:04 +00:00
Fred Kiefer
a80eaa7602
[initWithCoder:] make sure the supermenu of a submenu is nil
...
before adding it to an item. This resolves drag problem for
"format" menu in Gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10939 72102866-910b-0410-8b05-ffd578937521
2001-09-19 22:38:09 +00:00
Nicola Pero
198e453fec
Updated documentation about keyboard modifiers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10931 72102866-910b-0410-8b05-ffd578937521
2001-09-17 20:18:10 +00:00