
/* Generated data (by glib-mkenums) */

#include <glib-object.h>
#include "diatypebuiltins.h"



/* enumerations from "dia-canvas-item.h" */
#include "dia-canvas-item.h"

static const GFlagsValue _dia_canvas_item_flags_values[] = {
  { DIA_VISIBLE, "DIA_VISIBLE", "visible" },
  { DIA_INTERACTIVE, "DIA_INTERACTIVE", "interactive" },
  { DIA_COMPOSITE, "DIA_COMPOSITE", "composite" },
  { DIA_NEED_UPDATE, "DIA_NEED_UPDATE", "need-update" },
  { DIA_UPDATE_ALL, "DIA_UPDATE_ALL", "update-all" },
  { 0, NULL, NULL }
};

GType
dia_canvas_item_flags_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_flags_register_static ("DiaCanvasItemFlags", _dia_canvas_item_flags_values);

  return type;
}


static const GEnumValue _dia_canvas_item_ui_state_flags_values[] = {
  { DIA_UI_STATE_UNSELECTED, "DIA_UI_STATE_UNSELECTED", "unselected" },
  { DIA_UI_STATE_SELECTED, "DIA_UI_STATE_SELECTED", "selected" },
  { DIA_UI_STATE_FOCUSED, "DIA_UI_STATE_FOCUSED", "focused" },
  { DIA_UI_STATE_GRABBED, "DIA_UI_STATE_GRABBED", "grabbed" },
  { DIA_UI_STATE_UNCHANGED, "DIA_UI_STATE_UNCHANGED", "unchanged" },
  { 0, NULL, NULL }
};

GType
dia_canvas_item_ui_state_flags_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("DiaCanvasItemUIStateFlags", _dia_canvas_item_ui_state_flags_values);

  return type;
}



/* enumerations from "dia-shape.h" */
#include "dia-shape.h"

static const GEnumValue _dia_shape_type_values[] = {
  { DIA_SHAPE_NONE, "DIA_SHAPE_NONE", "none" },
  { DIA_SHAPE_PATH, "DIA_SHAPE_PATH", "path" },
  { DIA_SHAPE_BEZIER, "DIA_SHAPE_BEZIER", "bezier" },
  { DIA_SHAPE_ELLIPSE, "DIA_SHAPE_ELLIPSE", "ellipse" },
  { DIA_SHAPE_TEXT, "DIA_SHAPE_TEXT", "text" },
  { DIA_SHAPE_IMAGE, "DIA_SHAPE_IMAGE", "image" },
  { DIA_SHAPE_WIDGET, "DIA_SHAPE_WIDGET", "widget" },
  { DIA_SHAPE_CLIP, "DIA_SHAPE_CLIP", "clip" },
  { 0, NULL, NULL }
};

GType
dia_shape_type_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("DiaShapeType", _dia_shape_type_values);

  return type;
}


static const GEnumValue _dia_fill_style_values[] = {
  { DIA_FILL_NONE, "DIA_FILL_NONE", "none" },
  { DIA_FILL_SOLID, "DIA_FILL_SOLID", "solid" },
  { 0, NULL, NULL }
};

GType
dia_fill_style_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("DiaFillStyle", _dia_fill_style_values);

  return type;
}


static const GEnumValue _dia_wrap_mode_values[] = {
  { DIA_WRAP_NONE, "DIA_WRAP_NONE", "none" },
  { DIA_WRAP_CHAR, "DIA_WRAP_CHAR", "char" },
  { DIA_WRAP_WORD, "DIA_WRAP_WORD", "word" },
  { 0, NULL, NULL }
};

GType
dia_wrap_mode_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("DiaWrapMode", _dia_wrap_mode_values);

  return type;
}


static const GEnumValue _dia_shape_visibility_values[] = {
  { DIA_SHAPE_HIDDEN, "DIA_SHAPE_HIDDEN", "hidden" },
  { DIA_SHAPE_VISIBLE, "DIA_SHAPE_VISIBLE", "visible" },
  { DIA_SHAPE_VISIBLE_IF_SELECTED, "DIA_SHAPE_VISIBLE_IF_SELECTED", "visible-if-selected" },
  { DIA_SHAPE_VISIBLE_IF_FOCUSED, "DIA_SHAPE_VISIBLE_IF_FOCUSED", "visible-if-focused" },
  { DIA_SHAPE_VISIBLE_IF_GRABBED, "DIA_SHAPE_VISIBLE_IF_GRABBED", "visible-if-grabbed" },
  { 0, NULL, NULL }
};

GType
dia_shape_visibility_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("DiaShapeVisibility", _dia_shape_visibility_values);

  return type;
}



/* enumerations from "dia-event.h" */
#include "dia-event.h"

static const GEnumValue _dia_event_type_values[] = {
  { DIA_EVENT_BUTTON_PRESS, "DIA_EVENT_BUTTON_PRESS", "button-press" },
  { DIA_EVENT_2BUTTON_PRESS, "DIA_EVENT_2BUTTON_PRESS", "2button-press" },
  { DIA_EVENT_3BUTTON_PRESS, "DIA_EVENT_3BUTTON_PRESS", "3button-press" },
  { DIA_EVENT_BUTTON_RELEASE, "DIA_EVENT_BUTTON_RELEASE", "button-release" },
  { DIA_EVENT_MOTION, "DIA_EVENT_MOTION", "motion" },
  { DIA_EVENT_KEY_PRESS, "DIA_EVENT_KEY_PRESS", "key-press" },
  { DIA_EVENT_KEY_RELEASE, "DIA_EVENT_KEY_RELEASE", "key-release" },
  { DIA_EVENT_FOCUS_IN, "DIA_EVENT_FOCUS_IN", "focus-in" },
  { DIA_EVENT_FOCUS_OUT, "DIA_EVENT_FOCUS_OUT", "focus-out" },
  { 0, NULL, NULL }
};

