mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
* Work on forms
* More work on VerticalMenuView: setItems(), etc.
This commit is contained in:
parent
4f3a8ac500
commit
4234e03008
8 changed files with 106 additions and 19 deletions
|
@ -32,6 +32,8 @@ function View(client, options) {
|
|||
this.acceptsFocus = options.acceptsFocus || false;
|
||||
this.acceptsInput = options.acceptsInput || false;
|
||||
|
||||
this.submit = this.acceptsInput ? options.acceptsInput || false : false;
|
||||
|
||||
this.position = { x : 0, y : 0 };
|
||||
this.dimens = { height : 1, width : 0 };
|
||||
|
||||
|
@ -143,4 +145,7 @@ View.prototype.onSpecialKeyPress = function(keyName) {
|
|||
} else if(this.isSpecialKeyMapped('next', keyName)) {
|
||||
this.emit('action', 'next');
|
||||
}
|
||||
};
|
||||
|
||||
View.prototype.getViewData = function() {
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue