Dock related functions.
More...
#include <macDockTile.h>
Dock related functions.
Definition at line 30 of file macDockTile.h.
◆ addBadgeToApplicationIcon()
static void macos::DockTile::addBadgeToApplicationIcon |
( |
CGImageRef |
img, |
|
|
const std::string & |
name |
|
) |
| |
|
static |
Add named badge image to application icon (UTF8)
◆ applicationIcon()
static CGImageRef macos::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
◆ removeAllBadgesFromApplicationIcon()
static void macos::DockTile::removeAllBadgesFromApplicationIcon |
( |
| ) |
|
|
static |
Remove all badges from application icon.
◆ removeBadgeFromApplicationIcon()
static void macos::DockTile::removeBadgeFromApplicationIcon |
( |
const std::string & |
name | ) |
|
|
static |
Remove named badge from application icon (UTF8)
◆ setApplicationIcon() [1/2]
static void macos::DockTile::setApplicationIcon |
( |
CGImageRef |
img | ) |
|
|
static |
◆ setApplicationIcon() [2/2]
static void macos::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: