added methods for drawing the cursor

not tested yet, first need some food :)