implement more functionality

* update TODO
* rework UISpinBox
* restore move of stackable items and with horizontal scrollbar
* implement classic control look
This commit is contained in:
Eduardo Bart
2012-03-29 10:45:40 -03:00
parent 15fce6d4cf
commit 47e7eef716
16 changed files with 142 additions and 152 deletions

View File

@@ -180,9 +180,17 @@ end
function UIScrollBar:onMouseWheel(mousePos, mouseWheel)
if mouseWheel == MouseWheelUp then
self:decrement()
if self.orientation == 'vertical' then
self:decrement()
else
self:increment()
end
else
self:increment()
if self.orientation == 'vertical' then
self:increment()
else
self:decrement()
end
end
return true
end