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.
3670
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
     1
#import <Adium/AIContactAlertsControllerProtocol.h>
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
     2
#import <Adium/AIContactObserverManager.h>
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
     3
#import <Adium/AIChatControllerProtocol.h>
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
     4
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
     5
#define DOCK_OVERLAY_ALERT_IDENTIFIER		@"DockOverlay"
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
     6
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
     7
@interface AIDockNameOverlay : AIPlugin <AIActionHandler, AIListObjectObserver, AIChatObserver> {
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
     8
@private
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
     9
	NSMutableArray *overlayObjectsArray;
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
    10
	
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
    11
	NSColor *signedOffColor;
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
    12
	NSColor *signedOnColor;
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
    13
	NSColor *unviewedContentColor;
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
    14
	
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
    15
	NSColor *backSignedOffColor;
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
    16
	NSColor *backSignedOnColor;
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
    17
	NSColor *backUnviewedContentColor;
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
    18
}
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
    19
add0c83648a5 Massive changes to dock icon drawing:
Frank Dowsett <wixardy@adium.im>
parents:
diff changeset
    20
@end