PebbleOS
Loading...
Searching...
No Matches
Data Structures | Functions
Generic layout

Layout of generic pins (LayoutIdGeneric). More...

Data Structures

struct  GenericLayout
 Generic pin layout. More...
 

Functions

LayoutLayer * generic_layout_create (const LayoutLayerConfig *config)
 Create a generic layout.
 
bool generic_layout_verify (bool existing_attributes[])
 Check the attributes of a generic pin.
 

Detailed Description

Layout of generic pins (LayoutIdGeneric).


Data Structure Documentation

◆ GenericLayout

struct GenericLayout

Generic pin layout.

Data Fields
TimelineLayout timeline_layout Base timeline layout.

Function Documentation

◆ generic_layout_create()

LayoutLayer * generic_layout_create ( const LayoutLayerConfig *  config)

Create a generic layout.

Parameters
configConfiguration; its context must be a TimelineLayoutInfo.
Returns
New layout, allocated on the calling task's heap.

◆ generic_layout_verify()

bool generic_layout_verify ( bool  existing_attributes[])

Check the attributes of a generic pin.

Parameters
existing_attributesArray of NumAttributeIds flags, indexed by AttributeId.
Returns
true if a title is present.