Commit graph

3775 commits

Author SHA1 Message Date
Fred Kiefer
518e863647 Set default table column width to 100. Patch by Quentin Mathe
<qmathe@club-internet.fr>. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26074 72102866-910b-0410-8b05-ffd578937521
2008-02-16 16:45:10 +00:00
Adam Fedor
61ee594bd6 Make sure to allocate a mutable dictionary.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26055 72102866-910b-0410-8b05-ffd578937521
2008-02-12 22:35:03 +00:00
Fred Kiefer
785ae61495 Add fallback for missing standard fonts (LucidaGrande).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26054 72102866-910b-0410-8b05-ffd578937521
2008-02-11 23:12:37 +00:00
Fred Kiefer
3ac0da9c43 New methods on NSView with code from viewWillMoveToWindow: and
viewWillMoveToSuperview:. The later are now empty to allow 
subclasses not to call the super implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26053 72102866-910b-0410-8b05-ffd578937521
2008-02-11 11:37:29 +00:00
Fred Kiefer
5efc693137 Better support for transparent images and more image formats.
Add background image in info panel.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26043 72102866-910b-0410-8b05-ffd578937521
2008-02-08 22:40:38 +00:00
Fred Kiefer
65ceda6b9d Patch by Matt Rice to get popup buttons that support
setUsesItemFromMenu: set to NO.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26036 72102866-910b-0410-8b05-ffd578937521
2008-02-07 19:12:59 +00:00
Fred Kiefer
d5e445c620 Add support for popup preferred edge.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26023 72102866-910b-0410-8b05-ffd578937521
2008-02-04 14:56:15 +00:00
Fred Kiefer
deca87da4a Treat CJK characters as words.
Patch by Yen-Ju Chen <yjchenx@hotmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26022 72102866-910b-0410-8b05-ffd578937521
2008-02-04 10:46:20 +00:00
Fred Kiefer
40833fa7e5 Add direct check if the mouse is inside the cellFrame.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26021 72102866-910b-0410-8b05-ffd578937521
2008-02-03 19:32:07 +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
df859abbe6 Add new X secondary selection behaviour.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26004 72102866-910b-0410-8b05-ffd578937521
2008-01-26 17:17:04 +00:00
Fred Kiefer
c0a656abd0 Avoid compiler warnings on Windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25985 72102866-910b-0410-8b05-ffd578937521
2008-01-19 21:48:37 +00:00
Fred Kiefer
99e9f5a69e New Apple methods on NSGraphicsContext and rework of window device
setting. Requires corresponding change in back!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25980 72102866-910b-0410-8b05-ffd578937521
2008-01-19 13:11:16 +00:00
Gregory John Casamento
af5036aeee Moved drawing code to GSTheme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25976 72102866-910b-0410-8b05-ffd578937521
2008-01-18 19:40:24 +00:00
Fred Kiefer
186e6b0744 Correction to dragging mask computation by Abdreas Schik.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25956 72102866-910b-0410-8b05-ffd578937521
2008-01-16 16:45:12 +00:00
Gregory John Casamento
f17d86d3eb Removed redundant variable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25948 72102866-910b-0410-8b05-ffd578937521
2008-01-14 14:37:51 +00:00
Gregory John Casamento
d4da065a2d * Headers/AppKit/NSSegmentedControl.h
* Source/NSSegmentedCell.m
	* Source/NSSegmentedControl.m: Correct tabbing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25947 72102866-910b-0410-8b05-ffd578937521
2008-01-14 14:19:21 +00:00
Fred Kiefer
25386c9ae8 Correct bug in last KVB change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25946 72102866-910b-0410-8b05-ffd578937521
2008-01-14 13:08:02 +00:00
Fred Kiefer
6672739afd Add reverse value change methods for bindings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25935 72102866-910b-0410-8b05-ffd578937521
2008-01-13 18:08:35 +00:00
Gregory John Casamento
a70afb2bae * Headers/AppKit/NSSegmentedCell.h: Added rect ivar to cache frame.
* Source/NSBundleAdditions.m: Minor formatting changes.
	* Source/NSController.m: Added ivars to encodeWithCoder:.
	* Source/NSNibBindingConnector.m: Added ivars to encodeWithCoder:.
	* Source/NSSegmentedCell.m: Changes to fully implement rendering
	of the cell.
	* Source/NSSegmentedControl.m: Changes to fully implement
	control.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25900 72102866-910b-0410-8b05-ffd578937521
2008-01-09 03:37:59 +00:00
Gregory John Casamento
5b5447d12d Code to draw and render text in segments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25895 72102866-910b-0410-8b05-ffd578937521
2008-01-08 14:43:12 +00:00
Fred Kiefer
b9419b8387 Add a bit more code to the classes to make them usable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25886 72102866-910b-0410-8b05-ffd578937521
2008-01-07 17:22:49 +00:00
Gregory John Casamento
83a6e40893 Added initial implementations of NSSegmentedCell and NSSegmentedControl.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25884 72102866-910b-0410-8b05-ffd578937521
2008-01-07 14:33:58 +00:00
Fred Kiefer
30c6bccd90 Add MacOSX methods and ivars.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25882 72102866-910b-0410-8b05-ffd578937521
2008-01-07 11:26:13 +00:00
Gregory John Casamento
277fb220fa * Headers/AppKit/NSDrawer.h: Added new ivars.
* Source/NSDrawer.m: Addition implementation of NSDrawer.  Corrected
	drag problem.  Added border.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25873 72102866-910b-0410-8b05-ffd578937521
