ManaPlus
Enumerations
ImagePosition Namespace Reference

Enumerations

enum  Type {
  UPPER_LEFT = 0 , UPPER_CENTER = 1 , UPPER_RIGHT = 2 , LEFT = 3 ,
  CENTER = 4 , RIGHT = 5 , LOWER_LEFT = 6 , LOWER_CENTER = 7 ,
  LOWER_RIGHT = 8
}
 

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.

Enumeration Type Documentation

◆ Type

Enumerator
UPPER_LEFT 
UPPER_CENTER 
UPPER_RIGHT 
LEFT 
CENTER 
RIGHT 
LOWER_LEFT 
LOWER_CENTER 
LOWER_RIGHT 

Definition at line 48 of file imageposition.h.

49  {
50  UPPER_LEFT = 0,
51  UPPER_CENTER = 1,
52  UPPER_RIGHT = 2,
53  LEFT = 3,
54  CENTER = 4,
55  RIGHT = 5,
56  LOWER_LEFT = 6,
57  LOWER_CENTER = 7,
58  LOWER_RIGHT = 8
59  };