ONO::Lib::UI::Progress

Functions

bar();

Progress bar.

-B alter blue channel
-G alter green channel
-R alter red channel

ONO::Lib::UI::Progress->bar( $progs_ref, $cutoff, $c1palette_ref, $c2palette_ref, $switches );
returns: qq~<div class="bg_fabric radius5 mt10 "> <table class="wide_table"><tr>$PROG</tr></table> </div> ~

percent();

Progress bar, percentage.

-R radius10
-S apply style bar instead of box
-t text followed by percent
-T text instead of percent

ONO::Lib::UI::Progress->percent( $percent, $class, $style, $style_box, $threshold_yellow, $threshold_orange, $threshold_red, $text, $switches, $id );

slider();

Progress slider.

ONO::Lib::UI::Progress->slider( $id, $name, $value, $width, $from, $to, $switches );
returns: $SLIDER

status();

Progress status.

ONO::Lib::UI::Progress->status( $prog_ref, $selected, $bg, $radius, $class );
returns: qq~<div class="bg_$bg center $radius $class"><table class="wide_table" style="height:30px"><tr>$PROG</tr></table></div>~

Internal Functions

_rgb();

Internal RGB logic subroutine.

&_rgb( );

Sub-Modules

none

Dependencies