GType
dia_event_type_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("DiaEventType", _dia_event_type_values);

  return type;
}


static const GFlagsValue _dia_event_mask_values[] = {
  { DIA_EVENT_MASK_SHIFT, "DIA_EVENT_MASK_SHIFT", "shift" },
  { DIA_EVENT_MASK_LOCK, "DIA_EVENT_MASK_LOCK", "lock" },
  { DIA_EVENT_MASK_CTRL, "DIA_EVENT_MASK_CTRL", "ctrl" },
  { DIA_EVENT_MASK_MOD1, "DIA_EVENT_MASK_MOD1", "mod1" },
  { DIA_EVENT_MASK_ALT, "DIA_EVENT_MASK_ALT", "alt" },
  { DIA_EVENT_MASK_MOD2, "DIA_EVENT_MASK_MOD2", "mod2" },
  { DIA_EVENT_MASK_MOD3, "DIA_EVENT_MASK_MOD3", "mod3" },
  { DIA_EVENT_MASK_MOD4, "DIA_EVENT_MASK_MOD4", "mod4" },
  { DIA_EVENT_MASK_MOD5, "DIA_EVENT_MASK_MOD5", "mod5" },
  { DIA_EVENT_MASK_BUTTON1, "DIA_EVENT_MASK_BUTTON1", "button1" },
  { DIA_EVENT_MASK_BUTTON2, "DIA_EVENT_MASK_BUTTON2", "button2" },
  { DIA_EVENT_MASK_BUTTON3, "DIA_EVENT_MASK_BUTTON3", "button3" },
  { DIA_EVENT_MASK_BUTTON4, "DIA_EVENT_MASK_BUTTON4", "button4" },
  { DIA_EVENT_MASK_BUTTON5, "DIA_EVENT_MASK_BUTTON5", "button5" },
  { 0, NULL, NULL }
};

GType
dia_event_mask_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_flags_register_static ("DiaEventMask", _dia_event_mask_values);

  return type;
}



/* enumerations from "dia-geometry.h" */
#include "dia-geometry.h"

static const GEnumValue _dia_join_style_values[] = {
  { DIA_JOIN_MITER, "DIA_JOIN_MITER", "miter" },
  { DIA_JOIN_ROUND, "DIA_JOIN_ROUND", "round" },
  { DIA_JOIN_BEVEL, "DIA_JOIN_BEVEL", "bevel" },
  { 0, NULL, NULL }
};

GType
dia_join_style_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("DiaJoinStyle", _dia_join_style_values);

  return type;
}


static const GEnumValue _dia_cap_style_values[] = {
  { DIA_CAP_BUTT, "DIA_CAP_BUTT", "butt" },
  { DIA_CAP_ROUND, "DIA_CAP_ROUND", "round" },
  { DIA_CAP_SQUARE, "DIA_CAP_SQUARE", "square" },
  { 0, NULL, NULL }
};

GType
dia_cap_style_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("DiaCapStyle", _dia_cap_style_values);

  return type;
}



/* enumerations from "dia-strength.h" */
#include "dia-strength.h"

static const GEnumValue _dia_strength_values[] = {
  { DIA_STRENGTH_VERY_WEAK, "DIA_STRENGTH_VERY_WEAK", "very-weak" },
  { DIA_STRENGTH_WEAK, "DIA_STRENGTH_WEAK", "weak" },
  { DIA_STRENGTH_MEDIUM, "DIA_STRENGTH_MEDIUM", "medium" },
  { DIA_STRENGTH_STRONG, "DIA_STRENGTH_STRONG", "strong" },
  { DIA_STRENGTH_VERY_STRONG, "DIA_STRENGTH_VERY_STRONG", "very-strong" },
  { DIA_STRENGTH_REQUIRED, "DIA_STRENGTH_REQUIRED", "required" },
  { 0, NULL, NULL }
};

GType
dia_strength_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("DiaStrength", _dia_strength_values);

  return type;
}



/* enumerations from "dia-canvas-element.h" */
#include "dia-canvas-element.h"

static const GEnumValue _dia_canvas_element_handle_values[] = {
  { DIA_HANDLE_N, "DIA_HANDLE_N", "n" },
  { DIA_HANDLE_NW, "DIA_HANDLE_NW", "nw" },
  { DIA_HANDLE_NE, "DIA_HANDLE_NE", "ne" },
  { DIA_HANDLE_S, "DIA_HANDLE_S", "s" },
  { DIA_HANDLE_W, "DIA_HANDLE_W", "w" },
  { DIA_HANDLE_E, "DIA_HANDLE_E", "e" },
  { DIA_HANDLE_SW, "DIA_HANDLE_SW", "sw" },
  { DIA_HANDLE_SE, "DIA_HANDLE_SE", "se" },
  { 0, NULL, NULL }
};

GType
dia_canvas_element_handle_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("DiaCanvasElementHandle", _dia_canvas_element_handle_values);

  return type;
}



/* Generated data ends here */

