mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-24 19:48:23 +02:00
* Message list updated to be functional with new MCI/etc. (Still WIP, but working good)
This commit is contained in:
parent
3038213c09
commit
6e0a4e84af
7 changed files with 83 additions and 42 deletions
|
@ -64,10 +64,12 @@ MenuView.prototype.getItem = function(index) {
|
|||
|
||||
MenuView.prototype.focusNext = function() {
|
||||
// nothing @ base currently
|
||||
this.emit('index update', this.focusedItemIndex);
|
||||
};
|
||||
|
||||
MenuView.prototype.focusPrevious = function() {
|
||||
// nothign @ base currently
|
||||
this.emit('index update', this.focusedItemIndex);
|
||||
};
|
||||
|
||||
MenuView.prototype.setFocusItems = function(items) {
|
||||
|
@ -79,7 +81,7 @@ MenuView.prototype.setFocusItems = function(items) {
|
|||
self.focusItems.push( { text : itemText } );
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
MenuView.prototype.setItemSpacing = function(itemSpacing) {
|
||||
itemSpacing = parseInt(itemSpacing);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue