1.0.5 • Published 8 years ago

nightstand v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Nightstand Library

Easy to use library to implement a nightstand mode in pebble watchfaces. If you put your pebble on its side, this will show a correctly rotated time in text form like in this picture:

Usage boils down to:

  • include "<nightstand/nightstand.h> in your source file
  • call nightstand_window_init() in your init code
  • call nightstand_window_deinit() in your deinit code
  • call nightstand_window_update() in your update code (e.g. once per minute). If it returns true the nightstand mode is active and you don't have to draw because your window will be hidden by the nightstand window.

Credits

credits go to Yuriy Galanter for the Effect Layer library (https://github.com/ygalanter/EffectLayer), that I included here in a stripped-down version.

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago