File: Pixmap.pm

package info (click to toggle)
pronto 2.4.0-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,112 kB
  • ctags: 487
  • sloc: perl: 22,159; makefile: 127; sh: 34; sql: 7
file content (13 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
package Gtk::Pixmap;

use strict;

sub new {
  my ($class, $file, $mask) = @_;

  $file =~ s/\.xpm/.png/;

  return "<img src=\"$file\"></img>";
}

1;