Dockyard > Objective-C Classes > AboutController

AboutController

Class Description


Controls the panel used to about docks. Part of Dockyard's Controller layer in the MVC paradigm, although both decisions (enabling Dashboard switching and the black and white icon) are confirmed via Cocoa Bindings. Currently, this class's only purpose is to disable the Dashboard switch check box on 10.3 systems.

Methods


- setShouldUseBWIcon:

- shouldUseBWIcon

- shouldUseBWIconChanged:

Method Detail


setShouldUseBWIcon:

- (void)setShouldUseBWIcon:(BOOL)newShouldUse

Sets whether the menu extra should use a color icon or a black-and-white one. This is stored in DockyardPreferences as @"MenuExtra:shouldUseBWIcon".

shouldUseBWIcon

- (BOOL)shouldUseBWIcon

Returns YES if the menu extra should use a black and white icon, NO if not.

shouldUseBWIconChanged:

- (void)shouldUseBWIconChanged:(NSNotification *)note

Response to a DockyardDefaultsChangedNotification when the key is @"MenuExtra:shouldUseBWIcon". This method should never be directly invoked.

This page was generated with DocYouMeant, a program created by Belkadan Software

Valid XHTML 1.0! Valid CSS!