summaryrefslogtreecommitdiff
path: root/endless/eosenums.h
blob: 8d50f1b346809621281d6cc179c385e1529a6fd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/* Copyright 2013 Endless Mobile, Inc. */

#ifndef EOS_ENUMS_H
#define EOS_ENUMS_H

#if !(defined(_EOS_SDK_INSIDE_ENDLESS_H) || defined(COMPILING_EOS_SDK))
#error "Please do not include this header file directly."
#endif

#include <glib-object.h>

G_BEGIN_DECLS

/* Shared typedefs for enumerations */

/*
 * SECTION:enums
 * @Short_description: Public enumerated types used throughout the Endless SDK
 * @Title: Standard Enumerations
 *
 * Public enumerated types used throughout the Endless SDK.
 */

/**
 * EosActionButtonSize:
 * @EOS_ACTION_BUTTON_SIZE_PRIMARY: size for primary buttons
 * @EOS_ACTION_BUTTON_SIZE_SECONDARY: size for secondary buttons
 * @EOS_ACTION_BUTTON_SIZE_TERTIARY: size for tertiary buttons
 * @EOS_ACTION_BUTTON_SIZE_QUATERNARY: size for quaternary buttons
 * @EOS_ACTION_BUTTON_SIZE_NUM_SIZES: total number of sizes
 *
 * Built-in sizes for internal action buttons.
 */
typedef enum
{
  EOS_ACTION_BUTTON_SIZE_PRIMARY = 0,
  EOS_ACTION_BUTTON_SIZE_SECONDARY,
  EOS_ACTION_BUTTON_SIZE_TERTIARY,
  EOS_ACTION_BUTTON_SIZE_QUATERNARY,
  EOS_ACTION_BUTTON_SIZE_NUM_SIZES
} EosActionButtonSize;

#define EOS_TYPE_FLEXY_SHAPE		(eos_flexy_shape_get_type ())

typedef enum
{
  EOS_FLEXY_SHAPE_SMALL,
  EOS_FLEXY_SHAPE_MEDIUM_HORIZONTAL,
  EOS_FLEXY_SHAPE_MEDIUM_VERTICAL,
  EOS_FLEXY_SHAPE_LARGE
} EosFlexyShape;

GType eos_flexy_shape_get_type (void) G_GNUC_CONST;

G_END_DECLS

#endif /* EOS_ENUMS_H */