Blame libmetacity/meta-style-info-private.h

Packit 5e0819
/*
Packit 5e0819
 * Copyright (C) 2016 Alberts Muktupāvels
Packit 5e0819
 *
Packit 5e0819
 * This program is free software: you can redistribute it and/or modify
Packit 5e0819
 * it under the terms of the GNU General Public License as published by
Packit 5e0819
 * the Free Software Foundation, either version 2 of the License, or
Packit 5e0819
 * (at your option) any later version.
Packit 5e0819
 *
Packit 5e0819
 * This program is distributed in the hope that it will be useful,
Packit 5e0819
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 5e0819
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Packit 5e0819
 * GNU General Public License for more details.
Packit 5e0819
 *
Packit 5e0819
 * You should have received a copy of the GNU General Public License
Packit 5e0819
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
Packit 5e0819
 */
Packit 5e0819
Packit 5e0819
#ifndef META_STYLE_INFO_PRIVATE_H
Packit 5e0819
#define META_STYLE_INFO_PRIVATE_H
Packit 5e0819
Packit 5e0819
#include <gtk/gtk.h>
Packit 5e0819
Packit 5e0819
G_BEGIN_DECLS
Packit 5e0819
Packit 5e0819
typedef enum
Packit 5e0819
{
Packit 5e0819
  META_STYLE_ELEMENT_WINDOW,
Packit 5e0819
  META_STYLE_ELEMENT_DECORATION,
Packit 5e0819
  META_STYLE_ELEMENT_TITLEBAR,
Packit 5e0819
  META_STYLE_ELEMENT_TITLE,
Packit 5e0819
  META_STYLE_ELEMENT_BUTTON,
Packit 5e0819
  META_STYLE_ELEMENT_IMAGE,
Packit 5e0819
  META_STYLE_ELEMENT_LAST
Packit 5e0819
} MetaStyleElement;
Packit 5e0819
Packit 5e0819
G_GNUC_INTERNAL
Packit 5e0819
#define META_TYPE_STYLE_INFO meta_style_info_get_type ()
Packit 5e0819
G_DECLARE_FINAL_TYPE (MetaStyleInfo, meta_style_info, META, STYLE_INFO, GObject)
Packit 5e0819
Packit 5e0819
G_GNUC_INTERNAL
Packit 5e0819
MetaStyleInfo   *meta_style_info_new            (const gchar      *gtk_theme_name,
Packit 5e0819
                                                 const gchar      *gtk_theme_variant,
Packit 5e0819
                                                 gboolean          composited,
Packit 5e0819
                                                 gint              scale);
Packit 5e0819
Packit 5e0819
G_GNUC_INTERNAL
Packit 5e0819
GtkStyleContext *meta_style_info_get_style      (MetaStyleInfo    *style_info,
Packit 5e0819
                                                 MetaStyleElement  element);
Packit 5e0819
Packit 5e0819
G_GNUC_INTERNAL
Packit 5e0819
void             meta_style_info_set_composited (MetaStyleInfo    *style_info,
Packit 5e0819
                                                 gboolean          composited);
Packit 5e0819
Packit 5e0819
G_GNUC_INTERNAL
Packit 5e0819
void             meta_style_info_set_scale      (MetaStyleInfo    *style_info,
Packit 5e0819
                                                 gint              scale);
Packit 5e0819
Packit 5e0819
G_GNUC_INTERNAL
Packit 5e0819
void             meta_style_info_set_flags      (MetaStyleInfo    *style_info,
Packit 5e0819
                                                 MetaFrameFlags    flags);
Packit 5e0819
Packit 5e0819
G_END_DECLS
Packit 5e0819
Packit 5e0819
#endif