guppi-enums

Name

guppi-enums -- 

Synopsis



enum        guppi_compass_t;
enum        guppi_alignment_t;
enum        guppi_orientation_t;
const gchar* guppi_compass2str              (guppi_compass_t val);
guppi_compass_t guppi_str2compass           (const gchar *str);
const gchar* guppi_alignment2str            (guppi_alignment_t val);
guppi_alignment_t guppi_str2alignment       (const gchar *str);
#define     guppi_alignment_is_horizontal   (x)
#define     guppi_alignment_is_vertical     (x)
#define     guppi_alignment_matches_orientation(align, orien)
const gchar* guppi_orientation2str          (guppi_orientation_t val);
guppi_orientation_t guppi_str2orientation   (const gchar *str);

Description

A longer description goes here.

Details

enum guppi_compass_t

typedef enum {
  GUPPI_COMPASS_INVALID = 0,
  GUPPI_NORTH = 1 << 0,
  GUPPI_SOUTH = 1 << 1,
  GUPPI_EAST = 1 << 2,
  GUPPI_WEST = 1 << 3
} guppi_compass_t;

enum guppi_alignment_t

typedef enum {
  GUPPI_ALIGNMENT_INVALID = 0,
  GUPPI_LEFT,
  GUPPI_RIGHT,
  GUPPI_TOP,
  GUPPI_BOTTOM,
  GUPPI_CENTER_X,
  GUPPI_CENTER_Y,
  GUPPI_WIDTH,
  GUPPI_HEIGHT
} guppi_alignment_t;

enum guppi_orientation_t

typedef enum {
  GUPPI_ORIENTATION_INVALID = 0,
  GUPPI_HORIZONTAL,
  GUPPI_VERTICAL
} guppi_orientation_t;

guppi_compass2str ()

const gchar* guppi_compass2str              (guppi_compass_t val);

guppi_str2compass ()

guppi_compass_t guppi_str2compass           (const gchar *str);

guppi_alignment2str ()

const gchar* guppi_alignment2str            (guppi_alignment_t val);

guppi_str2alignment ()

guppi_alignment_t guppi_str2alignment       (const gchar *str);

guppi_alignment_is_horizontal()

#define     guppi_alignment_is_horizontal(x)

guppi_alignment_is_vertical()

#define     guppi_alignment_is_vertical(x)

guppi_alignment_matches_orientation()

#define     guppi_alignment_matches_orientation(align, orien)

guppi_orientation2str ()

const gchar* guppi_orientation2str          (guppi_orientation_t val);

guppi_str2orientation ()

guppi_orientation_t guppi_str2orientation   (const gchar *str);