File: programming/cocoa/UKDockProgressIndicator.zip/UKDockProgressIndicator/UKDockProgressIndicator.m


//
//  UKDockProgressIndicator.m
//  Doublette
//	LICENSE: MIT License
//
//  Created by Uli Kusterer on 30.04.05.
//  Copyright 2005 M. Uli Kusterer. All rights reserved.
//
 
// -----------------------------------------------------------------------------
//	Headers:
// -----------------------------------------------------------------------------
 
#import "UKDockProgressIndicator.h"
// -----------------------------------------------------------------------------
//	NSProgressIndicator-like methods:
// -----------------------------------------------------------------------------
// Call through to associated view if user wants us to.
// Call through to associated view if user wants us to.
// Call through to associated view if user wants us to.
// Call through to associated view if user wants us to.
// Call through to associated view if user wants us to.
// Call through to associated view if user wants us to.
// Progress indicator is being hidden? Reset dock tile to regular icon again:
"NSApplicationIcon"// -----------------------------------------------------------------------------
//	updateDockTile:
//		Main drawing bottleneck. This takes our min, max and current values and
//		draws them onto the dock tile. If the MiniProgressGradient.png image is
//		present, this stretches that image to draw the progress bar.
//
//		If no image is present this falls back on the knob color.
// -----------------------------------------------------------------------------
// App icon:
"NSApplicationIcon"// Track & Outline:
// State fill:
"MiniProgressGradient"

This code uses the PclZip Zip File reading code, which is subject to the GNU LGPL. It also uses the GeSHi syntax highlighter, subject to the GPL. Ask if you want this for your own web site, it's free.