summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_code.c
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2017-12-05 23:21:11 +0000
committerAndy Williams <andy@andywilliams.me>2017-12-07 23:39:49 +0000
commit1a5d6fa93ad35de94ddb19664336eee1050d980c (patch)
treea8eb5536ea0fb957920fddf106212638446f9bd1 /src/bin/elementary/test_code.c
parent535fa0e8f139a0939e2e1c6deaf26f9aee54dcde (diff)
elm_code: Adding initial support for alpha channel
Diffstat (limited to '')
-rw-r--r--src/bin/elementary/test_code.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/elementary/test_code.c b/src/bin/elementary/test_code.c
index b05240c1af..81b68812a8 100644
--- a/src/bin/elementary/test_code.c
+++ b/src/bin/elementary/test_code.c
@@ -10,6 +10,7 @@ static Evas_Object *_test_code_win_create(const char *id, const char *name)
10 win = elm_win_add(NULL, id, ELM_WIN_BASIC); 10 win = elm_win_add(NULL, id, ELM_WIN_BASIC);
11 elm_win_title_set(win, name); 11 elm_win_title_set(win, name);
12 elm_win_autodel_set(win, EINA_TRUE); 12 elm_win_autodel_set(win, EINA_TRUE);
13 elm_win_alpha_set(win, EINA_TRUE);
13 14
14 evas_object_resize(win, 360 * elm_config_scale_get(), 220 * elm_config_scale_get()); 15 evas_object_resize(win, 360 * elm_config_scale_get(), 220 * elm_config_scale_get());
15 return win; 16 return win;
@@ -95,6 +96,7 @@ _elm_code_test_editor_setup(Evas_Object *parent, Eina_Bool log)
95 elm_obj_code_widget_editable_set(widget, EINA_TRUE); 96 elm_obj_code_widget_editable_set(widget, EINA_TRUE);
96 elm_obj_code_widget_show_whitespace_set(widget, EINA_TRUE); 97 elm_obj_code_widget_show_whitespace_set(widget, EINA_TRUE);
97 elm_obj_code_widget_line_numbers_set(widget, EINA_TRUE); 98 elm_obj_code_widget_line_numbers_set(widget, EINA_TRUE);
99 elm_obj_code_widget_alpha_set(widget, 200);
98 100
99 if (!log) 101 if (!log)
100 { 102 {