Hello
I am recreating the look of Apple's calculator app. I am using a method called
NSDrawNinePartImage()
I am trying to draw inside the text fields cell, so I created a rect called
bounds It looks like this:
This is inside a NSTextFieldCell's drawRect: method. I get an error however saying method bounds not found. Why am I getting this error. Can I not get bounds in a NSTextFieldCell?
Thanks
I am recreating the look of Apple's calculator app. I am using a method called
NSDrawNinePartImage()
I am trying to draw inside the text fields cell, so I created a rect called
bounds It looks like this:
Code:
NSRect bounds = [self bounds];
This is inside a NSTextFieldCell's drawRect: method. I get an error however saying method bounds not found. Why am I getting this error. Can I not get bounds in a NSTextFieldCell?
Thanks