Global Lender
A Pebble app for finding new and interesting loans on kiva.org
Macros | Functions
lyrDigitime.c File Reference
#include <pebble.h>
#include "misc.h"
#include "ui/lyrDigitime.h"
Include dependency graph for lyrDigitime.c:

Macros

#define APP_LOG(...)
 

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 bgcolor, const GColor txtColor, const GTextAlignment txtAlign, const GFont txtFont)
 Stylizes the text layer to the spec. More...
 
MagPebApp_ErrCode lyrDigitime_updateTime (struct tm *in_time)
 Updates the displayed time. More...
 

Macro Definition Documentation

#define APP_LOG (   ...)

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  bgcolor,
const GColor  txtColor,
const GTextAlignment  txtAlign,
const GFont  txtFont 
)

Stylizes the text layer to the spec.

MagPebApp_ErrCode lyrDigitime_updateTime ( struct tm *  in_time)

Updates the displayed time.