clan::IconSet Class Reference - ClanLib SDK
Description: clan::IconSet Class Reference

Public Member Functions | List of all members
clan::IconSet Class Reference
clanDisplay Display

Icon set class. More...

`#include <icon_set.h>`

## Public Member Functions
| IconSet ()
| Constructs an icon set.
void | add_image (const PixelBuffer &image)
| Adds an image to the icon set.
DataBuffer | create_win32_icon ()
| Generates a Windows .ICO format icon from the set.
std::vector< PixelBuffer > | get_images () const
| Returns all the images in the icon set.

## Detailed Description

Icon set class.

## Constructor & Destructor Documentation

## ◆ IconSet()

clan::IconSet::IconSet | ( |  | ) |

Constructs an icon set.

## Member Function Documentation

## ◆ add_image()

void clan::IconSet::add_image | ( | const PixelBuffer & | image | ) |

Adds an image to the icon set.

## ◆ create_win32_icon()

DataBuffer clan::IconSet::create_win32_icon | ( |  | ) |

Generates a Windows .ICO format icon from the set.

## ◆ get_images()

std::vector< PixelBuffer > clan::IconSet::get_images | ( |  | ) | const

Returns all the images in the icon set.

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

- icon_set.h