Tuesday, February 13, 2018

Widget Time

It's widget madness as I try to finish my Baker's Helper widget. The idea is
simple enough: a widget that would convert measurements of common baking
ingredients such as flour, butter... into the number of required cups.

So far, a radio button interface where the user chooses the ingredient;
a working converter between ounces and grams. The output is hard-
wired to 5 cups for the moment. Need to connect with the
cups part, and design the layout...











                                           *     *     *

The output part is coded, using a switch function. In Javascript anyway,
economy of means is mandatory, because when cannot go beyond 4 cases
without it...




No comments: