… | |
… | |
51 | sub dealpha_compose($) { |
51 | sub 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 |
61 | sub dealpha($) { |
61 | sub dealpha($) { |