summaryrefslogtreecommitdiff
path: root/src/bin/ephoto_color.c
diff options
context:
space:
mode:
authorStephen 'Okra' Houston <smhouston88@gmail.com>2017-03-28 12:09:18 -0500
committerStephen 'Okra' Houston <smhouston88@gmail.com>2017-03-28 12:09:18 -0500
commit2639e5b1ad2078d22d60f94cd2c1b140502fc800 (patch)
tree53dfed73a4496a19c7e90a6f5e52cafbc2148db4 /src/bin/ephoto_color.c
parent5cbf023d1db850b9a28410e886ba1ba1403d3553 (diff)
Ephoto: In preparation for release, remove the overlapping autohide panels per overwhelming user requests.
Diffstat (limited to 'src/bin/ephoto_color.c')
-rw-r--r--src/bin/ephoto_color.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/bin/ephoto_color.c b/src/bin/ephoto_color.c
index d7b4ff8..fa0c748 100644
--- a/src/bin/ephoto_color.c
+++ b/src/bin/ephoto_color.c
@@ -347,8 +347,9 @@ ephoto_color_add(Ephoto *ephoto, Evas_Object *main, Evas_Object *parent, Evas_Ob
347 elm_slider_step_set(slider, 1); 347 elm_slider_step_set(slider, 1);
348 elm_slider_value_set(slider, 0); 348 elm_slider_value_set(slider, 0);
349 elm_slider_unit_format_set(slider, "%1.0f"); 349 elm_slider_unit_format_set(slider, "%1.0f");
350 evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, EVAS_HINT_FILL); 350 elm_slider_indicator_format_set(slider, "%1.0f");
351 evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5); 351 EPHOTO_WEIGHT(slider, EVAS_HINT_EXPAND, 0.0);
352 EPHOTO_ALIGN(slider, EVAS_HINT_FILL, 0.5);
352 evas_object_smart_callback_add(slider, "delay,changed", 353 evas_object_smart_callback_add(slider, "delay,changed",
353 _blue_slider_changed, eco); 354 _blue_slider_changed, eco);
354 elm_box_pack_start(eco->editor, slider); 355 elm_box_pack_start(eco->editor, slider);
@@ -361,8 +362,9 @@ ephoto_color_add(Ephoto *ephoto, Evas_Object *main, Evas_Object *parent, Evas_Ob
361 elm_slider_step_set(slider, 1); 362 elm_slider_step_set(slider, 1);
362 elm_slider_value_set(slider, 0); 363 elm_slider_value_set(slider, 0);
363 elm_slider_unit_format_set(slider, "%1.0f"); 364 elm_slider_unit_format_set(slider, "%1.0f");
364 evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, EVAS_HINT_FILL); 365 elm_slider_indicator_format_set(slider, "%1.0f");
365 evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5); 366 EPHOTO_WEIGHT(slider, EVAS_HINT_EXPAND, 0.0);
367 EPHOTO_ALIGN(slider, EVAS_HINT_FILL, 0.5);
366 evas_object_smart_callback_add(slider, "delay,changed", 368 evas_object_smart_callback_add(slider, "delay,changed",
367 _green_slider_changed, eco); 369 _green_slider_changed, eco);
368 elm_box_pack_start(eco->editor, slider); 370 elm_box_pack_start(eco->editor, slider);
@@ -375,8 +377,9 @@ ephoto_color_add(Ephoto *ephoto, Evas_Object *main, Evas_Object *parent, Evas_Ob
375 elm_slider_step_set(slider, 1); 377 elm_slider_step_set(slider, 1);
376 elm_slider_value_set(slider, 0); 378 elm_slider_value_set(slider, 0);
377 elm_slider_unit_format_set(slider, "%1.0f"); 379 elm_slider_unit_format_set(slider, "%1.0f");
378 evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, EVAS_HINT_FILL); 380 elm_slider_indicator_format_set(slider, "%1.0f");
379 evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5); 381 EPHOTO_WEIGHT(slider, EVAS_HINT_EXPAND, 0.0);
382 EPHOTO_ALIGN(slider, EVAS_HINT_FILL, 0.5);
380 evas_object_smart_callback_add(slider, "delay,changed", 383 evas_object_smart_callback_add(slider, "delay,changed",
381 _red_slider_changed, eco); 384 _red_slider_changed, eco);
382 elm_box_pack_start(eco->editor, slider); 385 elm_box_pack_start(eco->editor, slider);