Commit graph

70 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
fredkiefer
e0ec95a1da Add some bindings for NSTabView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34112 72102866-910b-0410-8b05-ffd578937521
2011-11-02 23:16:38 +00:00
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
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
fredkiefer
e64aca8bb2 few compiler warning fixes plus a lot of #import replacement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30448 72102866-910b-0410-8b05-ffd578937521
2010-05-24 10:48:14 +00:00
gcasa
30cc46e496 * Source/NSTabView.m: Autoresize subviews when loaded from the nib
and set the mask to the make height and width resizable when the
	tab is selected


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28197 72102866-910b-0410-8b05-ffd578937521
2009-04-10 18:03:45 +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
74b20f9065 Add missing isFlipped methods to controls.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25473 72102866-910b-0410-8b05-ffd578937521
2007-09-10 11:12:44 +00:00
fredkiefer
1d293756e0 Add new MacOSX 10.4 methods and constants to NSWindow. Requires
recompilation of all applications!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25469 72102866-910b-0410-8b05-ffd578937521
2007-09-09 12:19:01 +00:00
fredkiefer
df5dd1b0f1 Change values for NSTabViewType enumerator.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24806 72102866-910b-0410-8b05-ffd578937521
2007-03-07 23:15:07 +00:00
fredkiefer
ce32fb934e Initialise _selected_item. Patch by Wolfgang Lux
<wolfgang.lux@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24698 72102866-910b-0410-8b05-ffd578937521
2007-02-27 10:47:52 +00:00
fredkiefer
51cb07957d Improve drawing with themes and cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24669 72102866-910b-0410-8b05-ffd578937521
2007-02-20 22:04:45 +00:00
rfm
9385b26884 Tidy icon usage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23630 72102866-910b-0410-8b05-ffd578937521
2006-09-26 18:29:11 +00:00
rfm
8bf3cdc94e theme reorganisation/tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23586 72102866-910b-0410-8b05-ffd578937521
2006-09-22 11:53:40 +00:00
rfm
f5a8f2e9aa Some theme integration work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23585 72102866-910b-0410-8b05-ffd578937521
2006-09-22 11:23:03 +00:00
gcasa
c1e814a745 * Source/NSTabView.m: Corrections in initWithCoder: and
encodeWithCoder: to properly encode items and tabview orientation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23298 72102866-910b-0410-8b05-ffd578937521
2006-08-16 04:54:25 +00:00
gcasa
1a8528922e Correction for GSNibCompatibility. Added coding to classes for keyed archiving.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23225 72102866-910b-0410-8b05-ffd578937521
2006-08-09 01:37:32 +00:00
fredkiefer
e9e1827d77 Small patch to NSTabView. by Andreas Höschler.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22976 72102866-910b-0410-8b05-ffd578937521
2006-05-23 21:15:14 +00:00
rio
dd9e5d28a6 Updated images for the tabviews. They are now transparent;
the background is thus filled in the code using [NSColor controlBackgroundColor]. 
That way the current color scheme is followed. 
Thanks to Ingolf Jandt <i.jandt@web.de> for the images.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22686 72102866-910b-0410-8b05-ffd578937521
2006-03-19 19:41:31 +00:00
FredKiefer
88d112523b GUI patches by Andreas H��schler.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22119 72102866-910b-0410-8b05-ffd578937521
2005-11-29 00:16:10 +00:00
CaS
6988bf34c2 Coding style fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22019 72102866-910b-0410-8b05-ffd578937521
2005-11-16 11:34:25 +00:00
FredKiefer
5cbd31e751 Removed gcc 4.02 compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21846 72102866-910b-0410-8b05-ffd578937521
2005-10-19 23:54: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
arobert
f786c4c6a9 NSTabView fixes to bring in line w/os x behavior for display update and zero-tabs case; NSColorList capability added to read text color files, and corrected interp of arg to -initWithNameFromFile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20334 72102866-910b-0410-8b05-ffd578937521
2004-11-10 04:36:23 +00:00
FredKiefer
2e5ad2655d Use GSDrawingFunctions instead of Function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19483 72102866-910b-0410-8b05-ffd578937521
2004-06-07 23:54:25 +00:00
FredKiefer
b827f3792f Small drawing cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18567 72102866-910b-0410-8b05-ffd578937521
2004-02-08 23:58:41 +00:00
FredKiefer
e30172881a More keyed decoding. Button cell now doesn't fill interior.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18564 72102866-910b-0410-8b05-ffd578937521
2004-02-08 20:33:07 +00:00
FredKiefer
64d5321ffc Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17005 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:50:46 +00:00
fedor
fc402789db Include <> -> ""
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
michael
967664c51a implemented selectTabViewItemWithIdentifier:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16640 72102866-910b-0410-8b05-ffd578937521
2003-05-06 04:26:37 +00:00
fedor
a0400492c5 Check array count
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15157 72102866-910b-0410-8b05-ffd578937521
2002-11-27 21:19:53 +00:00
CaS
1891c095af Tidied method argument naming.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14763 72102866-910b-0410-8b05-ffd578937521
2002-10-13 13:50:06 +00:00
pyr
67e9c4b8d2 Source/NSTabVIew.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14228 72102866-910b-0410-8b05-ffd578937521
2002-08-02 09:46:28 +00:00
nico
3a6a65ae50 Set frame of the new selected view before adding it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12802 72102866-910b-0410-8b05-ffd578937521
2002-02-26 19:11:21 +00:00
nico
7e590b5137 Fixed problem on mouseDown:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12611 72102866-910b-0410-8b05-ffd578937521
2002-02-20 23:13:15 +00:00
fedor
c51f4265da Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
fedor
46cd34f22b View coding fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11553 72102866-910b-0410-8b05-ffd578937521
2001-11-27 21:40:05 +00:00
FredKiefer
8aadd7bd66 Added missing include.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11378 72102866-910b-0410-8b05-ffd578937521
2001-11-12 16:44:04 +00:00
FredKiefer
14fb91c2db In [selectTabViewItem:] corrected setting the first responder of
the tab view.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11361 72102866-910b-0410-8b05-ffd578937521
2001-11-11 17:42:12 +00:00
FredKiefer
bf72c90bd9 Adopted to changes in header. Use [insertTabViewItem:atIndex:] in
[addTabViewItem:]. Corrected [selectNextTabViewItem:] and
[selectPreviousTabViewItem:]. In [selectTabViewItem:] set the
first responder of the tab view. Other small cleanup.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11308 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:10:46 +00:00
nico
3504e37042 Fixed crash on deallocating the NSTabView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11176 72102866-910b-0410-8b05-ffd578937521
2001-10-17 21:24:11 +00:00
nico
6947a7d7f5 Fixed problem with exposed rect being confused with bounds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8260 72102866-910b-0410-8b05-ffd578937521
2000-12-06 16:48:51 +00:00
michael
5bd366163e more NSTab* related fixed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7887 72102866-910b-0410-8b05-ffd578937521
2000-10-23 07:42:34 +00:00
michael
9bfe01ab61 Fixed NSTabView more. Yeah.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7878 72102866-910b-0410-8b05-ffd578937521
2000-10-20 23:02:57 +00:00
michael
f2691db38d Bugfixes for NSTabView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7852 72102866-910b-0410-8b05-ffd578937521
2000-10-19 22:47:09 +00:00
FredKiefer
d3c10d80e7 Changed system fonts of size 12 to 0. This will use Nicolas font
cache and keep font sizes consistent when changed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7347 72102866-910b-0410-8b05-ffd578937521
2000-09-02 17:16:26 +00:00
nico
ff2067cbe2 Fixed drawing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7316 72102866-910b-0410-8b05-ffd578937521
2000-09-01 09:59:49 +00:00
richard
a8fa7b8478 Tidyups an implememnted missing method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6587 72102866-910b-0410-8b05-ffd578937521
2000-05-09 05:31:59 +00:00
nico
475b802dee Updated for change in NSView ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5719 72102866-910b-0410-8b05-ffd578937521
2000-01-10 02:04:25 +00:00