Kevin Meltzer wrote:
>But, it isn't hard to make the jpeg or gif into a bmp and show it.
>
>$B = new GUI::Bitmap('foo.bmp') or print_and_die("new Bitmap");
>
>$BITMAP = $Window->AddLabel(
>    -left => 50, 
>    -top => 0,
>    -width => 250, 
>    -height => 100,
>    -style => 14 | WS_VISIBLE,
>    -name => "Bitmap",
>);

while we're here, what do you think about a Win32::GUI::Picture class?

eg.
$Window->AddPicture(
    -left => 50, 
    -top => 0,
    -name => "Bitmap",
    -picture => $B,
);

-width and -height, of course, should be taken from the bitmap itself...

comments are welcome ;-)

Bye,
Aldo Calpini
<[EMAIL PROTECTED]>

 LIBERA ME DOMINE DE MORTE AETERNA
 IN DIE ILLA TREMENDA
 QUANDO COELI MOVENDI SUNT 
 ET TERRA







Reply via email to