summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-06-15 10:31:25 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-06-15 13:57:45 +0900
commit0911375d5106161b54226299cc0e64980b3f3bd0 (patch)
treee2c9602685ee7813def73d634c1ae89ab4a0010c /src/lib/efl
parentc099ede159a55198949c50606eac1b7b9609476f (diff)
intf: rename progress to range
This is more appropriate name especially on slider widget. ref T5361
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/CMakeLists.txt2
-rw-r--r--src/lib/efl/Efl.h2
-rw-r--r--src/lib/efl/interfaces/efl_interfaces_main.c2
-rw-r--r--src/lib/efl/interfaces/efl_ui_range.eo (renamed from src/lib/efl/interfaces/efl_ui_progress.eo)32
4 files changed, 19 insertions, 19 deletions
diff --git a/src/lib/efl/CMakeLists.txt b/src/lib/efl/CMakeLists.txt
index b0391072dd..1b0500a00a 100644
--- a/src/lib/efl/CMakeLists.txt
+++ b/src/lib/efl/CMakeLists.txt
@@ -52,7 +52,7 @@ set(PUBLIC_EO_FILES
52 interfaces/efl_types.eot 52 interfaces/efl_types.eot
53 interfaces/efl_ui_item.eo 53 interfaces/efl_ui_item.eo
54 interfaces/efl_ui_menu.eo 54 interfaces/efl_ui_menu.eo
55 interfaces/efl_ui_progress.eo 55 interfaces/efl_ui_range.eo
56 interfaces/efl_ui_spin.eo 56 interfaces/efl_ui_spin.eo
57 interfaces/efl_ui_autorepeat.eo 57 interfaces/efl_ui_autorepeat.eo
58 interfaces/efl_vpath.eo 58 interfaces/efl_vpath.eo
diff --git a/src/lib/efl/Efl.h b/src/lib/efl/Efl.h
index 840f6eae89..4e7fbd6810 100644
--- a/src/lib/efl/Efl.h
+++ b/src/lib/efl/Efl.h
@@ -86,7 +86,7 @@ typedef Efl_Gfx_Path_Command_Type Efl_Gfx_Path_Command;
86#include "interfaces/efl_ui_base.eo.h" 86#include "interfaces/efl_ui_base.eo.h"
87#include "interfaces/efl_ui_drag.eo.h" 87#include "interfaces/efl_ui_drag.eo.h"
88#include "interfaces/efl_ui_spin.eo.h" 88#include "interfaces/efl_ui_spin.eo.h"
89#include "interfaces/efl_ui_progress.eo.h" 89#include "interfaces/efl_ui_range.eo.h"
90#include "interfaces/efl_ui_item.eo.h" 90#include "interfaces/efl_ui_item.eo.h"
91#include "interfaces/efl_ui_menu.eo.h" 91#include "interfaces/efl_ui_menu.eo.h"
92#include "interfaces/efl_ui_autorepeat.eo.h" 92#include "interfaces/efl_ui_autorepeat.eo.h"
diff --git a/src/lib/efl/interfaces/efl_interfaces_main.c b/src/lib/efl/interfaces/efl_interfaces_main.c
index 9ea0cd2dd5..202be589c7 100644
--- a/src/lib/efl/interfaces/efl_interfaces_main.c
+++ b/src/lib/efl/interfaces/efl_interfaces_main.c
@@ -53,7 +53,7 @@
53#include "interfaces/efl_ui_base.eo.c" 53#include "interfaces/efl_ui_base.eo.c"
54#include "interfaces/efl_ui_drag.eo.c" 54#include "interfaces/efl_ui_drag.eo.c"
55#include "interfaces/efl_ui_spin.eo.c" 55#include "interfaces/efl_ui_spin.eo.c"
56#include "interfaces/efl_ui_progress.eo.c" 56#include "interfaces/efl_ui_range.eo.c"
57#include "interfaces/efl_ui_menu.eo.c" 57#include "interfaces/efl_ui_menu.eo.c"
58#include "interfaces/efl_ui_autorepeat.eo.c" 58#include "interfaces/efl_ui_autorepeat.eo.c"
59#include "interfaces/efl_ui_item.eo.c" 59#include "interfaces/efl_ui_item.eo.c"
diff --git a/src/lib/efl/interfaces/efl_ui_progress.eo b/src/lib/efl/interfaces/efl_ui_range.eo
index 9f12301831..b9eb9d5113 100644
--- a/src/lib/efl/interfaces/efl_ui_progress.eo
+++ b/src/lib/efl/interfaces/efl_ui_range.eo
@@ -1,12 +1,12 @@
1interface Efl.Ui.Progress 1interface Efl.Ui.Range
2{ 2{
3 [[Efl UI progress interface]] 3 [[Efl UI progress interface]]
4 methods { 4 methods {
5 @property span_size { 5 @property span_size {
6 [[Control the (exact) length of the bar region of a given progress widget 6 [[Control the (exact) length of the bar region of a given range widget
7 7
8 This sets the minimum width (when in horizontal mode) or height 8 This sets the minimum width (when in horizontal mode) or height
9 (when in vertical mode) of the actual bar area of the progress 9 (when in vertical mode) of the actual bar area of the range
10 bar $obj. This in turn affects the object's minimum size. Use 10 bar $obj. This in turn affects the object's minimum size. Use
11 this when you're not setting other size hints expanding on the 11 this when you're not setting other size hints expanding on the
12 given direction (like weight and alignment hints) and you would 12 given direction (like weight and alignment hints) and you would
@@ -20,34 +20,34 @@ interface Efl.Ui.Progress
20 get { 20 get {
21 } 21 }
22 values { 22 values {
23 size: int; [[The length of the progress's bar region]] 23 size: int; [[The length of the range's bar region]]
24 } 24 }
25 } 25 }
26 @property progress_value { 26 @property range_value {
27 [[Control the progress value (in percentage) on a given progress widget 27 [[Control the range value (in percentage) on a given range widget
28 28
29 Use this call to set progress levels. 29 Use this call to set range levels.
30 30
31 Note: If you pass a value out of the specified range for 31 Note: If you pass a value out of the specified interval for
32 $val, it will be interpreted as the closest of the boundary 32 $val, it will be interpreted as the closest of the boundary
33 values in the range.]] 33 values in the interval.]]
34 set { 34 set {
35 } 35 }
36 get { 36 get {
37 } 37 }
38 values { 38 values {
39 val: double; [[The progress value (must be between $0.0 and 1.0)]] 39 val: double; [[The range value (must be between $0.0 and 1.0)]]
40 } 40 }
41 } 41 }
42 @property progress_min_max { 42 @property range_min_max {
43 set { 43 set {
44 [[Set the minimum and maximum values for given progress widget. 44 [[Set the minimum and maximum values for given range widget.
45 45
46 Define the allowed range of values to be selected by the user. 46 Define the allowed range of values to be selected by the user.
47 47
48 If actual value is less than $min, it will be updated to $min. 48 If actual value is less than $min, it will be updated to $min.
49 If it is bigger then $max, will be updated to $max. Actual value 49 If it is bigger then $max, will be updated to $max. Actual value
50 can be get with @Efl.Ui.Progress.progress_value.get 50 can be get with @Efl.Ui.Range.range_value.get
51 51
52 By default, min is equal to 0.0, and max is equal to 1.0. 52 By default, min is equal to 0.0, and max is equal to 1.0.
53 53
@@ -56,7 +56,7 @@ interface Efl.Ui.Progress
56 ]] 56 ]]
57 } 57 }
58 get { 58 get {
59 [[Get the minimum and maximum values of the given progress widget. 59 [[Get the minimum and maximum values of the given range widget.
60 60
61 Note: If only one value is needed, the other pointer can be passed 61 Note: If only one value is needed, the other pointer can be passed
62 as $null. 62 as $null.
@@ -68,7 +68,7 @@ interface Efl.Ui.Progress
68 } 68 }
69 } 69 }
70 @property unit_format { 70 @property unit_format {
71 [[Control the format string for a given progress widget's units label 71 [[Control the format string for a given range widget's units label
72 72
73 If $NULL is passed on $format, it will make $obj's units 73 If $NULL is passed on $format, it will make $obj's units
74 area to be hidden completely. If not, it'll set the <b>format 74 area to be hidden completely. If not, it'll set the <b>format
@@ -78,7 +78,7 @@ interface Efl.Ui.Progress
78 optional. Use a format string such as "%1.2f meters" for 78 optional. Use a format string such as "%1.2f meters" for
79 example. 79 example.
80 80
81 Note: The default format string for a progress is an integer 81 Note: The default format string for a range is an integer
82 percentage, as in $"%.0f %%".]] 82 percentage, as in $"%.0f %%".]]
83 set { 83 set {
84 } 84 }