diff options
| author | Stijn Buys <ingar@osirion.org> | 2011-07-31 18:21:00 +0000 | 
|---|---|---|
| committer | Stijn Buys <ingar@osirion.org> | 2011-07-31 18:21:00 +0000 | 
| commit | 9652995287be63ecc34de9bf2174b3f22435861d (patch) | |
| tree | e3aaba14024a789fc2b74b54352a9c2511548e4a /src/ui/ui.cc | |
| parent | 67ebc66aa1be7188f99e215e1353c27cf203308f (diff) | |
Expose global mouse pointer location,
set default mouse pointer at the start of the main widget draw loop,
hide cursor above console.
Diffstat (limited to 'src/ui/ui.cc')
| -rw-r--r-- | src/ui/ui.cc | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/src/ui/ui.cc b/src/ui/ui.cc index 91eacd3..459a2a0 100644 --- a/src/ui/ui.cc +++ b/src/ui/ui.cc @@ -484,8 +484,13 @@ void UI::frame()  	}  	ui_mouse_focus = f; +	// reset mouse pointer +	ui::root()->set_pointer("pointer"); +	 +	// draw the widget stack  	event_draw(); +	// draw the mouse pointer  	if (visible())  		draw_pointer();  } | 
