Re: NSMatrix Opacity ?
Re: NSMatrix Opacity ?
- Subject: Re: NSMatrix Opacity ?
- From: "Lizardo H. C. M. Nunes" <email@hidden>
- Date: Mon, 08 Oct 2001 13:07:17 -0200
Well, I've just omitted the methods:
- (BOOL)drawsBackground
and
- (BOOL)drawsCellBackground.
By the way, can I set the thickness of the border?
Regards,
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)
P.S.: I realize that I couldn't make myself clear and I apologize. I'm
learning Cocoa in my spare time and I use to post to this list too late at
night...
>
From: "Lizardo H. C. M. Nunes" <email@hidden>
>
To: email@hidden
>
Subject: NSMatrix Opacity ?
>
Date: Mon, Oct 8, 2001, 2:06 AM
>
>
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