summaryrefslogtreecommitdiff
path: root/endless/eosenums.h
blob: 257f43584903a8b191791e59e84af759d0e8af30 (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
/* 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.
 */

#define EOS_TYPE_FLEXY_SHAPE		(eos_flexy_shape_get_type ())

/**
 * EosFlexyShape:
 * @EOS_FLEXY_SHAPE_SMALL: 1x1 shape for small cells
 * @EOS_FLEXY_SHAPE_MEDIUM_HORIZONTAL: 2x1 <quote>landscape</quote> shape for
 * medium cells
 * @EOS_FLEXY_SHAPE_MEDIUM_VERTICAL: 1x2 <quote>portrait</quote> shape for
 * medium cells
 * @EOS_FLEXY_SHAPE_LARGE: 2x2 shape for large cells
 *
 * Sizes for flexible-layout cells in `EosFlexyGrid`.
 */
typedef enum
{
  EOS_FLEXY_SHAPE_SMALL,
  EOS_FLEXY_SHAPE_MEDIUM_HORIZONTAL,
  EOS_FLEXY_SHAPE_MEDIUM_VERTICAL,
  EOS_FLEXY_SHAPE_LARGE
} EosFlexyShape;

EOS_SDK_AVAILABLE_IN_0_0
GType eos_flexy_shape_get_type (void) G_GNUC_CONST;

G_END_DECLS

#endif /* EOS_ENUMS_H */