Commit graph

2324 commits

Author SHA1 Message Date
Adam Fedor
ca76560c9e Verfiy bundle loading, make sure nib loaded visibile windows get orderedFront.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10021 72102866-910b-0410-8b05-ffd578937521
2001-05-24 14:47:43 +00:00
Fred Kiefer
02d40b3d81 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9999 72102866-910b-0410-8b05-ffd578937521
2001-05-21 15:25:06 +00:00
Fred Kiefer
1b52725d5b Cache all the fonts so we can returend a cached on if the same
font is required twice, this makes some of the caching in xdps
obsolte.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9998 72102866-910b-0410-8b05-ffd578937521
2001-05-21 15:24:20 +00:00
Fred Kiefer
329d47aa10 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9971 72102866-910b-0410-8b05-ffd578937521
2001-05-18 21:01:42 +00:00
Fred Kiefer
d2948895d0 Integrated patches from Frederic <frederic.chauvin@noos.fr> to
seed up drawing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9970 72102866-910b-0410-8b05-ffd578937521
2001-05-18 21:00:52 +00:00
Fred Kiefer
4c33646018 Extracted the interface definition into a separate file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9969 72102866-910b-0410-8b05-ffd578937521
2001-05-18 21:00:09 +00:00
Fred Kiefer
f32e5d7b69 Extracted interface
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9968 72102866-910b-0410-8b05-ffd578937521
2001-05-18 20:59:23 +00:00
Fred Kiefer
799b99fa0a Added implementation for dashes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9967 72102866-910b-0410-8b05-ffd578937521
2001-05-18 20:58:27 +00:00
Fred Kiefer
b44ab2139a Added ivars for dashes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9966 72102866-910b-0410-8b05-ffd578937521
2001-05-18 20:57:45 +00:00
Fred Kiefer
a906fa8b6d .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9942 72102866-910b-0410-8b05-ffd578937521
2001-05-13 21:14:51 +00:00
Fred Kiefer
1aa5864538 Corrected bug in setupChunk() that showed formats for the wrong
range of characters.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9941 72102866-910b-0410-8b05-ffd578937521
2001-05-13 21:10:22 +00:00
Fred Kiefer
bae5295ce7 Added missing methods from MacOS X specification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9940 72102866-910b-0410-8b05-ffd578937521
2001-05-13 21:09:47 +00:00
Fred Kiefer
f017d59e28 Added some missing pasteboard types.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9939 72102866-910b-0410-8b05-ffd578937521
2001-05-13 21:08:35 +00:00
Mirko Viviani
078c761daa * configure.in: added /usr/local/include and /usr/local/lib for
FreeBSD. Use ADDITIONAL_LIB_DIRS instead of ADDITIONAL_LD_FLAGS.
* config.make.in (ADDITIONAL_LIB_DIRS): renamed.
* config.guess: new file.
* config.sub: new file.
* install-sh: new file.

* Source/NSSavePanel.m ([NSSavePanel -setDelegate:]): check for -panel:
userEnteredFilename:confirmed:
([NSSavePanel -ok:]): call delegate method -panel:userEnteredFilename:
confirmed: (MacOS X). Run an alert panel if the filename already exists
([NSSavePanel -browser:selectCellWithString:inColumn:]): removed
keyboard handling.

* Headers/gnustep/gui/NSSavePanel.h: added ivar.

* Source/NSBrowserCell.m ([NSBrowserCell -highlightColorInView:]):
return the highlight color of the cell. (Mac OS X)
([NSBrowserCell -drawInteriorWithFrame:inView:]): use highlight color
from previous method.

* Headers/gnustep/gui/NSBrowserCell.h: added method.

* Source/NSMatrix.m ([NSMatrix -_mouseDownNonListMode:]): when
tracking the mouse use cell's +prefersTrackingUntilMouseUp
([NSMatrix -_move:]): new private method.
Fixed deselection of cells in NSRadioModeMatrix and NSListModeMatrix.
([NSMatrix -moveUp:]): use _move: to reduce maintance.
([NSMatrix -moveDown:]): likewise.
([NSMatrix -moveLeft:]): likewise.
([NSMatrix -moveRight:]): likewise.
([NSMatrix -getRow:column:ofCell:]): if cell does not exist set row and
column to -1.
([NSMatrix -mouseDown:]): does not select and highlight a cell at the
same time. Ensure that only a cell at a time has the dotted outile.

