diff options
Diffstat (limited to 'tumbler')
-rw-r--r-- | tumbler/tumbler-thumbnail-flavor.c | 18 | ||||
-rw-r--r-- | tumbler/tumbler-thumbnail-flavor.h | 2 |
2 files changed, 20 insertions, 0 deletions
diff --git a/tumbler/tumbler-thumbnail-flavor.c b/tumbler/tumbler-thumbnail-flavor.c index 0d09dad..7f1594a 100644 --- a/tumbler/tumbler-thumbnail-flavor.c +++ b/tumbler/tumbler-thumbnail-flavor.c @@ -216,6 +216,24 @@ tumbler_thumbnail_flavor_new_large (void) +TumblerThumbnailFlavor * +tumbler_thumbnail_flavor_new_x_large (void) +{ + return g_object_new (TUMBLER_TYPE_THUMBNAIL_FLAVOR, "name", "x-large", + "width", 512, "height", 512, NULL); +} + + + +TumblerThumbnailFlavor * +tumbler_thumbnail_flavor_new_xx_large (void) +{ + return g_object_new (TUMBLER_TYPE_THUMBNAIL_FLAVOR, "name", "xx-large", + "width", 1024, "height", 1024, NULL); +} + + + const gchar * tumbler_thumbnail_flavor_get_name (TumblerThumbnailFlavor *flavor) { diff --git a/tumbler/tumbler-thumbnail-flavor.h b/tumbler/tumbler-thumbnail-flavor.h index c5fae97..80d0019 100644 --- a/tumbler/tumbler-thumbnail-flavor.h +++ b/tumbler/tumbler-thumbnail-flavor.h @@ -47,6 +47,8 @@ TumblerThumbnailFlavor *tumbler_thumbnail_flavor_new (const gchar gint height) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT; TumblerThumbnailFlavor *tumbler_thumbnail_flavor_new_normal (void) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT; TumblerThumbnailFlavor *tumbler_thumbnail_flavor_new_large (void) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT; +TumblerThumbnailFlavor *tumbler_thumbnail_flavor_new_x_large (void) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT; +TumblerThumbnailFlavor *tumbler_thumbnail_flavor_new_xx_large (void) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT; const gchar *tumbler_thumbnail_flavor_get_name (TumblerThumbnailFlavor *flavor); void tumbler_thumbnail_flavor_get_size (TumblerThumbnailFlavor *flavor, gint *width, |