Global Lender
A Pebble app for finding new and interesting loans on kiva.org
Functions
lyrDigitime.h File Reference
#include "libs/magpebapp.h"
Include dependency graph for lyrDigitime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void lyrDigitime_create (const GRect position, Layer *lyrParent)
 Creates the text layer and adds it to the parent layer. More...
 
void lyrDigitime_destroy ()
 Destroys the text layer. More...
 
TextLayer * lyrDigitime_getLayer ()
 Returns the digital time layer. More...
 
MagPebApp_ErrCode lyrDigitime_stylize (const GColor, const GColor, const GTextAlignment, const GFont)
 Stylizes the text layer to the spec. More...
 
MagPebApp_ErrCode lyrDigitime_updateTime (struct tm *)
 Updates the displayed time. More...
 

Function Documentation

void lyrDigitime_create ( const GRect  position,
Layer *  lyrParent 
)

Creates the text layer and adds it to the parent layer.

void lyrDigitime_destroy ( )

Destroys the text layer.

TextLayer* lyrDigitime_getLayer ( )

Returns the digital time layer.

MagPebApp_ErrCode lyrDigitime_stylize ( const GColor  ,
const GColor  ,
const GTextAlignment  ,
const GFont   
)

Stylizes the text layer to the spec.

MagPebApp_ErrCode lyrDigitime_updateTime ( struct tm *  )

Updates the displayed time.