* Source/NSBrowser.m ([NSBrowser -addColumn]): load a column and scroll
if necessary.
([NSBrowser -doClick:]): rearranged for the new -addColumn
([NSBrowser -setPath:]): likewise and removed additional redisplay.
([NSBrowser -_createColumn]): method to create a new NSBrowserColumn.
([NSBrowser -setMaxVisibleColumns:]): use _createColumn
([NSBrowser -initWithFrame:]): likewise.
([NSBrowser -doClick:]): fixed selection problems.
([NSBrowser -selectRow:inColumn:]): fixed cell selection and perform
load of column if cell is not a leaf.
([NSBrowser -loadColumnZero]): use -addColumn to load column zero.
([NSBrowser -setLastColumn:]): check for min value of column.
([NSBrowser -reloadColumn:]): check with _lastColumnLoaded instead in
the column browser.
([NSBrowser -moveLeft:]): fixed an index out of bound exception when
it was selected the first column.
([NSBrowser -moveRight:]): does nothing if multiple cells are selected
or if the cell is a leaf.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9938 72102866-910b-0410-8b05-ffd578937521
2001-05-13 20:59:21 +00:00
Fred Kiefer
0c367330c1 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9929 72102866-910b-0410-8b05-ffd578937521
2001-05-12 12:37:46 +00:00
Fred Kiefer
096e3f4f4f New implementation of [useFont] and [set] which call methods
on the context.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9928 72102866-910b-0410-8b05-ffd578937521
2001-05-12 12:37:02 +00:00
Fred Kiefer
3e34f4a97b New methods to set and use a font.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9927 72102866-910b-0410-8b05-ffd578937521
2001-05-12 12:36:20 +00:00
Fred Kiefer
89e1bf0de7 Made [NSFont fontInfo] a public method to use it in the backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9926 72102866-910b-0410-8b05-ffd578937521
2001-05-12 12:34:42 +00:00
Adam Fedor
59a548942b Add check for tiff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9922 72102866-910b-0410-8b05-ffd578937521
2001-05-11 22:23:11 +00:00
Adam Fedor
fc383e05d2 Check for sel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9895 72102866-910b-0410-8b05-ffd578937521
2001-05-08 02:42:45 +00:00
Fred Kiefer
1e02e37227 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9894 72102866-910b-0410-8b05-ffd578937521
2001-05-07 22:58:53 +00:00
Fred Kiefer
d76f980997 For NSMenuWindowTitleView [drawRect:] use string
drawing method instead of PSshow().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9890 72102866-910b-0410-8b05-ffd578937521
2001-05-07 22:54:00 +00:00
Fred Kiefer
8650307f00 Adopted to programming standard. In [drawLabel:inRect:] use string
drawing method instead of PSshow().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9889 72102866-910b-0410-8b05-ffd578937521
2001-05-07 22:53:17 +00:00
Mirko Viviani
50cf187fad * Source/NSSavePanel.m ([NSSavePanel -browser:createRowsForColumn:
inMatrix:]): do not treat a file package a directory with an empty
extension.
* Source/NSMatrix.m ([NSMatrix -_mouseDownNonListMode:]): retain the
currentEvent. Fix to prevent theEvent to become nil.
Do not allow empty selection in NSRadioModeMatrix.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9834 72102866-910b-0410-8b05-ffd578937521
2001-05-05 21:45:59 +00:00
Fred Kiefer
374e5a71b1 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9782 72102866-910b-0410-8b05-ffd578937521
2001-05-04 18:26:43 +00:00
Fred Kiefer
dedbc0c159 Made all the button, bezel and groove methods functions again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9781 72102866-910b-0410-8b05-ffd578937521
2001-05-04 18:25:59 +00:00
Richard Frith-Macdonald
ed14212586 Fix for apps providing services to self.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9772 72102866-910b-0410-8b05-ffd578937521
2001-05-04 04:11:53 +00:00
Richard Frith-Macdonald
983262867b Minor fix for gcc-3CVS: ----------------------------------------------------------------------
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9771 72102866-910b-0410-8b05-ffd578937521
2001-05-04 03:19:32 +00:00
Adam Fedor
4525b97466 Minor updates, documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9767 72102866-910b-0410-8b05-ffd578937521
2001-05-03 19:39:28 +00:00
Adam Fedor
4a4b3f034a Changes to compile nib2gmodel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9766 72102866-910b-0410-8b05-ffd578937521
2001-05-03 19:30:36 +00:00
Fred Kiefer
e2d42e6420 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9755 72102866-910b-0410-8b05-ffd578937521
2001-05-01 21:26:15 +00:00
Fred Kiefer
4d4ba3af8c Added missing functions and some dummy implementations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9754 72102866-910b-0410-8b05-ffd578937521
2001-05-01 21:20:11 +00:00
Fred Kiefer
01f6f990dc Added some methods for font size and one function for glyphs from
the MacOS X specification.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9753 72102866-910b-0410-8b05-ffd578937521
2001-05-01 21:19:33 +00:00
Fred Kiefer
82a4641f70 Added missing functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9752 72102866-910b-0410-8b05-ffd578937521
2001-05-01 21:18:09 +00:00
Fred Kiefer
d1fdeb03f5 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9750 72102866-910b-0410-8b05-ffd578937521
2001-04-30 17:44:56 +00:00
Fred Kiefer
ff4548ce5d Implemented the button, bezel and groove drawing with
NSDrawTiledRects. The old implemention is still here. It should be
deleted later on.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9749 72102866-910b-0410-8b05-ffd578937521
2001-04-30 17:43:34 +00:00
Fred Kiefer
66ec7dff83 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9746 72102866-910b-0410-8b05-ffd578937521
2001-04-29 22:36:12 +00:00
Fred Kiefer
2bb8bbe99c Moved implementation of drawing functions from xgps
backend to here. Corrected some of them.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9743 72102866-910b-0410-8b05-ffd578937521
2001-04-29 22:30:52 +00:00
Fred Kiefer
e225933b16 Call GSWSetViewIsFlipped instead of GSWViewIsFlipped.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9742 72102866-910b-0410-8b05-ffd578937521
2001-04-29 22:27:10 +00:00
Fred Kiefer
c37687a6f4 Moved the old text functions from backend to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9741 72102866-910b-0410-8b05-ffd578937521
2001-04-29 22:26:13 +00:00
Fred Kiefer
b157c90845 Use same interface for optimisation methods, as in the subclasses.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9740 72102866-910b-0410-8b05-ffd578937521
2001-04-29 22:25:29 +00:00
Fred Kiefer
9c010a5239 Added GSWViewIsFlipped and changed GSWSetViewIsFlipped_.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9739 72102866-910b-0410-8b05-ffd578937521
2001-04-29 22:24:40 +00:00
Fred Kiefer
b6c447c58d .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9737 72102866-910b-0410-8b05-ffd578937521
2001-04-28 14:03:45 +00:00
Fred Kiefer
e6588ee092 Undid last change, as this is now obsolete.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9735 72102866-910b-0410-8b05-ffd578937521
2001-04-28 14:02:31 +00:00
Nicola Pero
0a6d78a675 Fixed bug in the table view, which was crashing when a selected row
was removed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9704 72102866-910b-0410-8b05-ffd578937521
2001-04-25 20:41:44 +00:00
Nicola Pero
8e481799f9 Fixed bug occurring when some rows were removed and some of them were
selected.  New code checks for it and deals with it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9703 72102866-910b-0410-8b05-ffd578937521
2001-04-25 20:40:46 +00:00
Mirko Viviani
1f2c4400ab * Source/NSMatrix.m ([NSMatrix -_mouseDownNonListMode:]): does not
performSelector is the mouse goes up in cell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9677 72102866-910b-0410-8b05-ffd578937521
2001-04-23 21:06:43 +00:00
Richard Frith-Macdonald
512bbbf9d8 Text storage fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9667 72102866-910b-0410-8b05-ffd578937521
2001-04-23 09:32:45 +00:00
Fred Kiefer
4b712d42ac ..
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9663 72102866-910b-0410-8b05-ffd578937521
2001-04-22 23:02:21 +00:00
Fred Kiefer
d8c9b93041 Also replaced GMModel with NSBundle in [init].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9662 72102866-910b-0410-8b05-ffd578937521
2001-04-22 23:01:23 +00:00