Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Drax on January 10, 2004, 01:44:54 PM

Title: event handler
Post by: Drax on January 10, 2004, 01:44:54 PM
can anybody give me a hint how to make an own event handler.
I want to creat a "doubleclick". I found the funktion in the chm help. but how to do it?
where are the standart event handlers declared?
Is there a list of all the standart event handlers?

I've searched the forum but I found nothing about it.
The same in the .wpr files of verb bars and the others.
Title: Re:event handler
Post by: Mnemonic on January 10, 2004, 02:05:13 PM
The events are described here:

http://www.dead-code.org/forum/index.php?board=3;action=display;threadid=360

...and, yes, I forgot the double-click event  :-[, edited.
You don't need to declare anything, just write:

on "LeftDoubleClick"
{
  // some action
}
Title: Re:event handler
Post by: Drax on January 10, 2004, 02:28:13 PM
thank for the fast answer.

sorry for asking, but in the search it doesen't appear. And the I just read the treads which name sounds like the answers is inside.

 :-\

(if i ask to much, just throw me out of this board  ;))
Title: Re:event handler
Post by: Mnemonic on January 10, 2004, 02:31:26 PM
No problem 8) Actually it's my fault, because it's not documented :)