/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-10 12:31:16 UTC
  • Revision ID: tim@ed.am-20120310123116-l348p5btgecmdj1q
added realtime clock test

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
{
35
35
 
36
36
        /**
37
 
         * Initialise.
38
 
         */
39
 
        void init();
40
 
 
41
 
        /**
42
37
         * Get the width, in pexels, of a message.
43
38
         *
44
39
         * @param message_len the length of the message
63
58
         */
64
59
        void reset_buffer();
65
60
 
66
 
 
67
 
        /**
68
 
         * Notify renderer that the output buffer will require rendering.
69
 
         */
70
 
        void buffer_in_use();
71
 
 
72
 
 
73
61
        /**
74
62
         * Output the output buffer (and reset the output buffer).
75
63
         */
76
64
        void output_buffer();
77
65
 
78
66
        /**
79
 
         * Get the font number in use.
 
67
         * Set the font number to use
80
68
         *
81
 
         * @return font number
82
 
         */
83
 
        int get_font();
84
 
 
85
 
        /**
86
 
         * Switch to the next font.
87
 
         */
88
 
        void inc_font();
 
69
         * @param font_num font number
 
70
         */
 
71
        void select_font( int font_num );
89
72
 
90
73
};
91
74