/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-03 10:06:31 UTC
  • Revision ID: edam@waxworlds.org-20120303100631-ae3idks1703vdm05
widenned clock hands, tweaked scales, got top & bottom text modes working

Show diffs side-by-side

added added

removed removed

44
44
         * Draw a column of pixels at pixel-offset x in the message.
45
45
         *
46
46
         * @param message the message
47
 
         * @param message_len the length of the message (to save it being
48
 
         *              calculated)
 
47
         * @param message_len the length of the message (to save it being calculated)
49
48
         * @param x the pixel column of the message to draw
50
49
         * @param y_flip true to draw up-side down
51
50
         * @param y_shift shift the drawing up/down
58
57
         */
59
58
        void reset_buffer();
60
59
 
61
 
 
62
 
        /**
63
 
         * Notify renderer that the output buffer will require rendering.
64
 
         */
65
 
        void buffer_in_use();
66
 
 
67
 
 
68
60
        /**
69
61
         * Output the output buffer (and reset the output buffer).
70
62
         */
71
63
        void output_buffer();
72
64
 
73
65
        /**
74
 
         * Get the font number in use.
 
66
         * Set the font number to use
75
67
         *
76
 
         * @return font number
77
 
         */
78
 
        int get_font();
79
 
 
80
 
        /**
81
 
         * Switch to the next font.
82
 
         */
83
 
        void inc_font();
 
68
         * @param font_num font number
 
69
         */
 
70
        void select_font( int font_num );
84
71
 
85
72
};
86
73