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
Fred Kiefer
be89206db1
Added an [init] method, use this in [sharedColorPanel]. Replaced
...
reference to GMModel, with more general call on NSBundle. (This is
commented out, but some time in the futur we might use NIB files)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9661 72102866-910b-0410-8b05-ffd578937521
2001-04-22 23:00:40 +00:00
Fred Kiefer
69b40d2270
[initialize] call [NSUserDefaults standardUserDefaults] as a
...
workaround for the setlocal() problem. Otherwise colorFromString:
will fail later on for the system colours.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9660 72102866-910b-0410-8b05-ffd578937521
2001-04-22 22:59:52 +00:00
Richard Frith-Macdonald
6b1e2ed8ff
Fix for property lists color descriptions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9657 72102866-910b-0410-8b05-ffd578937521
2001-04-22 11:07:11 +00:00
Richard Frith-Macdonald
5d695fe3fe
Fix for loading color lists from file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9656 72102866-910b-0410-8b05-ffd578937521
2001-04-22 10:44:40 +00:00
Richard Frith-Macdonald
b3856d6423
iPermit provision of services to self.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9618 72102866-910b-0410-8b05-ffd578937521
2001-04-18 09:25:39 +00:00
Nicola Pero
515d897141
Fixed memory problem in the gmodel code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9617 72102866-910b-0410-8b05-ffd578937521
2001-04-17 22:19:19 +00:00
Nicola Pero
5c0c96e081
Fixed memory problem - destinations are not supposed to be retained
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9616 72102866-910b-0410-8b05-ffd578937521
2001-04-17 22:17:35 +00:00
Adam Fedor
7394190039
Set visible flag to NO on miniaturize
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9595 72102866-910b-0410-8b05-ffd578937521
2001-04-17 03:17:23 +00:00
Mirko Viviani
f005f68b2c
* Source/NSButtonCell.m ([NSButtonCell -drawInteriorWithFrame:
...
inView:]): fix mask if cell is highlighted and it isn't in off state.
* Source/NSCell.m ([NSCell -trackMouse:inRect:ofView:untilMouseUp:]):
set next cell state and send action after -stopTracking:
* Source/NSBrowser.m ([NSBrowser -keyDown:]): does nothing for arrow up
and down.
([NSBrowser -moveUp:]): removed.
([NSBrowser -moveDown:]): removed.
([NSBrowser -_performLoadOfColumn:]): fix matrix creation, enable
matrix autoscroll.
([NSBrowser -_performLoadOfColumn:]): implemented reusesColumns.
* Source/NSMatrix.m ([NSMatrix -keyDown:]): implemented keyboard
navigation.
([NSMatrix -moveUp:]): likewise.
([NSMatrix -moveDown:]): likewise.
([NSMatrix -moveLeft:]): likewise.
([NSMatrix -moveRight:]): likewise.
([NSMatrix -performClick:]): implemented.
([NSMatrix -mouseDown:]): scroll rect only if autoscroll is enabled,
do not hightlight a cell directly but use the matrix method.
Now it handles only NSListModeMatrix mode to reduce complexity
introduced by other modes.
([NSMatrix -_mouseDownNonListMode:]): fixed.
([NSMatrix -highlightCell:atRow:column:]): enable the cell dotted
outline.
([NSMatrix -drawCellAtRow:column:]): likewise.
([NSMatrix -drawRect:]): removed drawing of dotted outline. Rewritten
due to changes in -getRow:column:forPoint:
([NSMatrix -getRow:column:forPoint:]): set row and column to -1 if
point is not inside a cell.
([NSMatrix -_selectCell:atRow:column:]): use mnemonic value for cell
state, does not enable dotted outline and check for nil aCell.
([NSMatrix -selectTextAtRow:column:]): likewise.
([NSMatrix -_setState:highlight:startIndex:endIndex:]): use matrix
highlightCell: method and mnemonic for cell state.
([NSMatrix -deselectAllCells]): likewise.
([NSMatrix -selectAll:]): likewise.
([NSMatrix -setSelectionFrom:to:anchor:highlight:]): likewise.
([NSMatrix -performKeyEquivalent:]): select next cell state.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9594 72102866-910b-0410-8b05-ffd578937521
2001-04-16 19:52:52 +00:00
Adam Fedor
8ea14cc868
Document gstate methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9593 72102866-910b-0410-8b05-ffd578937521
2001-04-16 03:31:59 +00:00
Adam Fedor
b2937b7086
Add comments to releaseGState
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9592 72102866-910b-0410-8b05-ffd578937521
2001-04-16 03:20:07 +00:00
Adam Fedor
7d43bc3311
release the gstate when invalidating coords
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9591 72102866-910b-0410-8b05-ffd578937521
2001-04-16 03:18:04 +00:00
Adam Fedor
e197e9a3c4
Fix imgae compositing - intersect fromRect
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9589 72102866-910b-0410-8b05-ffd578937521
2001-04-14 20:06:13 +00:00
Adam Fedor
1ff4d1c990
Load backend as a bundle.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9580 72102866-910b-0410-8b05-ffd578937521
2001-04-13 20:04:04 +00:00
Nicola Pero
9007f47800
Indented
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9572 72102866-910b-0410-8b05-ffd578937521
2001-04-12 14:20:26 +00:00
Nicola Pero
040f694d58
Fixed memory leak in GMUnarchiver
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9571 72102866-910b-0410-8b05-ffd578937521
2001-04-12 14:12:11 +00:00
Nicola Pero
22bceb3df4
Fixed huge memory leak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9570 72102866-910b-0410-8b05-ffd578937521
2001-04-12 14:11:29 +00:00
Nicola Pero
518cf57a43
Replaced an #import in custom object in model code with #include
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9569 72102866-910b-0410-8b05-ffd578937521
2001-04-12 14:08:11 +00:00
Nicola Pero
dcfb1df1a9
Indented - replace an import with an include
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9568 72102866-910b-0410-8b05-ffd578937521
2001-04-12 14:07:13 +00:00
Fred Kiefer
93df5a9fa4
ee text
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9546 72102866-910b-0410-8b05-ffd578937521
2001-04-09 21:30:24 +00:00
Fred Kiefer
f1ca42b9ea
[initWithFrame:] removed superflous [setCell:] call, as this gets
...
one in the super implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9545 72102866-910b-0410-8b05-ffd578937521
2001-04-09 21:29:35 +00:00