| 1 | /*************************************************************************** |
| 2 | background.h - 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 | #ifndef BACKGROUND_Hcxx . . $ `src/background.h:19:9`! |
| 19 | #define BACKGROUND_Hcxx . . $ `src/background.h:19:9`! |
| 20 | |
| 21 | #include "canvas.h"cxx . . $ `<file>/src/canvas.h`/ |
| 22 | |
| 23 | class Backgroundcxx . . $ Background#; |
| 24 | |
| 25 | #include "board.h"cxx . . $ `<file>/src/board.h`/ |
| 26 | #include "pipe.h"cxx . . $ `<file>/src/pipe.h`/ |
| 27 | |
| 28 | class Backgroundcxx . . $ Background#: public Canvascxx . . $ Canvas#{ |
| 29 | |
| 30 | public: |
| 31 | Backgroundcxx . . $ Background#Background(49f6e7a06ebc5aa8).():Canvascxx . . $ Canvas#(){}; |
| 32 | |
| 33 | int widthcxx . . $ Background#width(b126dc7c1de90089).(){return BoardColumnscxx . . $ BoardColumns.*PipeWidthcxx . . $ PipeWidth.;} |
| 34 | int heightcxx . . $ Background#height(b126dc7c1de90089).(){return BoardRowscxx . . $ BoardRows.*PipeHeightcxx . . $ PipeHeight.;} |
| 35 | |
| 36 | virtual void repaintcxx . . $ Background#repaint(d983c20fd9c98de6).(VideoManagercxx . . $ VideoManager# * vm, int x, int y, int w, int h)=0; |
| 37 | }; |
| 38 | #endif |
| 39 |