ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/CV/lib/Gtk2/CV.pm
(Generate patch)

Comparing CV/lib/Gtk2/CV.pm (file contents):
Revision 1.21 by root, Sun Aug 21 02:19:16 2005 UTC vs.
Revision 1.23 by root, Wed Sep 7 17:17:39 2005 UTC

6use IO::AIO; 6use IO::AIO;
7 7
8BEGIN { 8BEGIN {
9 use XSLoader; 9 use XSLoader;
10 10
11 $VERSION = '0.5'; 11 $VERSION = '1.0';
12 12
13 XSLoader::load "Gtk2::CV", $VERSION; 13 XSLoader::load "Gtk2::CV", $VERSION;
14} 14}
15 15
16my $aio_source; 16my $aio_source;
51sub dealpha_compose($) { 51sub dealpha_compose($) {
52 return $_[0] unless $_[0]->get_has_alpha; 52 return $_[0] unless $_[0]->get_has_alpha;
53 53
54 Gtk2::CV::dealpha_expose $_[0]->composite_color_simple ( 54 Gtk2::CV::dealpha_expose $_[0]->composite_color_simple (
55 $_[0]->get_width, $_[0]->get_height, 55 $_[0]->get_width, $_[0]->get_height,
56 'nearest', 255, 16, 0xa0a0a0ff, 0x606060ff, 56 'nearest', 255, 16, 0xffc0c0c0, 0xff606060,
57 ) 57 )
58} 58}
59 59
60# TODO: make preferences 60# TODO: make preferences
61sub dealpha($) { 61sub dealpha($) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines