All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Structures
Here are the data structures with brief descriptions:
oCAccelDataA single accelerometer sample for all three axes
oCAnimationHandlersThe handlers that will get called when an animation starts and stops. See documentation with the function pointer types for more information
oCAnimationImplementationThe 3 callbacks that implement a custom animation. Only the .update callback is mandatory, .setup and .teardown are optional. See the documentation with the function pointer typedefs for more information
oCBatteryChargeStateStructure for retrieval of the battery charge state
oCDictionaryIteratorAn iterator can be used to iterate over the key/value tuples in an existing dictionary, using dict_read_begin_from_buffer(), dict_read_first() and dict_read_next(). An iterator can also be used to append key/value tuples to a dictionary, for example using dict_write_data() or dict_write_cstring()
oCGBitmapStructure containing the metadata of a bitmap image
oCGBitmap.__unnamed__This union is here to make it easy to copy in a full uint16_t of flags from the binary format
oCGPathData structure describing a path, plus its rotation and translation
oCGPathInfoData structure describing a naked path
oCGPointRepresents a point in a 2-dimensional coordinate system
oCGRectRepresents a rectangle and defining it using the origin of the upper-lefthand corner and its size
oCGSizeRepresents a 2-dimensional size
oCMenuIndexData structure to represent an menu item's position in a menu, by specifying the section index and the row index within that section
oCMenuLayerCallbacksData structure containing all the callbacks of a MenuLayer
oCNumberWindowCallbacksData structure containing all the callbacks for a NumberWindow
oCPropertyAnimation.valuesThe values of the property that the animation should animated from and to
oCPropertyAnimation.values.fromThe value of the property that the animation should animate to. When the animation starts, this value will be the initial value that is set
oCPropertyAnimation.values.toThe value of the property that the animation should animate to. When the animation completes, this value will be the final value that is set
oCPropertyAnimationAccessorsData structure containing the setter and getter function pointers that the property animation should use. The specified setter function will be used by the animation's update callback.
Based on the type of the property (int16_t, GPoint or GRect), the accompanying update callback should be used, see property_animation_update_int16(), property_animation_update_gpoint() and property_animation_update_grect().
The getter function is used when the animation is initialized, to assign the current value of the subject's property as "from" or "to" value, see property_animation_create()
oCPropertyAnimationAccessors.getterFunction pointer to the implementation of the function that gets the current property value. This function will be called during property_animation_create(), to get the current property value, in case the from_value or to_value argument is NULL
oCPropertyAnimationAccessors.setterFunction pointer to the implementation of the function that sets the updated property value. This function will be called repeatedly for each animation frame
oCPropertyAnimationImplementationData structure containing a collection of function pointers that form the implementation of the property animation. See the code example at the top (PropertyAnimation)
oCScrollLayerCallbacksAll the callbacks that the ScrollLayer exposes for use by applications
oCSimpleMenuItemData structure containing the information of a menu item
oCSimpleMenuSectionData structure containing the information of a menu section
oCtmTime struct, with values separated into incremental: year, month, day_in_month, hour, minute, second and informational: Day in week, Day in Year, is it daylight savings time
oCTupleData structure for one serialized key/value tuple
oCTuple.valueThe value itself
oCTupletNon-serialized, template data structure for a key/value pair. For strings and byte arrays, it only has a pointer to the actual data. For integers, it provides storage for integers up to 32-bits wide. The Tuplet data structure is useful when creating dictionaries from values that are already stored in arbitrary buffers. See also Tuple, with is the header of a serialized key/value pair
oCTuplet.__unnamed__Anonymous union containing the reference to the Tuplet's value, being either a byte array, c-string or integer. See documentation of .bytes, .cstring and .integer fields
oCTuplet.__unnamed__.bytesValid when .type. is TUPLE_BYTE_ARRAY
oCTuplet.__unnamed__.cstringValid when .type. is TUPLE_CSTRING
oCTuplet.__unnamed__.integerValid when .type. is TUPLE_INT or TUPLE_UINT
oCVibePatternData structure describing a vibration pattern
\CWindowHandlersWindowHandlers These handlers are called by the Window Stack as windows get pushed on / popped: