FROM : M. Uli Kusterer
DATE : Sun Apr 03 09:32:04 2005
At 19:12 Uhr -0500 02.04.2005, Joannou Ng wrote:
>If I'm not willing to wait? Regardless, the app needs to run on Panther.
>
>I've never rolled my own views. How difficult would it be to roll my
>own QuotaBar?
I sadly can't get it to show up without registering for a .Mac
account, so I can't actually see the thing. If you could describe the
thing more precisely, I could give you more exact info.
That said, I suppose it's some kind of bar graph or pie chart that
simply displays what you've used certain parts of your total quota
for? In that case, it'd be easy: xCode has templates for creating a
new NSView subclass, and you just enter the drawing code into its
drawRect: method. Use NSBezierPath to do the actual drawing, drag the
view's header into a NIB file, drag a new "custom view" object into
your window and set its "Custom Class" to your class, and it'll be
created. (Or just created manually, whatever makes sense in your case)
I believe I also saw some finished graph and chart classes on the
web somewhere.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
DATE : Sun Apr 03 09:32:04 2005
At 19:12 Uhr -0500 02.04.2005, Joannou Ng wrote:
>If I'm not willing to wait? Regardless, the app needs to run on Panther.
>
>I've never rolled my own views. How difficult would it be to roll my
>own QuotaBar?
I sadly can't get it to show up without registering for a .Mac
account, so I can't actually see the thing. If you could describe the
thing more precisely, I could give you more exact info.
That said, I suppose it's some kind of bar graph or pie chart that
simply displays what you've used certain parts of your total quota
for? In that case, it'd be easy: xCode has templates for creating a
new NSView subclass, and you just enter the drawing code into its
drawRect: method. Use NSBezierPath to do the actual drawing, drag the
view's header into a NIB file, drag a new "custom view" object into
your window and set its "Custom Class" to your class, and it'll be
created. (Or just created manually, whatever makes sense in your case)
I believe I also saw some finished graph and chart classes on the
web somewhere.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
| Related mails | Author | Date |
|---|---|---|
| Joannou Ng | Apr 2, 23:35 | |
| Jonathon Mah | Apr 2, 23:57 | |
| Joannou Ng | Apr 3, 02:12 | |
| M. Uli Kusterer | Apr 3, 09:32 | |
| Scott Anguish | Apr 3, 09:38 | |
| Scott Anguish | Apr 3, 09:41 | |
| Jonathon Mah | Apr 3, 16:09 | |
| Nicko van Someren | Apr 3, 16:36 |






Cocoa mail archive

