~ubuntu-branches/ubuntu/natty/perl-tk/natty

« back to all changes in this revision

Viewing changes to demos/demos/widget_lib/hscale.pl

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Zander
  • Date: 2004-03-14 13:54:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314135444-prc09u2or4dbr3to
Tags: 1:800.025-2
Add xlibs-dev to Build-Depends:,
Closes: #237942

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
    my $canvas = $frame->Canvas(
21
21
        qw/width 50 -height 50 -bd 0 -highlightthickness 0/);
22
 
    $canvas->create(qw/polygon 0 0 1 1 2 2 -fill DeepSkyBlue3 -tags poly/);
23
 
    $canvas->create(qw/line 0 0 1 1 2 2 0 0 -fill black -tags line/);
 
22
    $canvas->createPolygon(qw/0 0 1 1 2 2 -fill DeepSkyBlue3 -tags poly/);
 
23
    $canvas->createLine (qw/0 0 1 1 2 2 0 0 -fill black -tags line/);
24
24
 
25
25
    my $scale = $frame->Scale(qw/-orient horizontal -length 284 -from 0
26
26
        -to 250 -tickinterval 50 -command/ => [\&hscale_width, $canvas]);