equal
deleted
inserted
replaced
1 // widget_input.ysl2 |
1 // widget_input.ysl2 |
2 |
2 |
|
3 widget_desc("Input") { |
|
4 longdesc |
|
5 || |
|
6 Input widget takes one variable path, and displays current value in |
|
7 optional "value" labeled sub-element. Click on optional "edit" labeled |
|
8 element opens keypad to edit value. Operation on current value is |
|
9 performed when click on sub-elements with label starting with '=', '+' |
|
10 or '-' sign. Value after sign is used as operand. |
|
11 || |
3 |
12 |
|
13 shortdesc > Input field with predefined operation buttons |
4 |
14 |
|
15 arg accepts="string" > optional printf-like format |
5 |
16 |
|
17 path accepts="HMI_INT, HMI_REAL, HMI_STRING" > single variable to edit |
|
18 |
6 } |
19 } |
7 |
20 |
8 widget_class("Input") |
21 widget_class("Input") |
9 || |
22 || |
10 on_op_click(opstr) { |
23 on_op_click(opstr) { |