nitGains -
NitGains
Project structure
View/
- tabata_view main window (activity) of the application with all the logic of a tabata app.
- configurable_window abstract window used by tabata_view.
- configurable_view specialise TextView for specific TextView like ConfigurableButton
- load_window list all saves
- save_window TextInput for save the current context
- success_window push when the session (all the exercies) are terminated
Model/
- timer_model implement a thread use as a Timer by the app.
Data/
- nitGains_data data format (ParameterData).
- tabata_context contain TabataContext and SavesContext, hold the ParemeterData of the app.
android/
- Graphic part specific for the android platform
androidVersions/
- Adapt the app to the target API (API 15 for the moment)
Compilation
Compile and run on the desktop (GNU/Linux and OS X) with:
make linux
Compile for Android and install on a device or emulator with:
make androidApk
Clean
Clean bin/ and data_store.db
make clean
Content
- nitGains: NitGains (contrib/oot/nitgains)
- android (contrib/oot/nitgains/android)
- res (contrib/oot/nitgains/android/res)
- src (contrib/oot/nitgains/src)
- androidVersions (contrib/oot/nitgains/src/androidVersions)
- android15 (contrib/oot/nitgains/src/androidVersions/android15.nit)
- data (contrib/oot/nitgains/src/data)
- nitGains_data (contrib/oot/nitgains/src/data/nitGains_data.nit)
- tabata_context: Use for saving the app (contrib/oot/nitgains/src/data/tabata_context.nit)
- iosVersions (contrib/oot/nitgains/src/iosVersions)
- ios: iOS variation (contrib/oot/nitgains/src/iosVersions/ios.nit)
- model (contrib/oot/nitgains/src/model)
- timer_model (contrib/oot/nitgains/src/model/timer_model.nit)
- nitGains (contrib/oot/nitgains/src/nitGains.nit)
- view (contrib/oot/nitgains/src/view)
- configurable_view: Specialisations of TextView for adding a ParameterData (contrib/oot/nitgains/src/view/configurable_view.nit)
- configurable_window (contrib/oot/nitgains/src/view/configurable_window.nit)
- load_window (contrib/oot/nitgains/src/view/load_window.nit)
- parameter_window (contrib/oot/nitgains/src/view/parameter_window.nit)
- save_window (contrib/oot/nitgains/src/view/save_window.nit)
- success_window (contrib/oot/nitgains/src/view/success_window.nit)
- tabata_view: Main logic of the application (contrib/oot/nitgains/src/view/tabata_view.nit)
- androidVersions (contrib/oot/nitgains/src/androidVersions)
- android (contrib/oot/nitgains/android)