mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 20:55:30 +02:00
* Start work on VerticalMenuView changes allowing scrolling views. Lots to go.
This commit is contained in:
parent
a01f5d2f24
commit
cdfb7ce6f2
5 changed files with 85 additions and 32 deletions
|
@ -177,16 +177,19 @@ function ViewController(options) {
|
|||
}
|
||||
}
|
||||
|
||||
setViewProp('items', function(v) { view.setItems(v); });
|
||||
setViewProp('width', function(v) { view.setWidth(parseInt(v, 10)); });
|
||||
setViewProp('height', function(v) { view.setHeight(parseInt(v, 10)); });
|
||||
|
||||
setViewProp('itemSpacing', function(v) { view.setItemSpacing(v); });
|
||||
|
||||
setViewProp('items', function(v) { view.setItems(v); });
|
||||
|
||||
setViewProp('text', function(v) { view.setText(v); });
|
||||
setViewProp('textStyle');
|
||||
setViewProp('focusTextStyle');
|
||||
setViewProp('textMaskChar', function(v) { view.textMaskChar = v.substr(0, 1); });
|
||||
|
||||
setViewProp('maxLength');
|
||||
setViewProp('width', function(v) { view.dimens.width = parseInt(v, 10); });
|
||||
|
||||
|
||||
['styleSGR1', 'styleSGR2'].forEach(function styleSgr(style) {
|
||||
setViewProp(style, function(v) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue