/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: edam
  • Date: 2012-03-23 15:56:07 UTC
  • Revision ID: tim@ed.am-20120323155607-6h8pc0c6o35nl179
switch button to no interim presses during settings mode; added NVRAM support

Show diffs side-by-side

added added

removed removed

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