Updated LUA Events (markdown)

Robert Beekman committed 2016-11-02 13:50:57 +01:00
1 parent 1587032590
commit b2b90e1ab5
1 file changed
+2
+2
@@ -19,6 +19,8 @@ profile profile, profileDrawingEventArgs eventArgs
-- This function will be called after every profile draw. -- This function will be called after every profile draw.
function drawHandler(profile, eventArgs) function drawHandler(profile, eventArgs)
-- Put your code here -- Put your code here
-- The Event Arguments are inside the eventArgs parameter, in a Windows Profile, you could do this:
local currentSong = eventArgs.DataModel.Spotify.SongName;
end end
-- Subscribe to the event AFTER defining the function which must be subscribed. -- Subscribe to the event AFTER defining the function which must be subscribed.