TMFEventResult Class Reference
[MCFrame]
List of all members.
Detailed Description
TMFEventResult Describes the result of the handling of an event by a part.
- Note:
- Only used for SelfMouseDown and CallMouseDown for now.
Member Enumeration Documentation
- Enumerator:
kWasHandledBit |
|
kNeedsSelectionBit |
|
Constructor & Destructor Documentation
TMFEventResult::TMFEventResult |
( |
boolean |
handled = false , |
|
|
boolean |
needsSelection = false | |
|
) |
| | [inline] |
Member Function Documentation
void TMFEventResult::ClearResult |
( |
|
) |
[inline] |
boolean TMFEventResult::NeedsSelection |
( |
|
) |
const [inline] |
Returns true if the part "needs selection" Note: for now only tested by TMFWindoidPart to select the window or not in CallMouseDown
void TMFEventResult::operator|= |
( |
const TMFEventResult & |
rhs |
) |
[inline] |
void TMFEventResult::SetHandledAndSelect |
( |
|
) |
[inline] |
Sets wasHandled and NeedsSelection flags
void TMFEventResult::SetNeedsSelection |
( |
boolean |
needsSelection |
) |
[inline] |
Sets the NeedsSelection flag to given value
void TMFEventResult::SetWasHandled |
( |
boolean |
handled |
) |
[inline] |
Sets the wasHandled flag to given value
boolean TMFEventResult::WasHandled |
( |
|
) |
const [inline] |
Returns true if the event was handled by the part
The documentation for this class was generated from the following file: