/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock

« back to all changes in this revision

Viewing changes to src/digital_clock_mode.cc

  • Committer: edam
  • Date: 2012-02-28 17:11:15 UTC
  • Revision ID: edam@waxworlds.org-20120228171115-j3k91a3v71d3wnc1
cleanu

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
void DigitalClockMode::draw( int segment )
36
36
{
37
 
        TextRenderer text = TextRenderer::get_instance();
38
 
        text.draw_scroll( segment );
 
37
        TextRenderer::draw_scroll( segment );
39
38
}
40
39
 
41
40
 
59
58
 
60
59
void DigitalClockMode::set_message()
61
60
{
62
 
        TextRenderer text = TextRenderer::get_instance();
63
 
        PString &str = text.get_pstring();
 
61
        PString &str = TextRenderer::get_pstring();
64
62
        str.begin();
65
63
        str.print( "Mode " );
66
64
        str.print( get_flavour() );