This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository terminology.
View the commit online.
commit f68b02c1826afff9bb5fcafa2087e76d3aed9919
Author: Boris Faure <[email protected]>
AuthorDate: Tue Oct 4 22:19:20 2022 +0200
option_background: add opacity label
---
src/bin/options_background.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/bin/options_background.c b/src/bin/options_background.c
index 8218ecb..827eb96 100644
--- a/src/bin/options_background.c
+++ b/src/bin/options_background.c
@@ -521,7 +521,7 @@ _parent_del_cb(void *data,
void
options_background(Evas_Object *opbox, Evas_Object *term)
{
- Evas_Object *o, *bx, *bx_front;
+ Evas_Object *o, *bx, *bx_front, *lbl;
Config *config = termio_config_get(term);
char path[PATH_MAX];
Background_Ctx *ctx;
@@ -558,6 +558,14 @@ options_background(Evas_Object *opbox, Evas_Object *term)
evas_object_smart_callback_add(o, "changed",
_cb_op_video_trans_chg, ctx);
+ OPTIONS_SEPARATOR;
+ lbl = elm_label_add(bx);
+ evas_object_size_hint_weight_set(lbl, EVAS_HINT_EXPAND, 0.0);
+ evas_object_size_hint_align_set(lbl, 0.0, 0.0);
+ elm_layout_text_set(lbl, NULL, _("Opacity:"));
+ elm_box_pack_end(bx, lbl);
+ evas_object_show(lbl);
+
ctx->op_opacity = o = elm_slider_add(opbox);
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, 0.5);
@@ -640,8 +648,6 @@ options_background(Evas_Object *opbox, Evas_Object *term)
elm_box_pack_end(bx_front, o);
evas_object_show(o);
-
-
o = elm_fileselector_add(opbox);
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(o, EVAS_HINT_FILL, EVAS_HINT_FILL);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.