| ROLAND
    0.70
    Amstrad Emulator based on Caprice Source rewritten in C++. | 
A Border represented as 8 Rects. 4 sides and 4 corners. More...
#include <border.h>
| Public Types | |
| enum | BorderPos { bpTop = 0, bpBottom = 1, bpLeft = 2, bpRight = 3, bpLeftTop = 4, bpLeftBottom = 5, bpRightTop = 6, bpRightBottom = 7 } | 
| Public Member Functions | |
| Border () | |
| Standard constructor. Initializes mColor.  More... | |
| ~Border () ROLAND_DEFAULT void setColor(uint color) | |
| Default destructor.  More... | |
| void | setUniSize (uint width, uint height, uint thickness) | 
| Set the Border size & thickness.  More... | |
| void | paint (SDL_Surface *surf) | 
| The paint command for the gui.  More... | |
| Protected Attributes | |
| uint | mColor | 
| SDL_Rect | mBorder [8] | 
A Border represented as 8 Rects. 4 sides and 4 corners.
| enum BorderPos | 
| 
 | inline | 
Standard constructor. Initializes mColor.
References height, Border::paint(), ROLAND_DEFAULT, Border::setUniSize(), width, and Border::~Border().
| ~Border | ( | ) | 
| void paint | ( | SDL_Surface * | surf | ) | 
The paint command for the gui.
References Border::mBorder, and Border::mColor.
Referenced by Border::Border().
Set the Border size & thickness.
References Border::bpBottom, Border::bpLeft, Border::bpLeftBottom, Border::bpLeftTop, Border::bpRight, Border::bpRightBottom, Border::bpRightTop, Border::bpTop, and Border::mBorder.
Referenced by Border::Border().
| 
 | protected | 
Referenced by Border::paint(), and Border::setUniSize().
| 
 | protected | 
Referenced by Border::paint().
 1.8.11
 1.8.11