Fred Kiefer
6c54fd6be5
Remove most uses of the method [NSView -removeSubview:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33047 72102866-910b-0410-8b05-ffd578937521
2011-05-15 14:42:08 +00:00
Fred Kiefer
2d01942e4b
Replace #include -> #import
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32451 72102866-910b-0410-8b05-ffd578937521
2011-03-04 11:33:22 +00:00
Nicola Pero
f80e259048
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
Gregory John Casamento
03ef6c2fb5
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
Gregory John Casamento
4b57864928
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
Quentin Mathe
a7ca2b775f
Replaced _rFlags.flipped_view use with -isFlipped and deprecated
...
_rFlagsType.flipped_view.
Still needs some work to automatically invalidate coordinates when the
flipping changes e.g. between two drawing sessions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31233 72102866-910b-0410-8b05-ffd578937521
2010-09-03 08:21:52 +00:00
Riccardo Mottola
e6f4c736b8
added documentation for scroller hiding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31076 72102866-910b-0410-8b05-ffd578937521
2010-08-03 22:26:25 +00:00
Wolfgang Lux
a8e617e01f
Correct serious nib loading bug on big endian machines.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30472 72102866-910b-0410-8b05-ffd578937521
2010-05-29 08:32:02 +00:00
Eric Wasylishen
4650d6493d
core/gui: Add an option to turn off the inner border lines in NSScrollView which look bad on any non-NeXT like theme
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30186 72102866-910b-0410-8b05-ffd578937521
2010-04-18 22:39:18 +00:00
Wolfgang Lux
4e3817c049
Implement additional NSResponder action methods to scroll to the
...
beginning and end of a document, respectively.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30057 72102866-910b-0410-8b05-ffd578937521
2010-03-27 22:03:34 +00:00
Eric Wasylishen
ecfb4c514b
Respond to horizontal scrolling in NSScrollView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29531 72102866-910b-0410-8b05-ffd578937521
2010-02-10 07:31:24 +00:00
Quentin Mathe
2da78331b1
Fixed table header/content random disappearance with unarchived table/outline
...
views.
NSTableView non-keyed unarchiving was not always initializing _columnOrigins.
NSScrollView keyed unarchiving was decoding non-encoded flags (the flags were
thus initialized with random memory content).
See ChangeLog for detailed explanations.
Also added double action keyed archiving to NSTableView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29494 72102866-910b-0410-8b05-ffd578937521
2010-02-06 11:32:34 +00:00
Wolfgang Lux
d51594fb37
Fix bug where an NSScrollView incorrectly claimed to be opaque while
...
its clip view is not.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29156 72102866-910b-0410-8b05-ffd578937521
2009-12-21 23:01:23 +00:00
Richard Frith-MacDonald
f2a8d1d58c
api cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29039 72102866-910b-0410-8b05-ffd578937521
2009-11-19 20:37:43 +00:00
Fred Kiefer
c3d42b5370
* Source/NSScrollView.m (-initWithCoder:): Don't add the vertical
...
scroller directly into the subviews. Call tile to position all
subviews correctly.
Based on patch by Quentin Mathe <quentin.mathe@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28625 72102866-910b-0410-8b05-ffd578937521
2009-09-07 16:19:42 +00:00
Gregory John Casamento
8369481079
* Source/NSScrollView.m: If the scrollview has scrollers,
...
don't pay attention to the hidden flag in nib loading.
* Source/NSTableView.m: if the table has a cornerview, don't
pay attention to the hidden flag in nib loading.
NOTE: In both instances it appears that Cocoa sets the hidden flag
when autohide is set to true. GNUstep handles this case differently,
so it's okay to ignore this flag when the scroller is in an
NSScrollView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28231 72102866-910b-0410-8b05-ffd578937521
2009-04-19 03:23:11 +00:00
Fred Kiefer
d8d8156943
Fix inconsitency in NSScrollView decoding that led to uninitialized
...
memory being used.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28103 72102866-910b-0410-8b05-ffd578937521
2009-03-20 08:58:07 +00:00
Gregory John Casamento
f4571a026a
Fix for infinite notification loop which occurs with some nib files.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28082 72102866-910b-0410-8b05-ffd578937521
2009-03-16 02:38:54 +00:00
Gregory John Casamento
e4fcef380e
Use new flags in initWithCoder:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28081 72102866-910b-0410-8b05-ffd578937521
2009-03-16 02:10:38 +00:00
Gregory John Casamento
748f579ecf
Add more flags for nib loading.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28080 72102866-910b-0410-8b05-ffd578937521
2009-03-16 00:28:39 +00:00
Gregory John Casamento
73fea24d38
Minor cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28078 72102866-910b-0410-8b05-ffd578937521
2009-03-15 19:21:57 +00:00
Gregory John Casamento
4c02515e9e
* Source/NSScrollView.m: Remove FIXME comment and provided an
...
explaination for why a cast wasn't used. Added nonDynamic flag
as well as other flags from the nib file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28077 72102866-910b-0410-8b05-ffd578937521
2009-03-15 19:19:55 +00:00
Richard Frith-MacDonald
fa0b8d995b
Use proxies for named images so that changes to images are nstantly reflected
...
when you change themes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27810 72102866-910b-0410-8b05-ffd578937521
2009-02-08 11:02:57 +00:00
Richard Frith-MacDonald
f35949036f
Need to make sure we don't create text containers with negative dimensions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27766 72102866-910b-0410-8b05-ffd578937521
2009-02-03 15:56:51 +00:00
Richard Frith-MacDonald
774a9ec1d4
Fix typo in method to set parent window of a child, optimise color handling in themes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27742 72102866-910b-0410-8b05-ffd578937521
2009-01-31 09:59:32 +00:00
Richard Frith-MacDonald
1326dfa1b4
Minor theme fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27560 72102866-910b-0410-8b05-ffd578937521
2009-01-08 16:13:23 +00:00
Richard Frith-MacDonald
3217c7304a
Make code a little easier to read (and a tiny bit more efficient).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27452 72102866-910b-0410-8b05-ffd578937521
2008-12-29 12:28:50 +00:00
Fred Kiefer
d71b76e768
Replaced scrollview change with one that is easier to understand.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27053 72102866-910b-0410-8b05-ffd578937521
2008-11-14 19:25:01 +00:00
Gregory John Casamento
32e9a3017a
* Source/NSScrollView.m: Correct issue with tableviews when
...
loading nib files, corrected bug #24782 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27044 72102866-910b-0410-8b05-ffd578937521
2008-11-14 05:36:20 +00:00
Fred Kiefer
2505d01c74
Correct retain/release issues in NSScrollView and NSWindowController.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26799 72102866-910b-0410-8b05-ffd578937521
2008-08-02 17:34:04 +00:00
Fred Kiefer
a280fa3721
Commit scroll adjustment patch by Benhur Stein.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26678 72102866-910b-0410-8b05-ffd578937521
2008-06-17 20:20:15 +00:00
Adam Fedor
7afdd32ac1
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
Fred Kiefer
d05440d67c
Small cleanup.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26429 72102866-910b-0410-8b05-ffd578937521
2008-04-04 21:52:39 +00:00
Fred Kiefer
8730f4cab8
Allow table views without header.
...
Popup buttons no longer display values from old menus after a change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25702 72102866-910b-0410-8b05-ffd578937521
2007-12-07 18:46:27 +00:00
Fred Kiefer
193e31e678
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
Fred Kiefer
a66882b17b
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
Fred Kiefer
3a4a94238e
Add scroll page up and down methods to NSTextView and NSScrollView.
...
Patch by Wolfgang Lux <wolfgang.lux@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24732 72102866-910b-0410-8b05-ffd578937521
2007-02-28 22:10:47 +00:00
Fred Kiefer
d4fe1a2399
Add support to auto hide scrollers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24730 72102866-910b-0410-8b05-ffd578937521
2007-02-28 17:53:43 +00:00
Richard Frith-MacDonald
3900ae6fb7
Adjust to fix corner view for scroillers on right.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24128 72102866-910b-0410-8b05-ffd578937521
2006-11-18 14:56:09 +00:00
Richard Frith-MacDonald
dffc79cdfb
Merge in some theming changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24120 72102866-910b-0410-8b05-ffd578937521
2006-11-17 08:54:20 +00:00
Richard Frith-MacDonald
57435da7d5
tidyups and minor theme tiling updates.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23871 72102866-910b-0410-8b05-ffd578937521
2006-10-15 08:34:47 +00:00
Richard Frith-MacDonald
ec93a2ceef
Add cheange missed from last commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23590 72102866-910b-0410-8b05-ffd578937521
2006-09-22 13:38:12 +00:00
Richard Frith-MacDonald
ed5990f599
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
Gregory John Casamento
63e4a9aebd
* Source/GSNibCompatibility.m: In [NSIBObjectData initWithCoder:]
...
clean up the buildMap calls. In NSCustomResource retain the resource
that is returned to prevent a crash. Add dealloc method to
NSCustomObject.
* Source/NSClipView.m: In initWithCoder: retain and release
documentView before removing it from the view and resetting
it as the document view. This ensures that the view will
not be deallocated.
* Source/NSScrollView.m: Retain the contentView before exchanging
it and then release to prevent the view from being deallocated in
initWithCoder:
* Source/NSTableView.m: Replace call to "new" with alloc/init for
NSTableHeaderView in initWithCoder:
* Source/NSView.m: in initWithCoder: keyed coding don't release
the subs array since it's already autoreleased. This was causing
a crash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23336 72102866-910b-0410-8b05-ffd578937521
2006-08-26 14:10:18 +00:00
Gregory John Casamento
f3a5a67c45
* Source/NSBrowserCell.m: Improved encoding and decoding in
...
encodeWithCoder: and initWithCoder:
* Source/NSBrowser.m: Improved encoding and decoding in
encodeWithCoder: and initWithCoder:
* Source/NSScrollView.m: Improved encoding and decoding in
encodeWithCoder: and initWithCoder:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23315 72102866-910b-0410-8b05-ffd578937521
2006-08-19 14:34:52 +00:00
Gregory John Casamento
78bbf9e972
Implement encoding for these objects and correct issue with font size encoding. It was encoded/decoded as an int when it should have been a float.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23226 72102866-910b-0410-8b05-ffd578937521
2006-08-09 05:48:54 +00:00
Gregory John Casamento
53ca2a14c2
Prevent initWithCoder: from calling initWithFrame: in NSView. According to the documentation, initWithFrame: should not be called when the view is unarchiving itself. Similar changes were needed in other classes since they depended on this call to initialize themselves, so some init code was added to initWithCoder:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23143 72102866-910b-0410-8b05-ffd578937521
2006-07-07 01:39:16 +00:00
Gregory John Casamento
d68950d71a
Nib compatibility code merge.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22957 72102866-910b-0410-8b05-ffd578937521
2006-05-20 22:12:46 +00:00
Fabien Vallon
cc10c14d04
Improved documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22092 72102866-910b-0410-8b05-ffd578937521
2005-11-24 10:49:32 +00:00
Richard Frith-Macdonald
b2240b693f
Fix bug #13310
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21370 72102866-910b-0410-8b05-ffd578937521
2005-06-28 10:09:14 +00:00