| 1 | /*************************************************************************** |
| 2 | wallpaper.cpp - description |
| 3 | ------------------- |
| 4 | begin : Wed Mar 21 2001 |
| 5 | copyright : (C) 2001 by Waldemar Baraldi |
| 6 | email : [email protected] |
| 7 | ***************************************************************************/ |
| 8 | |
| 9 | /*************************************************************************** |
| 10 | * * |
| 11 | * This program is free software; you can redistribute it and/or modify * |
| 12 | * it under the terms of the GNU General Public License as published by * |
| 13 | * the Free Software Foundation; either version 2 of the License, or * |
| 14 | * (at your option) any later version. * |
| 15 | * * |
| 16 | ***************************************************************************/ |
| 17 | |
| 18 | #include "wallpaper.h"cxx . . $ `<file>/src/wallpaper.h`/ |
| 19 | |
| 20 | WallPapercxx . . $ WallPaper#::WallPapercxx . . $ WallPaper#WallPaper(2728a9b7beaa669d).(Imagecxx . . $ Image# * image):Backgroundcxx . . $ Background#Background(49f6e7a06ebc5aa8).(){ |
| 21 | this->imagecxx . . $ WallPaper#image.=image; |
| 22 | image->setAlphacxx . . $ Graphic#setAlpha(44b6ea1973a07080).(OPAQUEcxx . . $ `src/graphic.h:26:9`!); |
| 23 | } |
| 24 | |
| 25 | WallPapercxx . . $ WallPaper#::~cxx . . $ WallPaper#`~WallPaper`(ced63f7c635d850d).WallPapercxx . . $ WallPaper#(){ |
| 26 | //delete image; |
| 27 | } |
| 28 | |
| 29 | void WallPapercxx . . $ WallPaper#::repaintcxx . . $ WallPaper#repaint(d983c20fd9c98de6).(VideoManagercxx . . $ VideoManager# * vm, int x, int y, int w, int h){ |
| 30 | /** Pinta el rectangulo (rx,ry,rw,rh) de la surface s |
| 31 | en la posicion (x,y)*/ |
| 32 | vm->blitcxx . . $ VideoManager#blit(2374406b72720b55).(imagecxx . . $ WallPaper#image., this->xcxx . . $ Canvas#x.+x, this->ycxx . . $ Canvas#y.+y, x, y, w, h); |
| 33 | } |
| 34 | |
| 35 | void WallPapercxx . . $ WallPaper#::paintcxx . . $ WallPaper#paint(dec28a01b93bce57).(VideoManagercxx . . $ VideoManager# * vm){ |
| 36 | vm->blitcxx . . $ VideoManager#blit(d6e51777aa68e081).(imagecxx . . $ WallPaper#image., xcxx . . $ Canvas#x., ycxx . . $ Canvas#y.); |
| 37 | } |
| 38 | |
| 39 |