Added TODO note in mouse handling code

This commit is contained in:
Vladimir Matveev
2014-05-18 15:53:54 +04:00
parent e83d9491ae
commit eed8bf6110
+1
View File
@@ -102,6 +102,7 @@ impl Cursor {
}
}
// TODO: figure out how to pass Surface in here correctly
pub fn from_surface(surface: &surface::Surface, hot_x: int, hot_y: int) -> Result<Cursor, ~str> {
unsafe {
let raw = ll::SDL_CreateColorCursor(surface.raw, hot_x as i32,