| parrotcode: A LCD object | |
| Contents | Libraries | 

SDL::LCD - A LCD object

    # create an LCD
    lcd = new 'SDL::LCD'
    # set the LCD position
    lcd."xpos"( 10 )
    lcd."ypos"( 10 )
    # set the LCD content
    lcd = "-01:23.4"
    # draw the LCD
    lcd."draw"( screen )

Displays a liquid crystal display (LCD) with a variable number of digits. Supported are 0-9, a-f, ".", ":", "-" and blanks.
Each digit is 10 pixels width, plus 2 pixels space between the digits. The height of each digit is 21 pixels.

An SDL::LCD object has the following methods:

Jens Rieks <parrot at jensbeimsurfen dot de> is the author and maintainer. Please send patches and suggestions to the Perl 6 Internals mailing list.

Copyright (C) 2004-2007, The Perl Foundation.
|  |   |