Re: Get screen size
Re: Get screen size
- Subject: Re: Get screen size
- From: Ondra Cada <email@hidden>
- Date: Mon, 14 Jan 2002 15:28:24 +0100
Bertrand,
>
>>>>> Bertrand Mansion (BM) wrote at Mon, 14 Jan 2002 14:32:27 +0100:
BM> Thanks. It will compile if I take off the *.
BM> But my problem was actually caused by the NSLog :)
BM> Height and Width are expressed as floats. I didn't know.
Yeah, of course all sizes are real numbers.
For logging, it often is easier to use the standard OpenStep functions than
to format the log manually, like
NSLog(@"box: %@, size %@, place
%@",NSStringFromRect(rr),NSStringFromSize(sz),NSStringFromPoint(pt))
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc