Global Lender
A Pebble app for finding new and interesting loans on kiva.org
lyrDigitime.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "libs/magpebapp.h"
4 
5 void lyrDigitime_create(const GRect position, Layer* lyrParent);
7 TextLayer* lyrDigitime_getLayer();
8 
9 MagPebApp_ErrCode lyrDigitime_stylize(const GColor, const GColor, const GTextAlignment, const GFont);
MagPebApp_ErrCode lyrDigitime_stylize(const GColor, const GColor, const GTextAlignment, const GFont)
Stylizes the text layer to the spec.
Definition: lyrDigitime.c:52
MagPebApp_ErrCode
Definition: magpebapp.h:12
void lyrDigitime_create(const GRect position, Layer *lyrParent)
Creates the text layer and adds it to the parent layer.
Definition: lyrDigitime.c:16
TextLayer * lyrDigitime_getLayer()
Returns the digital time layer.
Definition: lyrDigitime.c:44
void lyrDigitime_destroy()
Destroys the text layer.
Definition: lyrDigitime.c:31
MagPebApp_ErrCode lyrDigitime_updateTime(struct tm *)
Updates the displayed time.
Definition: lyrDigitime.c:64