Commit graph

47 commits

Author SHA1 Message Date
fredkiefer
ccf59ac3ca Replace some occurences of int with NSInteger
and unsigned with NSUInteger. This allows to recompile gui on 
64 bit systems after the change to NSNotFound in base.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34312 72102866-910b-0410-8b05-ffd578937521
2011-12-17 17:16:09 +00:00
ericwa
f0d3f1435a * Source/GSNibLoading.m:
* Source/NSToolbar.m:
* Source/GSToolbarCustomizationPalette.m:
* Source/GSToolbarView.m:
* Source/NSToolbarItem.m:
* Source/NSToolbarFrameworkPrivate.h:
* Headers/AppKit/NSToolbar.h: Implement -initWithCoder: for
NSToolbar. This required a bit more work that usual because
toolbars created with -initWithCoder can operate without a delegate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34189 72102866-910b-0410-8b05-ffd578937521
2011-11-18 20:15:53 +00:00
fredkiefer
27f9556491 * Source/GSToolbarView.m (initSystemExtensionsColors): Remove
this function and the NSColor extensions as these no longer get
used. The colours for NSToolbar are handled by GSTheme.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31807 72102866-910b-0410-8b05-ffd578937521
2010-12-31 16:19:52 +00:00
fredkiefer
30240921b4 First batch of corrections based on David's static analysis.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31337 72102866-910b-0410-8b05-ffd578937521
2010-09-12 16:34:22 +00:00
dpsimons
4aa28ed522 Make toolbar resizing behavior match the Cocoa behavior
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30440 72102866-910b-0410-8b05-ffd578937521
2010-05-21 15:01:45 +00:00
fredkiefer
85253f4282 Toolbar resizing: If there are flexible items and flexible space the items will be expanded
first.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30381 72102866-910b-0410-8b05-ffd578937521
2010-05-13 16:29:38 +00:00
fredkiefer
d8a5434efb Further improvement of toolbar resizing and missing changelog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30380 72102866-910b-0410-8b05-ffd578937521
2010-05-13 14:25:54 +00:00
fredkiefer
ad422833d4 Clean up toolbar item resizing, this now allows for resizable item other than flexible space.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30371 72102866-910b-0410-8b05-ffd578937521
2010-05-12 23:06:02 +00:00
rmottola
a4fb383863 removed c99isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30175 72102866-910b-0410-8b05-ffd578937521
2010-04-16 18:58:26 +00:00
dpsimons
1f5719db0b Fix numerous issues with toolbar customization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30143 72102866-910b-0410-8b05-ffd578937521
2010-04-13 21:38:31 +00:00
fredkiefer
cec34abb20 Remove compiler warnings from clang.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30117 72102866-910b-0410-8b05-ffd578937521
2010-04-10 17:48:46 +00:00
rmottola
e4a081f773 revert accidental commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29758 72102866-910b-0410-8b05-ffd578937521
2010-02-25 21:56:34 +00:00
rmottola
d01fcd0e58 revert accidental commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29757 72102866-910b-0410-8b05-ffd578937521
2010-02-25 21:49:24 +00:00
rmottola
776d5aa982 fix c99-ism
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29756 72102866-910b-0410-8b05-ffd578937521
2010-02-25 21:41:39 +00:00
fredkiefer
83e26ad83f Extract a few more drawing and colour methods to GSTheme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28937 72102866-910b-0410-8b05-ffd578937521
2009-11-02 11:48:22 +00:00
fredkiefer
9d6acb8a2b Correct the only use of the method that Hans Baier renamed :-)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28690 72102866-910b-0410-8b05-ffd578937521
2009-09-16 07:11:21 +00:00
gcasa
31e0c9633c * Source/GSToolbarView.m: Added code to save the configuration when
deleting an item as well as saving an item.
	* Source/NSToolbarFrameworkPrivate.h: removed old _loadConfig method
	added new methods to track changes to toolbars.
	* Source/NSToolbar.m: Added check for items already in the toolbar,
	removed calls to _loadConfig which were commented out, implemented
	setConfigurationFromDictionary: as described in the documentation,
	changed _build to get dictionary from defaults if it's there. 
	Implemented new method _containsItemWithIdentifier: and 
	_itemsFromConfig.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28084 72102866-910b-0410-8b05-ffd578937521
