pidgin 2.14.14dev
_PurpleBuddyIconSpec Struct Reference

A description of a Buddy Icon specification. More...

#include <prpl.h>

Collaboration diagram for _PurpleBuddyIconSpec:
Collaboration graph

Data Fields

char * format
 This is a comma-delimited list of image formats or NULL if icons are not supported. More...
 
int min_width
 Minimum width of this icon
More...
 
int min_height
 Minimum height of this icon. More...
 
int max_width
 Maximum width of this icon
More...
 
int max_height
 Maximum height of this icon. More...
 
size_t max_filesize
 Maximum size in bytes. More...
 
PurpleIconScaleRules scale_rules
 How to stretch this icon. More...
 

Detailed Description

A description of a Buddy Icon specification.

This tells Purple what kind of image file it should give this prpl, and what kind of image file it should expect back. Dimensions less than 1 should be ignored and the image not scaled.

Definition at line 85 of file prpl.h.

Field Documentation

◆ format

char* _PurpleBuddyIconSpec::format

This is a comma-delimited list of image formats or NULL if icons are not supported.

Neither the core nor the prpl will actually check to see if the data it's given matches this; it's entirely up to the UI to do what it wants

Definition at line 91 of file prpl.h.

◆ max_filesize

size_t _PurpleBuddyIconSpec::max_filesize

Maximum size in bytes.

Definition at line 97 of file prpl.h.

◆ max_height

int _PurpleBuddyIconSpec::max_height

Maximum height of this icon.

Definition at line 96 of file prpl.h.

◆ max_width

int _PurpleBuddyIconSpec::max_width

Maximum width of this icon

Definition at line 95 of file prpl.h.

◆ min_height

int _PurpleBuddyIconSpec::min_height

Minimum height of this icon.

Definition at line 94 of file prpl.h.

◆ min_width

int _PurpleBuddyIconSpec::min_width

Minimum width of this icon

Definition at line 93 of file prpl.h.

◆ scale_rules

PurpleIconScaleRules _PurpleBuddyIconSpec::scale_rules

How to stretch this icon.

Definition at line 98 of file prpl.h.


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