/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/text_renderer.h

  • Committer: Tim Marston
  • Date: 2012-03-12 21:11:20 UTC
  • Revision ID: tim@ed.am-20120312211120-r86cs574yxztgqij
added time set mode, made text renderer's buffer auto reset/output

Show diffs side-by-side

added added

removed removed

58
58
         */
59
59
        void reset_buffer();
60
60
 
 
61
 
 
62
        /**
 
63
         * Notify renderer that the output buffer will require rendering.
 
64
         */
 
65
        void buffer_in_use();
 
66
 
 
67
 
61
68
        /**
62
69
         * Output the output buffer (and reset the output buffer).
63
70
         */
64
71
        void output_buffer();
65
72
 
66
73
        /**
67
 
         * Set the font number to use
 
74
         * Get the font number in use.
68
75
         *
69
 
         * @param font_num font number
70
 
         */
71
 
        void select_font( int font_num );
 
76
         * @return font number
 
77
         */
 
78
        int get_font();
 
79
 
 
80
        /**
 
81
         * Switch to the next font.
 
82
         */
 
83
        void inc_font();
72
84
 
73
85
};
74
86