~ubuntu-branches/ubuntu/vivid/clutter-1.0/vivid-proposed

« back to all changes in this revision

Viewing changes to clutter/deprecated/clutter-table-layout.h

  • Committer: Package Import Robot
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2014-03-26 11:51:28 UTC
  • mfrom: (1.5.1) (4.1.30 experimental)
  • Revision ID: package-import@ubuntu.com-20140326115128-timmbsde8734o6wz
Tags: 1.18.0-1
* New upstream release.
* debian/control.in:
  + Bump gtk-doc-tools build dependency.
  + Also break libcogl15.
  + Standards-Version is 3.9.5, no changes needed.
* debian/libclutter-1.0-0.symbols:
  + Drop a few symbols that were accidentally exported in the DSO because
    they had a clutter_ prefix but were not in the public headers.
  + Add one new symbol.
  + Drop unnecessary debian revisions from some symbols.
* debian/control.in,
  debian/rules,
  debian/libclutter-1.0-0.symbols:
  + Temporarily disable evdev input support. It was only enabled in 1.17.6-1
    in experimental and there is nothing using it yet, and I would like to
    wait a bit before uploading libinput to unstable as the ABI isn't stable
    yet.
* d/p/0001-wayland-Add-missing-CLUTTER_AVAILABLE-annotations.patch:
  + Add missing annotations so that a few symbols are exported in the DSO.

* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Clutter.
 
3
 *
 
4
 * An OpenGL based 'interactive canvas' library.
 
5
 *
 
6
 * Copyright (C) 2010  Intel Corporation.
 
7
 *
 
8
 * This library is free software; you can redistribute it and/or
 
9
 * modify it under the terms of the GNU Lesser General Public
 
10
 * License as published by the Free Software Foundation; either
 
11
 * version 2 of the License, or (at your option) any later version.
 
12
 *
 
13
 * This library is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
16
 * Lesser General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU Lesser General Public
 
19
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 
20
 *
 
21
 * Author:
 
22
 *   Jose Dapena Paz <jdapena@igalia.com>
 
23
 *
 
24
 * Based on the MX MxTable actor by:
 
25
 *   Thomas Wood <thomas.wood@intel.com>
 
26
 */
 
27
 
 
28
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
 
29
#error "Only <clutter/clutter.h> can be included directly."
 
30
#endif
 
31
 
 
32
#ifndef __CLUTTER_TABLE_LAYOUT_H__
 
33
#define __CLUTTER_TABLE_LAYOUT_H__
 
34
 
 
35
#include <clutter/clutter-layout-manager.h>
 
36
 
 
37
G_BEGIN_DECLS
 
38
 
 
39
#define CLUTTER_TYPE_TABLE_LAYOUT                 (clutter_table_layout_get_type ())
 
40
#define CLUTTER_TABLE_LAYOUT(obj)                 (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_TABLE_LAYOUT, ClutterTableLayout))
 
41
#define CLUTTER_IS_TABLE_LAYOUT(obj)              (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_TABLE_LAYOUT))
 
42
#define CLUTTER_TABLE_LAYOUT_CLASS(klass)         (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_TABLE_LAYOUT, ClutterTableLayoutClass))
 
43
#define CLUTTER_IS_TABLE_LAYOUT_CLASS(klass)      (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_TABLE_LAYOUT))
 
44
#define CLUTTER_TABLE_LAYOUT_GET_CLASS(obj)       (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_TABLE_LAYOUT, ClutterTableLayoutClass))
 
45
 
 
46
typedef struct _ClutterTableLayout                ClutterTableLayout;
 
47
typedef struct _ClutterTableLayoutPrivate         ClutterTableLayoutPrivate;
 
48
typedef struct _ClutterTableLayoutClass           ClutterTableLayoutClass;
 
49
 
 
50
/**
 
51
 * ClutterTableLayout:
 
52
 *
 
53
 * The #ClutterTableLayout structure contains only private data
 
54
 * and should be accessed using the provided API
 
55
 *
 
56
 * Since: 1.4
 
57
 *
 
58
 * Deprecated: 1.18: Use #ClutterGridLayout instead
 
59
 */
 
60
struct _ClutterTableLayout
 
61
{
 
62
  /*< private >*/
 
63
  ClutterLayoutManager parent_instance;
 
64
 
 
65
  ClutterTableLayoutPrivate *priv;
 
66
};
 
67
 
 
68
/**
 
69
 * ClutterTableLayoutClass:
 
70
 *
 
71
 * The #ClutterTableLayoutClass structure contains only private
 
72
 * data and should be accessed using the provided API
 
73
 *
 
74
 * Since: 1.4
 
75
 *
 
76
 * Deprecated: 1.18: Use #ClutterGridLayout instead
 
77
 */
 
78
struct _ClutterTableLayoutClass
 
79
{
 
80
  /*< private >*/
 
81
  ClutterLayoutManagerClass parent_class;
 
82
};
 
83
 
 
84
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_get_type)
 
85
GType clutter_table_layout_get_type (void) G_GNUC_CONST;
 
86
 
 
87
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_new)
 
88
ClutterLayoutManager *clutter_table_layout_new                 (void);
 
89
 
 
90
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_attach)
 
91
void                  clutter_table_layout_pack                (ClutterTableLayout    *layout,
 
92
                                                                ClutterActor          *actor,
 
93
                                                                gint                   column,
 
94
                                                                gint                   row);
 
95
 
 
96
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_set_column_spacing)
 
97
void                  clutter_table_layout_set_column_spacing  (ClutterTableLayout    *layout,
 
98
                                                                guint                  spacing);
 
99
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_set_row_spacing)
 
100
void                  clutter_table_layout_set_row_spacing     (ClutterTableLayout    *layout,
 
101
                                                                guint                  spacing);
 
102
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_get_column_spacing)
 
103
guint                 clutter_table_layout_get_column_spacing  (ClutterTableLayout    *layout);
 
104
CLUTTER_DEPRECATED_IN_1_18_FOR (clutter_grid_layout_get_row_spacing)
 
105
guint                 clutter_table_layout_get_row_spacing     (ClutterTableLayout    *layout);
 
106
 
 
107
CLUTTER_DEPRECATED_IN_1_18
 
108
void                  clutter_table_layout_set_span            (ClutterTableLayout    *layout,
 
109
                                                                ClutterActor          *actor,
 
110
                                                                gint                   column_span,
 
111
                                                                gint                   row_span);
 
112
CLUTTER_DEPRECATED_IN_1_18
 
113
void                  clutter_table_layout_get_span            (ClutterTableLayout    *layout,
 
114
                                                                ClutterActor          *actor,
 
115
                                                                gint                  *column_span,
 
116
                                                                gint                  *row_span);
 
117
 
 
118
CLUTTER_DEPRECATED_IN_1_12
 
119
void                  clutter_table_layout_set_alignment       (ClutterTableLayout    *layout,
 
120
                                                                ClutterActor          *actor,
 
121
                                                                ClutterTableAlignment  x_align,
 
122
                                                                ClutterTableAlignment  y_align);
 
123
CLUTTER_DEPRECATED_IN_1_12
 
124
void                  clutter_table_layout_get_alignment       (ClutterTableLayout    *layout,
 
125
                                                                ClutterActor          *actor,
 
126
                                                                ClutterTableAlignment *x_align,
 
127
                                                                ClutterTableAlignment *y_align);
 
128
CLUTTER_DEPRECATED_IN_1_12
 
129
void                  clutter_table_layout_set_fill            (ClutterTableLayout    *layout,
 
130
                                                                ClutterActor          *actor,
 
131
                                                                gboolean               x_fill,
 
132
                                                                gboolean               y_fill);
 
133
CLUTTER_DEPRECATED_IN_1_12
 
134
void                  clutter_table_layout_get_fill            (ClutterTableLayout    *layout,
 
135
                                                                ClutterActor          *actor,
 
136
                                                                gboolean              *x_fill,
 
137
                                                                gboolean              *y_fill);
 
138
CLUTTER_DEPRECATED_IN_1_12
 
139
void                  clutter_table_layout_set_expand          (ClutterTableLayout    *layout,
 
140
                                                                ClutterActor          *actor,
 
141
                                                                gboolean               x_expand,
 
142
                                                                gboolean               y_expand);
 
143
CLUTTER_DEPRECATED_IN_1_12
 
144
void                  clutter_table_layout_get_expand          (ClutterTableLayout    *layout,
 
145
                                                                ClutterActor          *actor,
 
146
                                                                gboolean              *x_expand,
 
147
                                                                gboolean              *y_expand);
 
148
 
 
149
CLUTTER_DEPRECATED_IN_1_18
 
150
gint                  clutter_table_layout_get_row_count       (ClutterTableLayout    *layout);
 
151
CLUTTER_DEPRECATED_IN_1_18
 
152
gint                  clutter_table_layout_get_column_count    (ClutterTableLayout    *layout);
 
153
 
 
154
CLUTTER_DEPRECATED_IN_1_12
 
155
void                  clutter_table_layout_set_use_animations  (ClutterTableLayout    *layout,
 
156
                                                                gboolean               animate);
 
157
CLUTTER_DEPRECATED_IN_1_12
 
158
gboolean              clutter_table_layout_get_use_animations  (ClutterTableLayout    *layout);
 
159
CLUTTER_DEPRECATED_IN_1_12
 
160
void                  clutter_table_layout_set_easing_mode     (ClutterTableLayout    *layout,
 
161
                                                                gulong                 mode);
 
162
CLUTTER_DEPRECATED_IN_1_12
 
163
gulong                clutter_table_layout_get_easing_mode     (ClutterTableLayout    *layout);
 
164
CLUTTER_DEPRECATED_IN_1_12
 
165
void                  clutter_table_layout_set_easing_duration (ClutterTableLayout    *layout,
 
166
                                                                guint                  msecs);
 
167
CLUTTER_DEPRECATED_IN_1_12
 
168
guint                 clutter_table_layout_get_easing_duration (ClutterTableLayout    *layout);
 
169
 
 
170
G_END_DECLS
 
171
 
 
172
#endif /* __CLUTTER_TABLE_LAYOUT_H__ */