Demonisch - C++ - demonischClock
Programme details
Date Created: 12/06/2006
Shows the time, and acts as a stop watch with three different GUIs (Analogue, Digital and Binary). Demostates drawing with relative value and converting time into the formats required by the clocks.
Download
Please note the programme was compiled using the Windows XP operating system and will probably only work on Windows.
Programme
Screen shot

C++ Files
- demonischClock.cpp (main)
- abstractWatchGUI.cpp (All watch GUIs extend this)
- abstractWatchMode.cpp (The time and stop watch modes extend this)
- analogueWatchGUI.cpp (Analogue clock and hands drawing code)
- binaryWatchGUI.cpp (Binary clock on and off LED lights drawing code)
- digitalWatchGUI.cpp (Digital clock and digits drawing code)
- stopWatchMode.cpp (Stop watch code for incrementing, starting/stopping and resetting)
- timeWatchMode.cpp (Gets the current system time)
Header Files
- demonischClock.h
- abstractWatchGUI.h
- abstractWatchMode.h
- analogueWatchGUI.h
- binaryWatchGUI.h
- digitalWatchGUI.h
- stopWatchMode.h
- timeWatchMode.h