~ubuntu-branches/debian/jessie/gnome-shell/jessie

« back to all changes in this revision

Viewing changes to src/st/st-types.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-05-30 13:19:38 UTC
  • mfrom: (18.1.24 experimental)
  • Revision ID: package-import@ubuntu.com-20120530131938-i3trc1g1p3is2u6x
Tags: 3.4.1-3
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 * You should have received a copy of the GNU Lesser General Public License
15
15
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16
16
 */
17
 
 
18
 
/**
19
 
 * SECTION:st-types
20
 
 * @short_description: type definitions used throughout St
21
 
 *
22
 
 * Common types for StWidgets.
23
 
 */
24
 
 
 
17
#ifndef __ST_TYPES_H__
 
18
#define __ST_TYPES_H__
25
19
 
26
20
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)
27
21
#error "Only <st/st.h> can be included directly.h"
28
22
#endif
29
23
 
30
 
#ifndef __ST_TYPES_H__
31
 
#define __ST_TYPES_H__
32
 
 
33
24
#include <glib-object.h>
34
25
#include <clutter/clutter.h>
35
26
#include <gtk/gtk.h>
36
27
 
37
28
G_BEGIN_DECLS
38
29
 
 
30
/**
 
31
 * SECTION:st-types
 
32
 * @short_description: type definitions used throughout St
 
33
 *
 
34
 * Common types for StWidgets.
 
35
 */
 
36
 
39
37
typedef enum {
40
38
  ST_ALIGN_START,
41
39
  ST_ALIGN_MIDDLE,
44
42
 
45
43
typedef enum {
46
44
  ST_ICON_SYMBOLIC,
47
 
  ST_ICON_FULLCOLOR,
48
 
  ST_ICON_APPLICATION,
49
 
  ST_ICON_DOCUMENT
 
45
  ST_ICON_FULLCOLOR
50
46
} StIconType;
51
47
 
 
48
typedef enum {
 
49
  ST_BACKGROUND_SIZE_AUTO,
 
50
  ST_BACKGROUND_SIZE_CONTAIN,
 
51
  ST_BACKGROUND_SIZE_COVER,
 
52
  ST_BACKGROUND_SIZE_FIXED
 
53
} StBackgroundSize;
 
54
 
52
55
G_END_DECLS
53
56
 
54
57
#endif /* __ST_TYPES_H__ */