/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
* Automatically draw text.

  Text::draw() should be called from propeller-clock.cc, and it should itterate
  over active messages and call draw_message() on them (which does what the
  current draw() does).
  
  This requires that Text somehow knows which messages are active. Perhaps
  message_reset() could somehow be used to determine this?
  
  This is necessary so that the cludgy call to Text::post_draw() can be removed
  from propeller-clock.cc. The problem here is that if _do_draw_reset is set
  false inside what is currently Text::draw(), only the first drawn message is
  ever correctly reset!
  
  This would also make calls to Text::draw() unnecessary from mode draw()
  routines.
  
* Turn modes back in to classes.

  And get rid of all the switch statements in propeller-clock.cc.