Icon Sizes

Icon Sizes — Common icon sizes used by Contacts.

Synopsis

#define             OSSO_ABOOK_PIXEL_SIZE_AVATAR_CHOOSER
#define             OSSO_ABOOK_PIXEL_SIZE_AVATAR_MEDIUM
#define             OSSO_ABOOK_PIXEL_SIZE_AVATAR_DEFAULT
#define             OSSO_ABOOK_PIXEL_SIZE_AVATAR_LARGE
#define             OSSO_ABOOK_ICON_SIZE_AVATAR_CHOOSER
#define             OSSO_ABOOK_ICON_SIZE_AVATAR_MEDIUM
#define             OSSO_ABOOK_ICON_SIZE_AVATAR_DEFAULT
#define             OSSO_ABOOK_ICON_SIZE_AVATAR_LARGE
GtkIconSize         osso_abook_icon_size_avatar_chooser (void);
GtkIconSize         osso_abook_icon_size_avatar_medium  (void);
GtkIconSize         osso_abook_icon_size_avatar_default (void);
GtkIconSize         osso_abook_icon_size_avatar_large   (void);

Description

This module provides common icon sizes used by Contacts.

Details

OSSO_ABOOK_PIXEL_SIZE_AVATAR_CHOOSER

#define OSSO_ABOOK_PIXEL_SIZE_AVATAR_CHOOSER    (106)

The pixel size of the avatar image as used by the the avatar chooser dialog


OSSO_ABOOK_PIXEL_SIZE_AVATAR_MEDIUM

#define OSSO_ABOOK_PIXEL_SIZE_AVATAR_MEDIUM     (128)

The pixel size of a medium avatar image as used by the contact editor


OSSO_ABOOK_PIXEL_SIZE_AVATAR_DEFAULT

#define OSSO_ABOOK_PIXEL_SIZE_AVATAR_DEFAULT    (144)

The pixel size of a default avatar image. This size is used in the contact starter and is the preferred size for storing avatars


OSSO_ABOOK_PIXEL_SIZE_AVATAR_LARGE

#define OSSO_ABOOK_PIXEL_SIZE_AVATAR_LARGE      (216)

The pixel size of a large avatar image as used by the avatar crop tool


OSSO_ABOOK_ICON_SIZE_AVATAR_CHOOSER

#define OSSO_ABOOK_ICON_SIZE_AVATAR_CHOOSER     (osso_abook_icon_size_avatar_chooser ())

Returns : A GtkIconSize for the the avatar image as used by the avatar chooser dialog

OSSO_ABOOK_ICON_SIZE_AVATAR_MEDIUM

#define OSSO_ABOOK_ICON_SIZE_AVATAR_MEDIUM      (osso_abook_icon_size_avatar_medium  ())

Returns : A GtkIconSize for a medium avatar image

OSSO_ABOOK_ICON_SIZE_AVATAR_DEFAULT

#define OSSO_ABOOK_ICON_SIZE_AVATAR_DEFAULT     (osso_abook_icon_size_avatar_default ())

Returns : A GtkIconSize for a default avatar image

OSSO_ABOOK_ICON_SIZE_AVATAR_LARGE

#define OSSO_ABOOK_ICON_SIZE_AVATAR_LARGE       (osso_abook_icon_size_avatar_large   ())

Returns : A GtkIconSize for a large avatar image

osso_abook_icon_size_avatar_chooser ()

GtkIconSize         osso_abook_icon_size_avatar_chooser (void);

osso_abook_icon_size_avatar_medium ()

GtkIconSize         osso_abook_icon_size_avatar_medium  (void);

osso_abook_icon_size_avatar_default ()

GtkIconSize         osso_abook_icon_size_avatar_default (void);

osso_abook_icon_size_avatar_large ()

GtkIconSize         osso_abook_icon_size_avatar_large   (void);