[gtk+] recorder: Show details for blend nodes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] recorder: Show details for blend nodes
- Date: Fri, 29 Sep 2017 01:07:53 +0000 (UTC)
commit 5e4f7301d6f47ad669789a14622d015da922bb86
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Sep 28 19:40:03 2017 -0400
recorder: Show details for blend nodes
gtk/inspector/recorder.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/gtk/inspector/recorder.c b/gtk/inspector/recorder.c
index d8f7bca..19786a9 100644
--- a/gtk/inspector/recorder.c
+++ b/gtk/inspector/recorder.c
@@ -409,6 +409,22 @@ populate_render_node_properties (GtkListStore *store,
}
break;
+ case GSK_BLEND_NODE:
+ {
+ GskBlendMode mode = gsk_blend_node_get_blend_mode (node);
+ const char *text;
+
+ text = g_enum_to_string (GSK_TYPE_BLEND_MODE, mode);
+ gtk_list_store_insert_with_values (store, NULL, -1,
+ 0, "Blendmode",
+ 1, text,
+ 2, FALSE,
+ 3, NULL,
+ -1);
+ g_free (text);
+ }
+ break;
+
default: ;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]