Blame src/st/st-types.h

Packit d345d1
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
Packit d345d1
/*
Packit d345d1
 * Copyright 2009 Intel Corporation.
Packit d345d1
 *
Packit d345d1
 * This program is free software; you can redistribute it and/or modify it
Packit d345d1
 * under the terms and conditions of the GNU Lesser General Public License,
Packit d345d1
 * version 2.1, as published by the Free Software Foundation.
Packit d345d1
 *
Packit d345d1
 * This program is distributed in the hope it will be useful, but WITHOUT ANY
Packit d345d1
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
Packit d345d1
 * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for
Packit d345d1
 * more details.
Packit d345d1
 *
Packit d345d1
 * You should have received a copy of the GNU Lesser General Public License
Packit d345d1
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
Packit d345d1
 */
Packit d345d1
#ifndef __ST_TYPES_H__
Packit d345d1
#define __ST_TYPES_H__
Packit d345d1
Packit d345d1
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)
Packit d345d1
#error "Only <st/st.h> can be included directly.h"
Packit d345d1
#endif
Packit d345d1
Packit d345d1
#include <glib-object.h>
Packit d345d1
#include <clutter/clutter.h>
Packit d345d1
#include <gtk/gtk.h>
Packit d345d1
Packit d345d1
G_BEGIN_DECLS
Packit d345d1
Packit d345d1
/**
Packit d345d1
 * SECTION:st-types
Packit d345d1
 * @short_description: type definitions used throughout St
Packit d345d1
 *
Packit d345d1
 * Common types for StWidgets.
Packit d345d1
 */
Packit d345d1
Packit d345d1
typedef enum {
Packit d345d1
  ST_ALIGN_START,
Packit d345d1
  ST_ALIGN_MIDDLE,
Packit d345d1
  ST_ALIGN_END
Packit d345d1
} StAlign;
Packit d345d1
Packit d345d1
typedef enum {
Packit d345d1
  ST_BACKGROUND_SIZE_AUTO,
Packit d345d1
  ST_BACKGROUND_SIZE_CONTAIN,
Packit d345d1
  ST_BACKGROUND_SIZE_COVER,
Packit d345d1
  ST_BACKGROUND_SIZE_FIXED
Packit d345d1
} StBackgroundSize;
Packit d345d1
Packit d345d1
G_END_DECLS
Packit d345d1
Packit d345d1
#endif /* __ST_TYPES_H__ */