mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Added TODO note in mouse handling code
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user