Wintermute Engine Forum
Wintermute Engine => Bug reports => Not a bug => Topic started by: Uhfgood on February 23, 2008, 07:59:02 AM
-
I want to know if MouseEntry and MouseLeave are events with a window object? The docs don't tell you if this is a lowlevel event that it uses.
-
actually components of Window are normal Active objects.
I've made myself a tooltips on hovering over window components which used similar logic to this simple example:
while(1)
{
if (Game.ActiveObject != null)
{
var w = Game.ActiveObject;
if (w.Name == "Button1") do_some_hover_code;
}
You can set this easily in loop attached to window for example or handle it in game_loop.script (game_daemon.script).