NAME
Tickit::Widget::Decoration - do nothing, in a visually-appealing way
VERSION
version 0.004
SYNOPSIS
use Tickit;
use Tickit::Widget::Decoration;
Tickit->new(root => Tickit::Widget::Decoration->new)->run;
DESCRIPTION
Renders a pattern.
STYLE
Future versions are likely to offer more customisation features, for now you get the following:
start_fg - foreground colour to use as the starting point
start_bg - background colour to use as the starting point
end_fg - foreground colour to use as the ending point
end_bg - background colour to use as the ending point
gradient_direction - horizontal or vertical, determines which way the gradient runs, default horizontal
Only numeric values supported. Terms and conditions may apply.
METHODS
No user-serviceable parts inside.
lines
Number of lines. Defaults to 1.
cols
Number of cols. Defaults to 1.
render_to_rb
Render to the given renderbuffer.
INHERITED METHODS
- Tickit::Widget
-
get_style_pen, get_style_text, get_style_values, key_focus_next_after, key_focus_next_before, new, on_pen_changed, parent, pen, redraw, reshape, resized, set_parent, set_pen, set_style, set_style_tag, set_window, style_classes, take_focus, window, window_gained, window_lost
AUTHOR
Tom Molesworth <cpan@entitymodel.com>
LICENSE
Copyright Tom Molesworth 2013. Licensed under the same terms as Perl itself.