Dear experts,
I can't seem to get the working of it, nor find the answer on the internet :

My goal is to have a panel with a slider when I click on a button from my
main app to change an image, say it's brightness.
So in the subclass of this image, I want some popup action with a nspanel

Any added default component to this does not show the user interaction
effects (buttondown for instance, or a (useless) sliding effect of the
knob).
The lifecycle of my object where I perform these calls lasts during the
entire apllication.

I am aware that actual functionality requires me to implement delegate
functions...
Who can pinpoint my missing link? Many thanks,

JB


>From my subclass of an NSView I call the (simplified) following:
- openHUD {
    [NSButton * button] = <alloc & init>
    [NSWindow * w] = <alloc & init with some style>
    ...
    [[w contentView] addSubview: <button>]
    NSWindowController * nw = [NSWindowController initWithWindow:w];
    [nw showWindow:nil]
}
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to