2008-01-05 20:27:10 +00:00
Fred Kiefer
3dc7f6d74c Set the text container to max size, when the text view is resizable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25863 72102866-910b-0410-8b05-ffd578937521
2008-01-04 21:02:29 +00:00
Fred Kiefer
4976d1e4dc Add new MacOSX 10.4 files used by simple web kit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25840 72102866-910b-0410-8b05-ffd578937521
2008-01-02 23:25:12 +00:00
Gregory John Casamento
16069ba835 Added warning and dummy PSWait method so that apps which use DPS calls can compile cleanly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25805 72102866-910b-0410-8b05-ffd578937521
2007-12-30 17:32:40 +00:00
Fred Kiefer
87e0d03c60 Add missing retain in keyed decoding case.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25804 72102866-910b-0410-8b05-ffd578937521
2007-12-30 15:03:06 +00:00
Fred Kiefer
8557f009df Add MacOSX methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25785 72102866-910b-0410-8b05-ffd578937521
2007-12-25 14:53:45 +00:00
Richard Frith-MacDonald
aa79c640dc Use a button rather than a textfield to select theme panel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25783 72102866-910b-0410-8b05-ffd578937521
2007-12-25 08:13:32 +00:00
Fred Kiefer
93b0fa80e9 Add KVB for menu item and popup button.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25777 72102866-910b-0410-8b05-ffd578937521
2007-12-23 22:13:24 +00:00
Fred Kiefer
2310d97434 Full support for view hiding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25775 72102866-910b-0410-8b05-ffd578937521
2007-12-22 16:11:24 +00:00
Fred Kiefer
68fc3bc403 Made data source method optional on NSTableView.
Add marker objects for KVB.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25751 72102866-910b-0410-8b05-ffd578937521
2007-12-17 13:35:31 +00:00
Fred Kiefer
456a4cd97f Two small bug fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25748 72102866-910b-0410-8b05-ffd578937521
2007-12-15 14:36:28 +00:00
Fred Kiefer
f25c62f57b Add some more KVB and move some.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25746 72102866-910b-0410-8b05-ffd578937521
2007-12-15 12:34:39 +00:00
Fred Kiefer
295b663a75 Rewrote KVB to use separate binding class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25728 72102866-910b-0410-8b05-ffd578937521
2007-12-13 01:10:09 +00:00
Fred Kiefer
311bead94e Swap destination and source in NIB binding connector.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25727 72102866-910b-0410-8b05-ffd578937521
2007-12-12 08:39:44 +00:00
Fred Kiefer
f9bcb8cc27 Fix core dump from lst commit. Sorry!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25726 72102866-910b-0410-8b05-ffd578937521
2007-12-12 08:16:23 +00:00
Fred Kiefer
5966ffcd3f Key binding patch by Chris Farber <chris@chrisfarber.net>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25724 72102866-910b-0410-8b05-ffd578937521
2007-12-11 18:50:42 +00:00
Fred Kiefer
d2394a526f Better implemenation for setStroke and setFill and NSColorSpace
additions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25714 72102866-910b-0410-8b05-ffd578937521
2007-12-10 15:56:28 +00:00
Fred Kiefer
ec5e0a3c38 Correct colour sliders to work in flipped views and simplified code.
Let text fields and controls pass on not used mouse down events to next
responder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25707 72102866-910b-0410-8b05-ffd578937521
2007-12-08 22:12:48 +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
Richard Frith-MacDonald
05e616b2e1 Fixup response of services menu to set_show_service
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25698 72102866-910b-0410-8b05-ffd578937521
2007-12-07 12:31:51 +00:00
Fred Kiefer
cfc06480b2 Handle NSFrameSize.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25683 72102866-910b-0410-8b05-ffd578937521
2007-12-06 00:10:14 +00:00
Fred Kiefer
3bb689ffbb Set state directly when decoding,
otherwise the items gets into changesStatus mode.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25674 72102866-910b-0410-8b05-ffd578937521
2007-12-03 21:05:38 +00:00
Fred Kiefer
b06abb1fc1 ne more correction, this time it is really main not key that gets set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25672 72102866-910b-0410-8b05-ffd578937521
2007-12-03 19:15:33 +00:00
Fred Kiefer
ba817248fe Corrected last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25671 72102866-910b-0410-8b05-ffd578937521
2007-12-03 19:09:30 +00:00
Fred Kiefer
36c066e994 Make sure there is a main window when starting up.
Correct view image caching.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25670 72102866-910b-0410-8b05-ffd578937521
2007-12-03 19:00:12 +00:00
Fred Kiefer
3cbe23c511 Patch for bezier path encoding.
Add support for new dragging methods in table view.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25660 72102866-910b-0410-8b05-ffd578937521
2007-12-02 20:43:32 +00:00