* Message list updated to be functional with new MCI/etc. (Still WIP, but working good)

This commit is contained in:
Bryan Ashby 2015-10-11 16:05:45 -06:00
parent 3038213c09
commit 6e0a4e84af
7 changed files with 83 additions and 42 deletions

View file

@ -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);