[retro-gtk] video-fitler: Add the count value
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk] video-fitler: Add the count value
- Date: Thu, 16 Nov 2017 06:54:41 +0000 (UTC)
commit e5990568d4c72a545270219fce85eca1e61afa0c
Author: Adrien Plazas <kekun plazas laposte net>
Date: Sun Oct 15 09:36:05 2017 +0200
video-fitler: Add the count value
This will be used in the next commit to loop through all the video
filter types.
retro-gtk/retro-video-filter.c | 1 +
retro-gtk/retro-video-filter.h | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/retro-gtk/retro-video-filter.c b/retro-gtk/retro-video-filter.c
index cbff527..e98efb2 100644
--- a/retro-gtk/retro-video-filter.c
+++ b/retro-gtk/retro-video-filter.c
@@ -41,6 +41,7 @@ retro_video_filter_get_type (void)
static const GEnumValue values[] = {
{ RETRO_VIDEO_FILTER_SMOOTH, "RETRO_VIDEO_FILTER_SMOOTH", "smooth" },
{ RETRO_VIDEO_FILTER_SHARP, "RETRO_VIDEO_FILTER_SHARP", "sharp" },
+ { RETRO_VIDEO_FILTER_COUNT, "RETRO_VIDEO_FILTER_COUNT", "count" },
{ 0, NULL, NULL },
};
GType type;
diff --git a/retro-gtk/retro-video-filter.h b/retro-gtk/retro-video-filter.h
index 7eb6f53..dab9070 100644
--- a/retro-gtk/retro-video-filter.h
+++ b/retro-gtk/retro-video-filter.h
@@ -19,6 +19,7 @@ GType retro_video_filter_get_type (void) G_GNUC_CONST;
* RetroVideoFilter:
* @RETRO_VIDEO_FILTER_SMOOTH: a smooth but blurry video filer
* @RETRO_VIDEO_FILTER_SHARP: a sharp video filter showing every pixel
+ * @RETRO_VIDEO_FILTER_COUNT: the number of video filters
*
* Represents the filters that can be applied to the video output.
*/
@@ -26,6 +27,7 @@ typedef enum
{
RETRO_VIDEO_FILTER_SMOOTH,
RETRO_VIDEO_FILTER_SHARP,
+ RETRO_VIDEO_FILTER_COUNT,
} RetroVideoFilter;
RetroVideoFilter retro_video_filter_from_string (const gchar *filter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]