This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
component:signals [2014/08/12 00:31] sangar |
component:signals [2015/01/14 23:40] 127.0.0.1 external edit |
||
---|---|---|---|
Line 39: | Line 39: | ||
------ | ------ | ||
- | - `screen_resize(screenAddress: string, newWidth: number, newHeight: number)` | + | - `screen_resized(screenAddress: string, newWidth: number, newHeight: number)` |
This signal is queued by [[block:screen|screen]] when their resolution changes, for example because it is manually set via the [[component:gpu|GPU]]. The address is the address of the screen the queued the signal. | This signal is queued by [[block:screen|screen]] when their resolution changes, for example because it is manually set via the [[component:gpu|GPU]]. The address is the address of the screen the queued the signal. | ||
- `touch(screenAddress: string, x: number, y: number, button: number, playerName: string)` | - `touch(screenAddress: string, x: number, y: number, button: number, playerName: string)` |