Mercurial > projects > dynamin
diff dynamin/gui/windows_window.d @ 23:d55b5b998412
Implement built-in mouse cursors with X.
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Sat, 25 Jul 2009 14:58:43 -0500 |
parents | ef81af74a306 |
children | 00efca2c1545 |
line wrap: on
line diff
--- a/dynamin/gui/windows_window.d Sat Jul 25 14:47:45 2009 -0500 +++ b/dynamin/gui/windows_window.d Sat Jul 25 14:58:43 2009 -0500 @@ -197,6 +197,9 @@ void backend_borderStyle(WindowBorderStyle border) { backend_updateWindowStyles(); } + void backend_setCurrentCursor(Cursor cur) { + SetCursor(cur.handle); + } void backend_repaint(Rect rect) { RECT wrect; wrect.left = cast(int)(rect.x-_borderSize.left);