Commit graph

141 commits

Author SHA1 Message Date
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
655fa58b2c Try to stop redundant redars of the NSBrowser, by only getting the
ownership of the titlecell during drawing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27284 72102866-910b-0410-8b05-ffd578937521
2008-12-12 20:16:14 +00:00
Fred Kiefer
ea51783cbb Clean up for NSTextFieldCell and resulting changes to sub classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27260 72102866-910b-0410-8b05-ffd578937521
2008-12-08 16:28:13 +00:00
Richard Frith-MacDonald
10fe2a1e3b fix uninitialised variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27191 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:39:37 +00:00
Fred Kiefer
a6a6257800 Forgotten NSBrowser commit.
Fix to make ICNS loading more stable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26993 72102866-910b-0410-8b05-ffd578937521
2008-10-31 09:53:21 +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
50654211f6 Propagate settings from NSBrowser to underlying matrixes.
Stronger typing in NSBrowser.
Clearer drawing code in different classes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26020 72102866-910b-0410-8b05-ffd578937521
2008-02-02 21:01:43 +00:00
Fred Kiefer
2542f6c647 Get titles of browser working for browser loaded from Gorm file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25550 72102866-910b-0410-8b05-ffd578937521
2007-11-01 14:16:19 +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
94a4f0fd3d Add MacOSX 10.3 methods and constants.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25362 72102866-910b-0410-8b05-ffd578937521
2007-07-28 13:41:18 +00:00
Sergii Stoian
6d314f7223 * Source/NSBrowser.m: ([drawWithFrame:inView:]) pass inset rect by
1 to drawInteriorWithFrame:.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25224 72102866-910b-0410-8b05-ffd578937521
2007-06-06 23:56:26 +00:00
Matt Rice
ac14777bba * Source/NSBrowser.m (-doClick:): Don't reselect the selected cells.
Fixes bug #18881
        * Source/NSMatrix.m (-_selectPreviousSelectableCellBeforeRow:column):
        Update _selectedCells for the new selection.
        (-_selectNextSelectableCellAfterRow:column:):
        Ditto.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24483 72102866-910b-0410-8b05-ffd578937521
2007-02-06 10:13:43 +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
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
Fred Kiefer
48f42d5793 Moved variable declaration to work with older compilers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23320 72102866-910b-0410-8b05-ffd578937521
2006-08-21 12:09:38 +00:00
Gregory John Casamento
9381ab8eec * Source/NSBrowser.m: Added comment in encodeWithCoder:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23316 72102866-910b-0410-8b05-ffd578937521
2006-08-19 19:56:47 +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
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
Fabien Vallon
61b554afdc Improved documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22101 72102866-910b-0410-8b05-ffd578937521
2005-11-25 11:23:28 +00:00
Richard Frith-Macdonald
7971a89c72 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
Fabien Vallon
4cfb6e8097 Improve documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21968 72102866-910b-0410-8b05-ffd578937521
2005-11-08 15:27:06 +00:00
Fred Kiefer
ed11dd4840 Corrected bug 14901.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21941 72102866-910b-0410-8b05-ffd578937521
2005-11-03 22:26:00 +00:00
Sergii Stoian
7ae7d410bf Fix calculating columns width for unseparated columns
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21641 72102866-910b-0410-8b05-ffd578937521
2005-08-16 23:21:26 +00:00
Adam Fedor
303dd1baf9 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
Fred Kiefer
0aa987bab9 Small keyed decoding improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20768 72102866-910b-0410-8b05-ffd578937521
2005-02-21 00:59:32 +00:00
Sergii Stoian
7d048ada92 scroler fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19642 72102866-910b-0410-8b05-ffd578937521
2004-06-28 13:19:32 +00:00
Sergii Stoian
a8d583157b updateScoller fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19617 72102866-910b-0410-8b05-ffd578937521
2004-06-25 22:31:10 +00:00
Sergii Stoian
a24e83cad5 NSBrowser selection fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19612 72102866-910b-0410-8b05-ffd578937521
2004-06-24 22:31:46 +00:00
Sergii Stoian
25fe6d035e NSBrowser column and horizontal scroller widths fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19606 72102866-910b-0410-8b05-ffd578937521
2004-06-23 21:43:54 +00:00
Fred Kiefer
f962706ef0 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
Sergii Stoian
09960c9dc8 [drawRect:] use _bounds instead of rect for NSDrawGrayBezel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19328 72102866-910b-0410-8b05-ffd578937521
2004-05-14 20:42:05 +00:00
Alexander Malmberg
3b4a1570d4 (-keyDown:): When the user selects a cell by typing a partial name, make sure all other cells are deselected.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19090 72102866-910b-0410-8b05-ffd578937521
2004-04-13 22:42:30 +00:00
Fred Kiefer
df3b584a19 Added keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18510 72102866-910b-0410-8b05-ffd578937521
2004-01-30 19:49:00 +00:00
Sergii Stoian
a6b85fa0ea Better handling of cases with and without horizontalscroller
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18428 72102866-910b-0410-8b05-ffd578937521
2004-01-17 10:15:45 +00:00
Sergii Stoian
9f9aeb843f Cosmetic changes in drawing of column separators and horizontal scroller border.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18344 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:28:56 +00:00
Fred Kiefer
1a92dfe9bb Small graphics cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18103 72102866-910b-0410-8b05-ffd578937521
2003-11-22 16:14:01 +00:00
David Ayers
f3785d2cea Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17766 72102866-910b-0410-8b05-ffd578937521
2003-10-02 12:26:28 +00:00
David Ayers
e9a7c38ea7 * Source/NSBrowser.m (-[NSBrowser setDelegate]):
Set _passiveDelegate to YES for 'nil' delegate.
        Use GSObjCRuntime functions to get selector names.
        Update documentation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17765 72102866-910b-0410-8b05-ffd578937521
