src/gtkutils.h

changeset 13110
052e717c7281
parent 13091
b5ed878998dd
child 13281
3558cb15ebb9
equal deleted inserted replaced
13109:c5801934af5c 13110:052e717c7281
355 * Returns the base image to represent the account, based on 355 * Returns the base image to represent the account, based on
356 * the currently selected theme. 356 * the currently selected theme.
357 * 357 *
358 * @param account The account. 358 * @param account The account.
359 * @param scale_factor The amount to scale to the original image. 359 * @param scale_factor The amount to scale to the original image.
360 * The default size is 30x30 pixels. A scale 360 * The default size is 32x32 pixels. A scale
361 * factor of 1 means no scaling will be done. 361 * factor of 1 means no scaling will be done.
362 * A scale factor of 0.5 means the length 362 * A scale factor of 0.5 means the length
363 * and width will be 15 pixels each. 363 * and width will be 16 pixels each.
364 * 364 *
365 * @return A newly-created pixbuf with a reference count of 1, 365 * @return A newly-created pixbuf with a reference count of 1,
366 * or NULL if any of several error conditions occurred: 366 * or NULL if any of several error conditions occurred:
367 * the file could not be opened, there was no loader 367 * the file could not be opened, there was no loader
368 * for the file's format, there was not enough memory 368 * for the file's format, there was not enough memory
376 * the lower right corner. 376 * the lower right corner.
377 * 377 *
378 * @param account The account. 378 * @param account The account.
379 * @param status_type The status type of the emblem to overlay. 379 * @param status_type The status type of the emblem to overlay.
380 * @param scale_factor The amount to scale to the original image. 380 * @param scale_factor The amount to scale to the original image.
381 * The default size is 30x30 pixels. A scale 381 * The default size is 32x32 pixels. A scale
382 * factor of 1 means no scaling will be done. 382 * factor of 1 means no scaling will be done.
383 * A scale factor of 0.5 means the length 383 * A scale factor of 0.5 means the length
384 * and width will be 15 pixels each. 384 * and width will be 16 pixels each.
385 * 385 *
386 * @return A newly-created pixbuf with a reference count of 1, 386 * @return A newly-created pixbuf with a reference count of 1,
387 * or NULL if any of several error conditions occurred: 387 * or NULL if any of several error conditions occurred:
388 * the file could not be opened, there was no loader 388 * the file could not be opened, there was no loader
389 * for the file's format, there was not enough memory 389 * for the file's format, there was not enough memory
396 * Create a Gaim running-man icon with the status emblem overlayed 396 * Create a Gaim running-man icon with the status emblem overlayed
397 * in the lower right corner. 397 * in the lower right corner.
398 * 398 *
399 * @param status_type The status type to set the emblem for. 399 * @param status_type The status type to set the emblem for.
400 * @param scale_factor The amount to scale to the original image. 400 * @param scale_factor The amount to scale to the original image.
401 * The default size is 30x30 pixels. A scale 401 * The default size is 32x32 pixels. A scale
402 * factor of 1 means no scaling will be done. 402 * factor of 1 means no scaling will be done.
403 * A scale factor of 0.5 means the length 403 * A scale factor of 0.5 means the length
404 * and width will be 15 pixels each. 404 * and width will be 16 pixels each.
405 * 405 *
406 * @return A newly-created pixbuf with a reference count of 1, 406 * @return A newly-created pixbuf with a reference count of 1,
407 * or NULL if any of several error conditions occurred: 407 * or NULL if any of several error conditions occurred:
408 * the file could not be opened, there was no loader for 408 * the file could not be opened, there was no loader for
409 * the file's format, there was not enough memory to 409 * the file's format, there was not enough memory to

mercurial