Plugins/Dock Icon Badging/AIDockNameOverlay.h
author Frank Dowsett <wixardy@adium.im>
Fri, 18 Feb 2011 15:44:06 -0500
changeset 3670 add0c83648a5
permissions -rw-r--r--
Massive changes to dock icon drawing:
- Use NSDockTile for badging fixes #13439
- Remove flashing of the contact name* fixes #14452
- Use a constant size instead of the current screen's size fixes #13088

Fixes #616

*It's superfluous and may have been broken in 1.3 based on the reports from after 1.4 was released.
#import <Adium/AIContactAlertsControllerProtocol.h>
#import <Adium/AIContactObserverManager.h>
#import <Adium/AIChatControllerProtocol.h>

#define DOCK_OVERLAY_ALERT_IDENTIFIER		@"DockOverlay"

@interface AIDockNameOverlay : AIPlugin <AIActionHandler, AIListObjectObserver, AIChatObserver> {
@private
	NSMutableArray *overlayObjectsArray;
	
	NSColor *signedOffColor;
	NSColor *signedOnColor;
	NSColor *unviewedContentColor;
	
	NSColor *backSignedOffColor;
	NSColor *backSignedOnColor;
	NSColor *backUnviewedContentColor;
}

@end