| 14 | */ |
| 15 | |
| 16 | GuiButton::GuiButton(int w, int h) |
| 17 | { |
| 18 | width = w; |
| 19 | height = h; |
| 20 | image = NULL; |
| 21 | imageOver = NULL; |
| 22 | imageHold = NULL; |
| 23 | imageClick = NULL; |
| 24 | icon = NULL; |
| 25 | iconOver = NULL; |
| 26 | iconHold = NULL; |
| 27 | iconClick = NULL; |
| 28 | |
| 29 | for(int i=0; i < 3; i++) |
| 30 | { |
| 31 | label[i] = NULL; |
| 32 | labelOver[i] = NULL; |
| 33 | labelHold[i] = NULL; |
| 34 | labelClick[i] = NULL; |
| 35 | } |
| 36 | |
| 37 | soundOver = NULL; |
| 38 | soundHold = NULL; |
| 39 | soundClick = NULL; |
| 40 | tooltip = NULL; |
| 41 | selectable = true; |
| 42 | holdable = false; |
| 43 | clickable = true; |
| 44 | } |
| 45 | |
| 46 | /** |
| 47 | * Destructor for the GuiButton class. |
nothing calls this directly
no outgoing calls
no test coverage detected