Screen sensitivity masks
Types of sensitivity masks.
Synopsis:
#include <screen/screen.h>
enum { SCREEN_SENSITIVITY_MASK_ALWAYS = (1 << 0) SCREEN_SENSITIVITY_MASK_NEVER = (2 << 0) SCREEN_SENSITIVITY_MASK_NO_FOCUS = (1 << 3) SCREEN_SENSITIVITY_MASK_FULLSCREEN = (1 << 4) SCREEN_SENSITIVITY_MASK_CONTINUE = (1 << 5) SCREEN_SENSITIVITY_MASK_STOP = (2 << 5) SCREEN_SENSITIVITY_MASK_POINTER_BRUSH = (1 << 7) SCREEN_SENSITIVITY_MASK_FINGER_BRUSH = (1 << 8) SCREEN_SENSITIVITY_MASK_STYLUS_BRUSH = (1 << 9) SCREEN_SENSITIVITY_MASK_OVERDRIVE = (1 << 10) SCREEN_SENSITIVITY_MASK_CLIPPED = (1 << 11) };
Since:
BlackBerry 10.0.0
Data:
- SCREEN_SENSITIVITY_MASK_ALWAYS
- Pointer and touch events are always forwarded to the window's context if they interect with the window - regardless of transparency.
- SCREEN_SENSITIVITY_MASK_NO_FOCUS
- Pointer and touch events are forwarded to the window's context if they intersect the window and are in an area of the window that is not fully transparent.
- SCREEN_SENSITIVITY_MASK_FULLSCREEN
- Pointer and touch events are forwarded to the window's context no matter where they are on the screen.
- SCREEN_SENSITIVITY_MASK_CONTINUE
- Windows underneath this window can receive pointer or multi-touch events even if this window has input focus.
- SCREEN_SENSITIVITY_MASK_POINTER_BRUSH
- The window receives pointer events, even in areas of transparency, if the source coordinates of the event are within the brush clip rectangle.
- SCREEN_SENSITIVITY_MASK_FINGER_BRUSH
- The window receives multi-touch events with a finger contact type, even in areas of transparency, if the source coordinates of the event are within the brush clip rectangle.
- SCREEN_SENSITIVITY_MASK_STYLUS_BRUSH
- The window receives multi-touch events with a stylus contact type, even in areas of transparency, if the source coordinates of the event are within the brush clip rectangle.
Library:
libscreen (For the qcc command, use the -l screen option to link against this library)Description:
These masks are intended to be combined in a single integer bitmask representing combinations of desired senstivites to be applied to a window.
Last modified: 2014-11-17