NSMatrix Opacity ?
NSMatrix Opacity ?
- Subject: NSMatrix Opacity ?
- From: "Lizardo H. C. M. Nunes" <email@hidden>
- Date: Mon, 08 Oct 2001 03:06:36 -0200
Hi,
I'm playing around with the AppKit and now I'm studying different kind of
matrixes. A piece of my " MyMatrix.m " is as follows,
- (id)initWithFrame:(NSRect)frameRect
{
( ... )
[ self initWithFrame:frameRect
mode:(int) aMode
prototype: (id) aCell
numberOfRows: (int) anInteger
numberOfColumns: (int) anInteger ];
( ... )
return self;
}
I also have
" -( BOOL )isOpaque{ return YES; } "
Unfortunately, I can't resize the Window without loosing Matrix
definition. I tried
[ self setNeedsDisplay: YES ];
in " -( id )iniWithFrame: ... " above and it didn't work. I'm pretty sure
there's a simple solution, but I couldn't figure it out.
Any help would be great,
Lizardo H. C. M. Nunes
...But we preach Christ crucified, to the Jews a stumbling block, and to the
Greeks foolishness;(...)but God has chosen the foolish things of the world
to confound the wise, and God has chosen the weak things of the world to
confound the things which are strong;(I Cor.1:23&27)