Skip to content

Commit

Permalink
libdeng2|Widget: Added behavior flag for marking widget 'unhittable'
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed May 31, 2013
1 parent 82f4af7 commit c2bcd7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doomsday/libdeng2/include/de/widgets/widget.h
Expand Up @@ -54,6 +54,9 @@ class DENG2_PUBLIC Widget
/// Widget will only receive events if it has focus.
HandleEventsOnlyWhenFocused = 0x4,

/// Widget cannot be hit by a pointer device.
Unhittable = 0x8,

DefaultBehavior = 0
};
Q_DECLARE_FLAGS(Behaviors, Behavior)
Expand Down

0 comments on commit c2bcd7f

Please sign in to comment.