A user interface for the a StopWatch object. More...
#include <user_interface.h>
Inheritance diagram for stopwatch::UserInterface:
Collaboration diagram for stopwatch::UserInterface:Public Member Functions | |
| UserInterface (StopWatch &sw) | |
| void | init () |
| void | start () |
| void | show_time (int x, int y, high_resolution_clock::duration d) |
| Display the time at the given x,y position on the screen. | |
| void | update () |
| Update the user interface by (a) reading keyboard input and (b) writing to the screen. | |
| void | stop () |
A user interface for the a StopWatch object.
Definition at line 15 of file user_interface.h.
| UserInterface::UserInterface | ( | StopWatch & | sw | ) |
Create a new stopwatch user interface using curses
| sw | A reference to a StopWatch object |
Definition at line 6 of file user_interface.cc.
1.8.8