2009-03-16 07:33:31 +00:00
gcasa
e1b4fe3b38 Fixes to correct issues with toolbar pallete customization.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28083 72102866-910b-0410-8b05-ffd578937521
2009-03-16 05:25:22 +00:00
gcasa
ec278abdac * Source/GSToolbarView.m:
* Source/NSToolbar.m: Partial fix for toolbar drag and drop issues.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28072 72102866-910b-0410-8b05-ffd578937521
2009-03-13 05:03:50 +00:00
fredkiefer
f508832e85 Add theme drawing for toolbar view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27806 72102866-910b-0410-8b05-ffd578937521
2009-02-07 21:58:12 +00:00
wlux
b370760dac Fix a few issues with toolbar item validation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27626 72102866-910b-0410-8b05-ffd578937521
2009-01-18 15:11:37 +00:00
fredkiefer
88160ba733 Revert the relationship between NSToolbar and GSToolbarView,
now the toolbar retains the view.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27550 72102866-910b-0410-8b05-ffd578937521
2009-01-07 08:49:53 +00:00
gcasa
bc62fc2df3 * Source/GSToolbarView.m: Use ASSIGN as suggested. This corrects
the crash and fixes the leak caused by the previous change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27516 72102866-910b-0410-8b05-ffd578937521
2009-01-04 23:26:06 +00:00
gcasa
e1efdc9fa4 Correct crash in NSToolbar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27515 72102866-910b-0410-8b05-ffd578937521
2009-01-04 21:40:49 +00:00
fredkiefer
cf906c58bb Add new private header file with shared toolbar classes interfaces.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27503 72102866-910b-0410-8b05-ffd578937521
2009-01-02 17:24:06 +00:00
fredkiefer
2358f07c43 General clean up of GSToolbarView code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27501 72102866-910b-0410-8b05-ffd578937521
2009-01-02 14:05:39 +00:00
fredkiefer
aed7756d65 Merge GSToolbar with NSToolbar and remove all traces of the old class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27491 72102866-910b-0410-8b05-ffd578937521
2009-01-01 22:04:38 +00:00
fredkiefer
7ce954508f Small changes to prepare for merge of NSToolbar and GSToolbar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27488 72102866-910b-0410-8b05-ffd578937521
2009-01-01 19:22:50 +00:00
fredkiefer
04f395681c Start to rewrite the window toolbar handling code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27478 72102866-910b-0410-8b05-ffd578937521
2008-12-31 16:06:58 +00:00
fedor
ce41d782c1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
fredkiefer
e25cceb710 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
fredkiefer
294089db95 Different patches by Andreas Höschler <ahoesch@smartsoft.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24846 72102866-910b-0410-8b05-ffd578937521
2007-03-11 17:07:44 +00:00
qmathe
51975bfb47 Shut down some toolbar related compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22571 72102866-910b-0410-8b05-ffd578937521
2006-02-23 23:41:22 +00:00
fedor
db3c52eab8 Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
qmathe
9e27f32f4f Fixed white toolbar background bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20609 72102866-910b-0410-8b05-ffd578937521
2005-01-24 11:25:42 +00:00
qmathe
bbf693d751 Fixed GNUMail compilation with recent Darwin linker versions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20588 72102866-910b-0410-8b05-ffd578937521
2005-01-21 09:32:50 +00:00
qmathe
557f6dbeb4 Fixed the toolbar bug #11393
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20503 72102866-910b-0410-8b05-ffd578937521
2004-12-30 14:02:00 +00:00
qmathe
6118629e9c Deactivated the toolbar delegate synchronisation and other toolbar modifications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20001 72102866-910b-0410-8b05-ffd578937521
2004-09-05 17:56:11 +00:00
alexm
69586395a3 Remove spurious ';'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19985 72102866-910b-0410-8b05-ffd578937521
2004-09-03 23:10:13 +00:00
qmathe
e589de7383 Added the possibility to rearrange toolbar items
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19976 72102866-910b-0410-8b05-ffd578937521
2004-09-02 17:40:00 +00:00
qmathe
d42cd879d1 NSToolbar visibility issue corrected
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19780 72102866-910b-0410-8b05-ffd578937521
2004-07-27 15:15:29 +00:00
qmathe
dce085aaf0 Toolbar improvements... Fixed several major and minor bugs, rewritten the validation support, lot of memory leaks eliminated and other changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19689 72102866-910b-0410-8b05-ffd578937521
2004-07-07 21:25:42 +00:00
qmathe
6471f6b02e Toolbar improvements, include validation, border, memory leaks, selected item
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19390 72102866-910b-0410-8b05-ffd578937521
2004-05-23 18:22:45 +00:00
qmathe
1cdd812a76 Added color customization to the toolbar and first part of the validation support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19372 72102866-910b-0410-8b05-ffd578937521
2004-05-18 19:35:58 +00:00
qmathe
30e9e253d0 Added display mode and size mode support to the toolbar implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19085 72102866-910b-0410-8b05-ffd578937521
2004-04-13 13:12:53 +00:00
qmathe
141d738af8 Reworked toolbar implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18840 72102866-910b-0410-8b05-ffd578937521
2004-03-12 22:55:02 +00:00
gcasa
a918b0102a Submitting Quentin's changes for NSToolbar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18651 72102866-910b-0410-8b05-ffd578937521
2004-02-25 03:27:23 +00:00