ImageRect Struct Reference

#include <graphics.h>

List of all members.


Detailed Description

9 images defining a rectangle.

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

Imagegrid [9]

Member Enumeration Documentation

Enumerator:
UPPER_LEFT 
UPPER_CENTER 
UPPER_RIGHT 
LEFT 
CENTER 
RIGHT 
LOWER_LEFT 
LOWER_CENTER 
LOWER_RIGHT 

Definition at line 51 of file graphics.h.


Member Data Documentation

Definition at line 64 of file graphics.h.


The documentation for this struct was generated from the following file:

Generated on Sun Apr 26 17:30:43 2009 for The Mana World by  doxygen 1.5.5