From: Alexis Laferrière Date: Wed, 11 May 2016 17:09:43 +0000 (-0400) Subject: calculator: add screenshots to the README X-Git-Url: http://nitlanguage.org calculator: add screenshots to the README Signed-off-by: Alexis Laferrière --- diff --git a/examples/calculator/README.md b/examples/calculator/README.md index 0073c26..aa93fed 100644 --- a/examples/calculator/README.md +++ b/examples/calculator/README.md @@ -5,6 +5,9 @@ Portable calculator built using _app.nit_ * `calculator_logic` defines `CalculatorContext` with all the business logic of a calculator. It takes as input operations and numbers, and outputs the text to display. * `calculator` implements the portable graphical interface using the _app.nit_ framework +* `scientific_calculator` refines `calculator` to add scientific operations. +* `android_calculator` refines `calculator` to get a nicer aesthetic on Android. +* `ios_calculator` refines `calculator` to get a nicer aesthetic on iOS. * `calculator_test` test `CalculatorContext` as a black box. # Compilation @@ -29,3 +32,11 @@ Portable calculator built using _app.nit_ make bin/android.app ios-sim launch bin/calculator.app ~~~ + +# Screenshots + +![Scientific calculator on Linux with GTK+](doc/linux-scientific.png) + +![Scientific calculator on Android](doc/android-scientific.png) + +![Scientific calculator on iOS](doc/ios-scientific.png) diff --git a/examples/calculator/doc/android-scientific.png b/examples/calculator/doc/android-scientific.png new file mode 100644 index 0000000..f23d675 Binary files /dev/null and b/examples/calculator/doc/android-scientific.png differ diff --git a/examples/calculator/doc/ios-scientific.png b/examples/calculator/doc/ios-scientific.png new file mode 100644 index 0000000..8505c72 Binary files /dev/null and b/examples/calculator/doc/ios-scientific.png differ diff --git a/examples/calculator/doc/linux-scientific.png b/examples/calculator/doc/linux-scientific.png new file mode 100644 index 0000000..58b653e Binary files /dev/null and b/examples/calculator/doc/linux-scientific.png differ