| CODENOTIFIER | HelpYou are not signed inSign in |
Project: ScummVM
Revision: 34754
Author: fingolfin
Date: 06 Oct 2008 07:28:09
Changes:Fix warnings about Event::synthetic being undefined
Files:| ... | ...@@ -44,6 +44,7 @@ | |
| 44 | 44 | * indicates which button was pressed. |
| 45 | 45 | */ |
| 46 | 46 | enum EventType { |
| 47 | EVENT_INVALID = 0, | |
| 47 | 48 | /** A key was pressed, details in Event::kbd. */ |
| 48 | 49 | EVENT_KEYDOWN = 1, |
| 49 | 50 | /** A key was released, details in Event::kbd. */ |
| ... | ...@@ -121,6 +122,8 @@ | |
| 121 | 122 | * screen area as defined by the most recent call to initSize(). |
| 122 | 123 | */ |
| 123 | 124 | Common::Point mouse; |
| 125 | ||
| 126 | Event() : type(EVENT_INVALID), synthetic(false) {} | |
| 124 | 127 | }; |
| 125 | 128 | |
| 126 | 129 |