Wim (Willem Rein) Oudshoorn
98bf455e21
Reformatted to comply to
...
coding standards
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16291 72102866-910b-0410-8b05-ffd578937521
2003-03-30 12:48:06 +00:00
Wim (Willem Rein) Oudshoorn
a336ec2c38
updated
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16290 72102866-910b-0410-8b05-ffd578937521
2003-03-30 12:46:49 +00:00
Alexander Malmberg
2bd5b9f6b6
(mouseDown:) Wrap each iteration of the mouse tracking loop in an autorelease pool.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16289 72102866-910b-0410-8b05-ffd578937521
2003-03-29 20:12:07 +00:00
Sergii Stoian
e8b48a1755
NSMenuView documentation and TODO cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16286 72102866-910b-0410-8b05-ffd578937521
2003-03-28 15:18:33 +00:00
Sergii Stoian
be1ccbace3
Documentation and TODO cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16285 72102866-910b-0410-8b05-ffd578937521
2003-03-28 15:05:47 +00:00
Sergii Stoian
42cc032eab
Documentation addons and cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16284 72102866-910b-0410-8b05-ffd578937521
2003-03-28 15:05:03 +00:00
Alexander Malmberg
faf7070654
(-setSelectionFrom:to:anchor:highlight:): Update the selection related ivars after changing the selection.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16281 72102866-910b-0410-8b05-ffd578937521
2003-03-27 22:54:46 +00:00
Sergii Stoian
1e848bde2d
update fixes and title view adding/removal changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16279 72102866-910b-0410-8b05-ffd578937521
2003-03-27 16:18:02 +00:00
Sergii Stoian
92d9403935
optimize calling sizeToFit and update methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16278 72102866-910b-0410-8b05-ffd578937521
2003-03-27 16:16:47 +00:00
Sergii Stoian
a7550763fe
NSMenuView.m and NSMenu.m changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16277 72102866-910b-0410-8b05-ffd578937521
2003-03-27 16:15:30 +00:00
Adam Fedor
656499da0d
Fix tracking in NSMatrix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16269 72102866-910b-0410-8b05-ffd578937521
2003-03-26 04:09:09 +00:00
Sergii Stoian
f3630c00ae
NSMenuView.m mouse tracking code changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16265 72102866-910b-0410-8b05-ffd578937521
2003-03-25 20:00:13 +00:00
Sergii Stoian
360bfffc6f
reset highlighted items in a submenu that we leave for a supermenu
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16264 72102866-910b-0410-8b05-ffd578937521
2003-03-25 19:58:19 +00:00
Sergii Stoian
97d6daf4dc
NSMenuView.m and NSMenuItemCell.m changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16260 72102866-910b-0410-8b05-ffd578937521
2003-03-25 15:37:38 +00:00
Sergii Stoian
21ffe25ac7
removed pad adding between state image and text
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16259 72102866-910b-0410-8b05-ffd578937521
2003-03-25 15:35:51 +00:00
Sergii Stoian
da3b4b0583
offset calulation fixes and optimization
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16258 72102866-910b-0410-8b05-ffd578937521
2003-03-25 15:34:08 +00:00
Sergii Stoian
e1dd0679b1
NSMenuView.m setWindowFrameForAttachingToRect: sizing fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16253 72102866-910b-0410-8b05-ffd578937521
2003-03-25 09:51:00 +00:00
Adam Fedor
23049dde9e
Merge from 0.8.5 branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16250 72102866-910b-0410-8b05-ffd578937521
2003-03-24 18:15:56 +00:00
Sergii Stoian
8de1061830
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16237 72102866-910b-0410-8b05-ffd578937521
2003-03-23 21:51:40 +00:00
Sergii Stoian
be33618457
Horizontal menu related code removed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16236 72102866-910b-0410-8b05-ffd578937521
2003-03-23 21:41:44 +00:00
Wim (Willem Rein) Oudshoorn
accc68d8dd
fixed stupid typo.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16223 72102866-910b-0410-8b05-ffd578937521
2003-03-22 17:11:18 +00:00
Wim (Willem Rein) Oudshoorn
a50c8b216c
(-initWithFrame:): Removed creation of titleView
...
([NSMenuView -setMenu:]): call update to handle new situation
([NSMenuView -update]): Removed call to _menu update, handle the
adding/removing of the title view.
([NSMenuView -sizeToFit]): reformatted to conform to coding standard,
handle missing titleView.
([NSMenuView -setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:]):
Reformatted to conform to coding standard. Removed the code that removed the titleView.
That is handled by update.
([NSMenuView -drawRect:]): Reformatted to conform to coding standards.
([NSMenuWindowTitleView -init]): Reformatted to conform to coding standards.
([NSMenuWindowTitleView -dealloc]): new method to prevent leaking the close button.
([NSMenuWindowTitleView -titleSize]): Reformatted to conform to coding standard
([NSMenuWindowTitleView -drawRect:]): idem
([NSMenuWindowTitleView -mouseDown:]): idem
([NSMenuWindowTitleView -createButton]): idem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16222 72102866-910b-0410-8b05-ffd578937521
2003-03-22 16:30:04 +00:00
Wim (Willem Rein) Oudshoorn
a0deea8aff
([NSMenu -display]): Added optimization of Michael Hanni
...
to only resize menu view when actually displayed.
([NSMenu -setTitle:]): Idem
([NSMenu -sizeToFit:]): Fixed problem with jumping menus when items
are added.
([NSMenu -display:]): added optimization of Michael Hanni to resize
only once. Also fixed race condition bug in getting menu location.
([NSMenu -displayTransient]): Added optimization of M. Hanni, removed
resetting position to (0, 0).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16221 72102866-910b-0410-8b05-ffd578937521
2003-03-22 16:29:40 +00:00
Wim (Willem Rein) Oudshoorn
7463e8fb50
updated changelog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16220 72102866-910b-0410-8b05-ffd578937521
2003-03-22 16:13:21 +00:00
David Ayers
a2683d66ba
* Source/NSCell.m ([NSCell encodeWithCoder:]): Reinsert encoding
...
of isContinuous to insure backward compatiblity of archives.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16215 72102866-910b-0410-8b05-ffd578937521
2003-03-20 13:59:29 +00:00
Sergii Stoian
8ba951b342
NSMenuView popup button related fixes and additions
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16214 72102866-910b-0410-8b05-ffd578937521
2003-03-20 12:16:25 +00:00
Fred Kiefer
b19a81ce43
Replaced GNUstep method for right mouse menu display with MacOSX one.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16212 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:17:07 +00:00
Fred Kiefer
4a0065ab77
In [sendEvent:] use [popUpContextMenu:withEvent:forView:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16211 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:16:12 +00:00
Fred Kiefer
a28e9901bb
In [rightMouseDown:] use [popUpContextMenu:withEvent:forView:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16210 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:15:44 +00:00
Fred Kiefer
4e159c6bda
Implemented [popUpContextMenu:withEvent:forView:] using
...
[_rightMouseDisplay:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16209 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:15:21 +00:00
Fred Kiefer
bcdf0c46f8
Removed method [_rightMouseDisplay:] as this is now private.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16208 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:14:51 +00:00
Fred Kiefer
01a653745e
New MacOSX methods on NSCell
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16203 72102866-910b-0410-8b05-ffd578937521
2003-03-18 23:50:26 +00:00
Fred Kiefer
d04d38f65d
Added new MacOSX methods [title], [setTitle:], [controlSize],
...
[setControlSize:], [controlTint], [setControlTint:] and
[highlightColorWithFrame:inView:]. Rewrote [isContinuous],
[setContinuous:] and [trackMouse:...untilMouseUp:] to work via the
_action_mask.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16202 72102866-910b-0410-8b05-ffd578937521
2003-03-18 23:49:42 +00:00
Fred Kiefer
b0715a2168
Removed ivar is_continuous, this is now handled by the action
...
mask. Decreased size of the image_position ivar. Added two more
subclass ivar to reuse the freed space. Flagged all methods that
are new in MacOSX and added a few more of this.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16201 72102866-910b-0410-8b05-ffd578937521
2003-03-18 23:48:58 +00:00
Fred Kiefer
6f303709e5
In [imageUnfilteredFileTypes] add the tiff entries always to the
...
front of the list. As the standard GNUstep images are in this
format, this will speed up image loading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16200 72102866-910b-0410-8b05-ffd578937521
2003-03-18 23:47:23 +00:00
Sergii Stoian
ec5f9bafe8
fixes to sizeToFit, NSMenuTitleView's drawRect, added titleSize
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16198 72102866-910b-0410-8b05-ffd578937521
2003-03-18 16:24:31 +00:00
Sergii Stoian
ab062e79c7
NSMenuView.m: fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16197 72102866-910b-0410-8b05-ffd578937521
2003-03-18 16:22:44 +00:00
Sergii Stoian
15a1fb917c
cleanup of previous commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16188 72102866-910b-0410-8b05-ffd578937521
2003-03-17 14:58:36 +00:00
Sergii Stoian
8ad1f16325
close button's previous changes reverted and make use [NSButton setRefusesFirstResponder: YES]
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16186 72102866-910b-0410-8b05-ffd578937521
2003-03-17 13:18:32 +00:00
Sergii Stoian
feda9ed5e0
removed GSCloseButton. createButton now uses setRefusesFirstResponder
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16185 72102866-910b-0410-8b05-ffd578937521
2003-03-17 13:07:43 +00:00
Sergii Stoian
1cd6c7f2b7
sizeToFit changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16184 72102866-910b-0410-8b05-ffd578937521
2003-03-17 11:22:02 +00:00
Sergii Stoian
86d76d089e
[sizeToFit] cleanup and new class GSCloseButton
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16183 72102866-910b-0410-8b05-ffd578937521
2003-03-17 11:18:38 +00:00
Sergii Stoian
e734c04808
Corrected position of light and dark sides of triangle
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16182 72102866-910b-0410-8b05-ffd578937521
2003-03-17 11:05:55 +00:00
Sergii Stoian
0f4c498883
Changed to work with new GSCloseButton
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16181 72102866-910b-0410-8b05-ffd578937521
2003-03-17 11:03:34 +00:00
Fred Kiefer
b0febca9a4
Added acceptsFirstResponder to NSControl. Now setRefusesFirstResponder: should
...
work for all controls.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16180 72102866-910b-0410-8b05-ffd578937521
2003-03-17 02:15:08 +00:00
Fred Kiefer
2b76900051
Removed the method [acceptsFirstResponder] as NSControls version
...
is now used.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16179 72102866-910b-0410-8b05-ffd578937521
2003-03-17 02:13:06 +00:00
Fred Kiefer
3a7a7931c4
Added method [acceptsFirstResponder], which asks the cell if it
...
accepts first responder. Added [becomeFirstResponder] and
[resignFirstResponder] that redraw if the cell may change apprearance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16178 72102866-910b-0410-8b05-ffd578937521
2003-03-17 02:11:42 +00:00
Richard Frith-Macdonald
47e2deedfd
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16154 72102866-910b-0410-8b05-ffd578937521
2003-03-08 11:57:44 +00:00
Richard Frith-Macdonald
d192b06fc5
Fix slip of the keyboard
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16153 72102866-910b-0410-8b05-ffd578937521
2003-03-08 11:47:31 +00:00
Richard Frith-Macdonald
aff8b096b9
Menu handling fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16152 72102866-910b-0410-8b05-ffd578937521
2003-03-08 07:09:33 +00:00