/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 16:50:26 UTC
  • Revision ID: edam@waxworlds.org-20120228165026-pwnwo300xx2e2kg6
removed ulibc, fixed button, added text rendering

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::draw_scroll( segment );
 
37
        TextRenderer text = TextRenderer::get_instance();
 
38
        text.draw_scroll( segment );
38
39
}
39
40
 
40
41
 
58
59
 
59
60
void DigitalClockMode::set_message()
60
61
{
61
 
        PString &str = TextRenderer::get_pstring();
 
62
        TextRenderer text = TextRenderer::get_instance();
 
63
        PString &str = text.get_pstring();
62
64
        str.begin();
63
65
        str.print( "Mode " );
64
66
        str.print( get_flavour() );