@smallstoneapps/loading-screen

Pebble library to handle displaying loading (and similar) screens

Usage no npm install needed!

<script type="module">
  import smallstoneappsLoadingScreen from 'https://cdn.skypack.dev/@smallstoneapps/loading-screen';
</script>

README

Loading Screen npm (scoped) MIT License

A Pebble library for displaying loading / setup screens in your app.

Installation

You must be using Pebble SDK 3.12 or newer to use this library.

To install the package to your app, use the pebble tool:

pebble package install @smallstoneapps/loading-screen

Usage

#include <@smallstoneapps/loading-screen/loading-screen.h>

// Must be called once before any other calls
loading_screen_init();

// Pushes the loading screen onto the window stack
loading_screen_show();

// Removes the loading screen from the window stack
loading_screen_hide();

Screenshots

Loading Screen

Loading screen on Aplite Loading screen on Basalt

Setup Screen

Setup screen on Aplite Setup screen on Basalt