add lua and otml syntax highlighting spec for usage with kate

This commit is contained in:
Eduardo Bart
2012-01-03 21:34:35 -02:00
parent 7c4191b1e6
commit 36ba3f639e
6 changed files with 432 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ function Effects.fadeIn(widget, time, elapsed)
widget:setOpacity(math.min((255*elapsed)/time, 255))
if elapsed < time then
scheduleEvent(function()
GFX.fadeIn(widget, time, elapsed + 30)
Effects.fadeIn(widget, time, elapsed + 30)
end, 30)
end
end
@@ -17,7 +17,7 @@ function Effects.fadeOut(widget, time, elapsed)
widget:setOpacity((255*(time - elapsed))/time)
if elapsed < time then
scheduleEvent(function()
GFX.fadeOut(widget, time, elapsed + 30)
Effects.fadeOut(widget, time, elapsed + 30)
end, 30)
else
widget:destroy()

View File

@@ -0,0 +1,6 @@
Hotkeys = {}
function Hotkeys.bindKey(keyDesc, func)
end

View File

@@ -46,7 +46,7 @@ ColorBox < UICheckBox
image:
source: /core_styles/images/colorbox.png
coords: 0 0 16 16
ButtonBox < UICheckBox
font: verdana-11px-antialised
background-color: white
@@ -74,4 +74,3 @@ ButtonBox < UICheckBox
$disabled:
color: #f0ad4d88
background-color: #ffffff88