gestures_bucket_t

Updated: October 26, 2022

Structure representing the gesture bucket

Synopsis:

#include <gestures/>
typedef struct gestures_bucket_t {
    struct gesture_base** gestures;
    uint32_t gestures_count;
    uint32_t size;
} gestures_bucket_t;

Data:

struct gesture_base** gestures
The array of gestures.
uint32_t gestures_count
The number of gestures currently in the bucket.
uint32_t size
The total allocated size of the bucket (measured in number of increments of gesture_base_t size)

Library:

libgestures

Description:

This structure represents the set of gestures awaiting processing. The gesture bucket grows indefinitely by GESTURES_BUCKET_GROW_INCREMENT every time it reaches size.