Commit graph

3153 commits

Author SHA1 Message Date
FredKiefer
bef7f78c48 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
FredKiefer
2cc60288a9 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
1c42ed5bb8 * 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
FredKiefer
174edc62e8 .
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
FredKiefer
7a49124373 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
CaS
bd27fa12ac 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
CaS
9a2711f728 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
fedor
857a4ca025 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
fedor
cb8c83af6d 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
FredKiefer
dc69a8559f .
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
FredKiefer
b9d601ac7a 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
FredKiefer
cc4d2beb72 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
FredKiefer
faee48bffa 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
FredKiefer
c17bc49acc .
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
FredKiefer
0bb86e273d 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
FredKiefer
046f1f19b5 .
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
FredKiefer
af0f3d64f4 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
FredKiefer
0e5fce0086 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
FredKiefer
0bb2eca5a9 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
FredKiefer
322c59a6f4 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
FredKiefer
5b59e1be13 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
FredKiefer
4277d73d03 .
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
FredKiefer
64373ede6f 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
nico
b7a785dc2e 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
nico
5157649c3c 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
b207eef86a * 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
CaS
33cc5feb49 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
FredKiefer
a1beb3a245 ..
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
FredKiefer
44d5bea7bb 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
FredKiefer
6eac6d65c8 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
FredKiefer
79af5108d3 [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
CaS
3b298794cb 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
CaS
e4f6b1c03b 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
CaS
9e852273e7 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
nico
107563cc76 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
nico
536e7cc90d 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
fedor
2e12eecee4 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
8f6950db88 * 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
fedor
dd51dba9d6 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
fedor
d03a6be506 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
fedor
d36bd1251f 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
fedor
af00a6311e 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
fedor
2882908e94 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
nico
42f6e4c7e8 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
nico
c57ffb73a0 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
nico
8ede574bef 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
nico
62d14ce540 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
nico
ebf6a37c31 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
FredKiefer
aa01b42326 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
FredKiefer
e2522b69c0 [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