[retro-gtk] video-filter: Add the CRT value
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk] video-filter: Add the CRT value
- Date: Thu, 16 Nov 2017 06:55:06 +0000 (UTC)
commit 87413e0a5adb5cabdb5d9619d77a3fd760cca8dc
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Nov 16 07:46:40 2017 +0100
video-filter: Add the CRT value
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 e98efb2..dc86d7f 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_CRT, "RETRO_VIDEO_FILTER_CRT", "crt" },
{ RETRO_VIDEO_FILTER_COUNT, "RETRO_VIDEO_FILTER_COUNT", "count" },
{ 0, NULL, NULL },
};
diff --git a/retro-gtk/retro-video-filter.h b/retro-gtk/retro-video-filter.h
index dab9070..9cdb647 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_CRT: a video filter mimicking CRT screens
* @RETRO_VIDEO_FILTER_COUNT: the number of video filters
*
* Represents the filters that can be applied to the video output.
@@ -27,6 +28,7 @@ typedef enum
{
RETRO_VIDEO_FILTER_SMOOTH,
RETRO_VIDEO_FILTER_SHARP,
+ RETRO_VIDEO_FILTER_CRT,
RETRO_VIDEO_FILTER_COUNT,
} RetroVideoFilter;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]