2003-10-02 11:49:10 +00:00
David Ayers
337e3d3e81 * Source/NSBrowser.m (-[NSBrowser setDelegate]:): Check for
nil object to allow unsetting the delegate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17764 72102866-910b-0410-8b05-ffd578937521
2003-10-02 10:15:20 +00:00
Fred Kiefer
e14bb3bc96 Patch by Christopher Culver:
Define empty [sizeToFit] method to override NSControl implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17747 72102866-910b-0410-8b05-ffd578937521
2003-09-29 21:15:37 +00:00
Alexander Malmberg
0ab3be5eb5 Don't do initialization that requires the shared application object/backend too early (ie. move it from +initialize to other methods). Add some asserts to try to catch these errors in the future.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17503 72102866-910b-0410-8b05-ffd578937521
2003-08-20 12:43:52 +00:00
Adam Fedor
1f8c6011b3 Broweser, ImageCell fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17487 72102866-910b-0410-8b05-ffd578937521
2003-08-18 03:28:58 +00:00
Adam Fedor
a3113ee753 * Source/NSDocument.m ([NSDocument -init]): Check the count of the
types array and uses Viewer and Editor NSRoles to set the default
type.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17485 72102866-910b-0410-8b05-ffd578937521
2003-08-16 17:12:34 +00:00
David Ayers
b18f1c4ac4 Header reorganization - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
Sergii Stoian
42b6ef6744 Border type of column's scroll view fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17082 72102866-910b-0410-8b05-ffd578937521
2003-07-01 13:41:48 +00:00
Adam Fedor
6be9174933 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
Fred Kiefer
e5c6ff4ab0 (-setPath:, pathToColumn:, -addColumn):
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16888 72102866-910b-0410-8b05-ffd578937521
2003-06-08 00:27:13 +00:00
Alexander Malmberg
09c02037d7 (-_createColumn:): Set the border of the created scroll view explicitly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15940 72102866-910b-0410-8b05-ffd578937521
2003-02-11 16:57:12 +00:00
Richard Frith-Macdonald
e8ca345d45 Browser setPath: fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15929 72102866-910b-0410-8b05-ffd578937521
2003-02-11 06:43:05 +00:00
Nicola Pero
ba494c7cd9 Lock focus / unlock focus optimizations and fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15839 72102866-910b-0410-8b05-ffd578937521
2003-02-01 05:10:00 +00:00