MeVisLabToolboxReference
macx::DockTile Class Reference

Dock related functions. More...

#include <macDockTile.h>

List of all members.

Static Public Member Functions

static void setApplicationIcon (CGImageRef img)
 Set application icon.
static void setApplicationIcon (const std::string &iconFileName)
 Set application icon (UTF8)
static CGImageRef applicationIcon (unsigned int widthAndHeight=0)
 Get application icon. widthAndHeight is a proposed value used to guide the selection of the returned CGImage.
static void addBadgeToApplicationIcon (CGImageRef img, const std::string &name)
 Add named badge image to application icon (UTF8)
static void removeBadgeFromApplicationIcon (const std::string &name)
 Remove named badge from application icon (UTF8)
static void removeAllBadgesFromApplicationIcon ()
 Remove all badges from application icon.

Detailed Description

Dock related functions.

Definition at line 20 of file macDockTile.h.


Member Function Documentation

static void macx::DockTile::addBadgeToApplicationIcon ( CGImageRef  img,
const std::string &  name 
) [static]

Add named badge image to application icon (UTF8)

static CGImageRef macx::DockTile::applicationIcon ( unsigned int  widthAndHeight = 0) [static]

Get application icon. widthAndHeight is a proposed value used to guide the selection of the returned CGImage.

There's nothing guaranteed about the characteristics of the returned CGImage

static void macx::DockTile::removeAllBadgesFromApplicationIcon ( ) [static]

Remove all badges from application icon.

static void macx::DockTile::removeBadgeFromApplicationIcon ( const std::string &  name) [static]

Remove named badge from application icon (UTF8)

static void macx::DockTile::setApplicationIcon ( CGImageRef  img) [static]

Set application icon.

static void macx::DockTile::setApplicationIcon ( const std::string &  iconFileName) [static]

Set application icon (UTF8)

The icon is looked up in the application bundle's resources folder


The documentation for this class was generated from the following file: