implemented SDL drawable in lua