Details
NbtkBorderImage
typedef ccss_border_image_t NbtkBorderImage;
NbtkPadding
typedef struct {
gfloat top;
gfloat right;
gfloat bottom;
gfloat left;
} NbtkPadding;
The padding from the internal border of the parent container.
gfloat top ; |
padding from the top
|
gfloat right ; |
padding from the right
|
gfloat bottom ; |
padding from the bottom
|
gfloat left ; |
padding from the left
|
enum NbtkAlignment
typedef enum {
NBTK_ALIGN_TOP,
NBTK_ALIGN_RIGHT,
NBTK_ALIGN_BOTTOM,
NBTK_ALIGN_LEFT,
NBTK_ALIGN_CENTER
} NbtkAlignment;
The alignment values for a NbtkBin.
NBTK_ALIGN_TOP
|
align to the top (vertically)
|
NBTK_ALIGN_RIGHT
|
align to the right (horizontally)
|
NBTK_ALIGN_BOTTOM
|
align to the bottom (vertically)
|
NBTK_ALIGN_LEFT
|
align to the left (horizontally)
|
NBTK_ALIGN_CENTER
|
align to the center (horizontally or vertically)
|
enum NbtkAlign
typedef enum {
NBTK_ALIGN_START,
NBTK_ALIGN_MIDDLE,
NBTK_ALIGN_END
} NbtkAlign;