Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TouchScreenGUIDemo
Dialogs/SpinnerDialog.cpp@14:e6515b19f5a0, 2016-05-21 (annotated)
- Committer:
- duncanFrance
- Date:
- Sat May 21 16:36:02 2016 +0000
- Revision:
- 14:e6515b19f5a0
- Parent:
- 13:6714534e7974
- Child:
- 15:e69fd74d42e4
Added OKCancelDialog
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
duncanFrance | 13:6714534e7974 | 1 | #include "SpinnerDialog.h" |
duncanFrance | 14:e6515b19f5a0 | 2 | SpinnerDialog::SpinnerDialog(GraphicsContext *context) : OKCancelDialog(context) |
duncanFrance | 13:6714534e7974 | 3 | { |
duncanFrance | 13:6714534e7974 | 4 | |
duncanFrance | 14:e6515b19f5a0 | 5 | // Now add a Spinner |
duncanFrance | 13:6714534e7974 | 6 | _spinner = new SpinnerWidget(context); |
duncanFrance | 13:6714534e7974 | 7 | _spinner->setLocation(0,0); |
duncanFrance | 13:6714534e7974 | 8 | attach(_spinner); |
duncanFrance | 13:6714534e7974 | 9 | } |
duncanFrance | 13:6714534e7974 | 10 | |
duncanFrance | 13:6714534e7974 | 11 | SpinnerWidget *SpinnerDialog::spinner() |
duncanFrance | 13:6714534e7974 | 12 | { |
duncanFrance | 13:6714534e7974 | 13 | return _spinner; |
duncanFrance | 13:6714534e7974 | 14 | } |