summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-10-17 15:45:50 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-10-17 17:16:45 +0900
commit85d4a618a7cefad115cd569d45a3383c6dba56a2 (patch)
tree97320601fd7050f69c898c85936c2a687ff28eee /src/lib/efl
parent5798e226d5a583469741aba8054d44e2fa796bea (diff)
slider/progressbar: implement format_string of Efl.Ui.Format
remove the unit_format from Efl.Ui.Range.
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_ui_format.eo6
-rw-r--r--src/lib/efl/interfaces/efl_ui_range.eo21
2 files changed, 2 insertions, 25 deletions
diff --git a/src/lib/efl/interfaces/efl_ui_format.eo b/src/lib/efl/interfaces/efl_ui_format.eo
index 4d02d30a7e..38d51c18bd 100644
--- a/src/lib/efl/interfaces/efl_ui_format.eo
+++ b/src/lib/efl/interfaces/efl_ui_format.eo
@@ -12,7 +12,7 @@ interface Efl.Ui.Format
12{ 12{
13 [[interface class for format_func]] 13 [[interface class for format_func]]
14 methods { 14 methods {
15 @property format_cb @protected { 15 @property format_cb {
16 set { 16 set {
17 [[Set the format function pointer to format the string. 17 [[Set the format function pointer to format the string.
18 ]] 18 ]]
@@ -21,7 +21,7 @@ interface Efl.Ui.Format
21 func: Efl.Ui.Format_Func_Cb @nullable; [[The format function callback]] 21 func: Efl.Ui.Format_Func_Cb @nullable; [[The format function callback]]
22 } 22 }
23 } 23 }
24 @property format_string @protected { 24 @property format_string {
25 [[Control the format string for a given units label 25 [[Control the format string for a given units label
26 26
27 If $NULL is passed on $format, it will make $obj's units 27 If $NULL is passed on $format, it will make $obj's units
@@ -34,8 +34,6 @@ interface Efl.Ui.Format
34 Note: The default format string is an integer percentage, 34 Note: The default format string is an integer percentage,
35 as in $"%.0f %%". 35 as in $"%.0f %%".
36 ]] 36 ]]
37 set {
38 }
39 values { 37 values {
40 units: string @nullable; [[The format string for $obj's units label.]] 38 units: string @nullable; [[The format string for $obj's units label.]]
41 } 39 }
diff --git a/src/lib/efl/interfaces/efl_ui_range.eo b/src/lib/efl/interfaces/efl_ui_range.eo
index 6b9edd8a17..a13ce57c5b 100644
--- a/src/lib/efl/interfaces/efl_ui_range.eo
+++ b/src/lib/efl/interfaces/efl_ui_range.eo
@@ -46,26 +46,5 @@ interface Efl.Ui.Range
46 max: double; [[The maximum value.]] 46 max: double; [[The maximum value.]]
47 } 47 }
48 } 48 }
49 @property range_unit_format {
50 [[Control the format string for a given range widget's units label
51
52 If $NULL is passed on $format, it will make $obj's units
53 area to be hidden completely. If not, it'll set the <b>format
54 string</b> for the units label's text. The units label is
55 provided a floating point value, so the units text is up display
56 at most one floating point value. Note that the units label is
57 optional. Use a format string such as "%1.2f meters" for
58 example.
59
60 Note: The default format string for a range is an integer
61 percentage, as in $"%.0f %%".]]
62 set {
63 }
64 get {
65 }
66 values {
67 units: string @nullable; [[The format string for $obj's units label]]
68 }
69 }
70 } 49 }
71} 50}