Charles MINC > Chess-GameClock-GameClock > GclkDisplay

Download:
Chess-GameClock-GameClock-1.0.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.1   Source  

NAME ^

GclkDisplay - Display the counters

VERSION ^

Version 1.1

SYNOPSIS ^

Draw the Chess Counter Window

    use GclkDisplay;

   &display($whites,$blacks,$scaling)

where $whites and $blacks are GclkCounter object and $scaling a scalar for changing the size of the window displayed.

EXPORT ^

display

FUNCTIONS ^

display

see SYNOPSIS

cnttype

an internal routine for toggling counters time between time elased and time remaining.

Global parameters

hmnsec

convert time in sec to hh:mm:ss format

my($h,$mn,$s)=hmnsec(time_in_seconds) ;

loupe

adjust the parameters for the window size.

my ($l,$v1,$v2)=&loupe($scaling) ;

where $scaling is between 0.5 and 2.0

(Note:This function is perhaps screen type/graphics board dependant, in case of malfunction).

AUTHOR ^

Charles Minc, <charles.minc@wanadoo.fr>

BUGS ^

Please report any bugs or feature requests to bug-gclkdisplay at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=GameClock. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc GameClock

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

Copyright 2006 Charles Minc, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: