nicola
b854f2da8a
Explicitly encode/decode enumerated types as 'int' which is what all
...
the existing archives use (even if it is incorrect as in many cases
the types are actually 'unsigned int')
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31785 72102866-910b-0410-8b05-ffd578937521
2010-12-27 11:57:04 +00:00
gcasa
74c604cbb0
* Source/GSThemeMenu.m: Added implementation for
...
updateAllWindowsWithMenu:, updateMenu:forWindow:, altered
implementation for setMenu:forWindow:, added private method
_setMenu: to set the current menu on the window.
* Source/GSWindowDecorationView.m: Changes to layout
* Source/NSMenu.m: Only call the method updateAllWindowsWithMenu:
when NSMenuInterfaceStyle = NSWindows95InterfaceStyle.
* Source/NSMenuView.m: Change to -update so that it does not
render the top bar of the menu if NSMenuInterfaceStyle =
NSWindows95InterfaceStyle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31782 72102866-910b-0410-8b05-ffd578937521
2010-12-27 07:05:38 +00:00
fredkiefer
9fdac101e2
* Source/NSEvent.m (-deltaX, -deltaY, -deltaZ): Don't raise an
...
exception when called on the wrong type of event.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31766 72102866-910b-0410-8b05-ffd578937521
2010-12-23 16:48:12 +00:00
fredkiefer
b3561409bb
Add the 10.5 coordinate transformation methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31755 72102866-910b-0410-8b05-ffd578937521
2010-12-22 17:06:35 +00:00
fredkiefer
0efb94944b
Correct the definition of NSDragOperation and all its usages.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31754 72102866-910b-0410-8b05-ffd578937521
2010-12-22 16:16:14 +00:00
dpsimons
b3c6e86043
Set search menu 'ownedByPopup' to make it work on Windows.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31747 72102866-910b-0410-8b05-ffd578937521
2010-12-17 21:27:48 +00:00
rmottola
58ba497278
added Icon for the Music folder
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31731 72102866-910b-0410-8b05-ffd578937521
2010-12-14 10:22:50 +00:00
fredkiefer
bbd17d9e16
Implement glyph attribute handling.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31730 72102866-910b-0410-8b05-ffd578937521
2010-12-13 21:26:15 +00:00
jonathanosx
6b7156882f
Prevent trying to retrieve a menuCell that is out of range.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31729 72102866-910b-0410-8b05-ffd578937521
2010-12-13 17:50:09 +00:00
wlux
a9204dade5
Fix bug in -setState:atRow:column: where the old selected cell wasn't
...
properly deselected when the matrix's mode is NSRadioMatrixMode.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31721 72102866-910b-0410-8b05-ffd578937521
2010-12-09 20:31:27 +00:00
wlux
d32eb3d880
Clip the rectangle computed by -rectArrayForGlyphRange: for the last
...
line to the line fragment's used rectangle if the line doesn't end
with a newline (or other invisible character). This better matches
Apple's implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31720 72102866-910b-0410-8b05-ffd578937521
2010-12-09 18:04:25 +00:00
wlux
b7a7d60b91
Don't make an invisible window main window in NSApplication
...
-finishLaunching when the application has no main window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31715 72102866-910b-0410-8b05-ffd578937521
2010-12-07 08:00:43 +00:00
wlux
43e10b9aa1
Allow any window that responds YES to -worksWhenModal to become key in
...
a modal session.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31714 72102866-910b-0410-8b05-ffd578937521
2010-12-07 07:55:48 +00:00
rmottola
c92dddb1da
Added handling of a Desktop icon (and added the icon itself)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31713 72102866-910b-0410-8b05-ffd578937521
2010-12-06 00:46:58 +00:00
gcasa
bd43d10d38
Correcting spelling error in one of the theme methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31701 72102866-910b-0410-8b05-ffd578937521
2010-12-02 17:23:00 +00:00
gcasa
2ec7e163d8
Additional table view methods for themeing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31679 72102866-910b-0410-8b05-ffd578937521
2010-11-28 03:55:58 +00:00
gcasa
512eb11afc
Added NSTableView to the drawing methods for GSTheme.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31678 72102866-910b-0410-8b05-ffd578937521
2010-11-28 00:05:46 +00:00
gcasa
1ca50afb98
Change to GSThemeDrawing to implement drawTableHeaderRect:inView:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31673 72102866-910b-0410-8b05-ffd578937521
2010-11-27 18:17:49 +00:00
rmottola
6663d63025
Revert color well thickness. If desired, this should go in a theme
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31672 72102866-910b-0410-8b05-ffd578937521
2010-11-27 11:57:57 +00:00
wlux
d7c1c651fb
Make print info changes of a document undoable as in Cocoa.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31671 72102866-910b-0410-8b05-ffd578937521
2010-11-27 11:21:31 +00:00
gcasa
5ccdf70532
Added methods for drawing tableheader cell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31668 72102866-910b-0410-8b05-ffd578937521
2010-11-27 03:51:13 +00:00
gcasa
892db01056
Adding methods to draw knob and bar to theme.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31666 72102866-910b-0410-8b05-ffd578937521
2010-11-26 22:48:46 +00:00
gcasa
d293aa7273
Correction for previous commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31664 72102866-910b-0410-8b05-ffd578937521
2010-11-26 21:41:19 +00:00
gcasa
a6f4c7d516
Added method to draw scroll view.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31662 72102866-910b-0410-8b05-ffd578937521
2010-11-26 21:27:58 +00:00
gcasa
10fb5175e7
Added theming for NSMenuView into GSTheme.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31660 72102866-910b-0410-8b05-ffd578937521
2010-11-26 20:28:45 +00:00
gcasa
7c12759c52
Adding theme method for NSBrowser drawing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31658 72102866-910b-0410-8b05-ffd578937521
2010-11-26 19:49:04 +00:00
gcasa
0976649f2a
Added method to draw scroller using theme.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31656 72102866-910b-0410-8b05-ffd578937521
2010-11-26 19:16:46 +00:00
gcasa
5496efbc41
Added method to draw tab view to theme.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31654 72102866-910b-0410-8b05-ffd578937521
2010-11-26 18:08:58 +00:00
wlux
3e2112f215
Do not discard close requests for a window in a modal session when the
...
window has -worksWhenModal==YES.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31653 72102866-910b-0410-8b05-ffd578937521
2010-11-26 16:07:19 +00:00
wlux
f5da3b49ef
Add missing assignment to update the typing attributes after deleting
...
backward in an NSTextView, which accidentally was omitted while
committing r30055.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31641 72102866-910b-0410-8b05-ffd578937521
2010-11-22 16:03:20 +00:00
dpsimons
d056ebe739
Make border of NSColorWell smaller to more closely match Cocoa metrics.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31633 72102866-910b-0410-8b05-ffd578937521
2010-11-19 17:39:29 +00:00
dpsimons
4f0e846a0a
Ensure drawer is visible if parent window became visible since the drawer was opened
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31614 72102866-910b-0410-8b05-ffd578937521
2010-11-16 21:50:23 +00:00
rmottola
aa8d2b6778
Cache folders and their assdociation with icon names in dictionaries
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31611 72102866-910b-0410-8b05-ffd578937521
2010-11-13 21:50:41 +00:00
rmottola
ff0fed4947
Handling of icons for folders of type document, image, system and library
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31605 72102866-910b-0410-8b05-ffd578937521
2010-11-11 23:29:22 +00:00
fredkiefer
bc53479544
Remove a few compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31587 72102866-910b-0410-8b05-ffd578937521
2010-11-03 20:26:30 +00:00
fredkiefer
54f345dd83
* Source/NSWindow.m (-validRequestorForSendType:returnType:):
...
Don't forward this method if the delegate is a NSResponder.
Patch by Georg Fleischmann <G.Fleischmann@vhf.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31586 72102866-910b-0410-8b05-ffd578937521
2010-11-03 20:06:00 +00:00
qmathe
15c2a78b6e
For NSPopUpButtonCell keyed unarchiving, fixed broken selection and removed
...
setAutoenableItems: and -setEnabled: use to match Cocoa doc and behavior.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31585 72102866-910b-0410-8b05-ffd578937521
2010-11-03 14:06:17 +00:00
jonathanosx
3a49e57a7d
* Source/NSView.m: Added some basic santity checkts that the views
...
are in windows when converting rectangles.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31583 72102866-910b-0410-8b05-ffd578937521
2010-11-02 20:57:52 +00:00
qmathe
2c60ce7838
Overriden -[NSSavePanel runModal] in NSOpenPanel to take in account the allowed
...
file types as documented in Cocoa.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31577 72102866-910b-0410-8b05-ffd578937521
2010-10-31 15:34:25 +00:00
dpsimons
fea19d5fbf
fix problem with actions being called twice on Windows with the WinUXTheme
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31572 72102866-910b-0410-8b05-ffd578937521
2010-10-29 14:31:43 +00:00
dpsimons
1c5e9e4dd9
GSToolbarCustomizationView needs to retain its list of palette items.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31562 72102866-910b-0410-8b05-ffd578937521
2010-10-26 00:13:20 +00:00
rmottola
05c5226065
fixed some c99-isms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31556 72102866-910b-0410-8b05-ffd578937521
2010-10-24 21:22:59 +00:00
theraven
c8c06b0474
Fix build with gcc.
...
Sorry!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31553 72102866-910b-0410-8b05-ffd578937521
2010-10-22 21:23:29 +00:00
theraven
5bb05e5135
Fix tooltips.
...
Morbo says: NSAttributedStrings DO NOT WORK THAT WAY!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31552 72102866-910b-0410-8b05-ffd578937521
2010-10-22 17:45:45 +00:00
theraven
78873afa01
Fixed the point argument to -view:stringForToolTip:point:userData: (should be relative to the tracking rectangle, was relative to the window). Added support for displaying tooltips from NSToolTipAttributeName attributes in NSTextView.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31550 72102866-910b-0410-8b05-ffd578937521
2010-10-22 16:38:29 +00:00
theraven
ca5443707d
Added GSFastEnumeration.h from -base to -gui so we can use fast enumeration there too.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31549 72102866-910b-0410-8b05-ffd578937521
2010-10-22 13:11:14 +00:00
dpsimons
1aa3b51134
Fix deadlock issue; make generalPasteboard more efficient
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31539 72102866-910b-0410-8b05-ffd578937521
2010-10-19 22:57:52 +00:00
wlux
29d0dc690f
Add methods to manage the user's preferred applications for URL
...
schemes to NSWorkspace.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31523 72102866-910b-0410-8b05-ffd578937521
2010-10-18 09:04:18 +00:00
fredkiefer
687d59cb1a
Revert the WinUX theme specific patch Doug put in some time ago.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31522 72102866-910b-0410-8b05-ffd578937521
2010-10-17 12:19:24 +00:00
wlux
f6603574d1
Fix bug where NSWorkspace did ignore the user's preferred application
...
when computing the icon associated with a file type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31515 72102866-910b-0410-8b05-ffd578937521
2010-10-16 07:45:48 +00:00