2009-09-29 19:08:01 +00:00
|
|
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
2009-09-08 19:47:30 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2009 Intel Corporation.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU Lesser General Public License,
|
|
|
|
* version 2.1, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope it will be useful, but WITHOUT ANY
|
|
|
|
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
|
|
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
2010-11-10 22:00:45 +00:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2009-09-08 19:47:30 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* SECTION:st-types
|
|
|
|
* @short_description: type definitions used throughout St
|
|
|
|
*
|
|
|
|
* Common types for StWidgets.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#if !defined(ST_H_INSIDE) && !defined(ST_COMPILATION)
|
|
|
|
#error "Only <st/st.h> can be included directly.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef __ST_TYPES_H__
|
|
|
|
#define __ST_TYPES_H__
|
|
|
|
|
|
|
|
#include <glib-object.h>
|
|
|
|
#include <clutter/clutter.h>
|
2010-02-16 16:04:07 +00:00
|
|
|
#include <gtk/gtk.h>
|
2009-09-08 19:47:30 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
ST_ALIGN_START,
|
|
|
|
ST_ALIGN_MIDDLE,
|
|
|
|
ST_ALIGN_END
|
|
|
|
} StAlign;
|
|
|
|
|
2010-10-31 19:39:32 +00:00
|
|
|
typedef enum {
|
|
|
|
ST_ICON_SYMBOLIC,
|
2012-03-15 22:24:51 +00:00
|
|
|
ST_ICON_FULLCOLOR
|
2010-10-31 19:39:32 +00:00
|
|
|
} StIconType;
|
|
|
|
|
2011-12-23 17:59:20 +00:00
|
|
|
typedef enum {
|
|
|
|
ST_BACKGROUND_SIZE_AUTO,
|
|
|
|
ST_BACKGROUND_SIZE_CONTAIN,
|
|
|
|
ST_BACKGROUND_SIZE_COVER,
|
|
|
|
ST_BACKGROUND_SIZE_FIXED
|
|
|
|
} StBackgroundSize;
|
|
|
|
|
2009-09-08 19:47:30 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __ST_TYPES_H__ */
|