#include <graphics.h>
4 corners, 4 sides and a middle area. The topology is as follows:
!-----!-----------------!-----! ! 0 ! 1 ! 2 ! !-----!-----------------!-----! ! 3 ! 4 ! 5 ! !-----!-----------------!-----! ! 6 ! 7 ! 8 ! !-----!-----------------!-----!
Sections 0, 2, 6 and 8 will remain as is. 1, 3, 4, 5 and 7 will be repeated to fit the size of the widget.
Definition at line 49 of file graphics.h.
Public Types | |
enum | ImagePosition { UPPER_LEFT = 0, UPPER_CENTER = 1, UPPER_RIGHT = 2, LEFT = 3, CENTER = 4, RIGHT = 5, LOWER_LEFT = 6, LOWER_CENTER = 7, LOWER_RIGHT = 8 } |
Public Attributes | |
Image * | grid [9] |
UPPER_LEFT | |
UPPER_CENTER | |
UPPER_RIGHT | |
LEFT | |
CENTER | |
RIGHT | |
LOWER_LEFT | |
LOWER_CENTER | |
LOWER_RIGHT |
Definition at line 51 of file graphics.h.
Image* ImageRect::grid[9] |
Definition at line 64 of file graphics.h.