Blame libmetacity/meta-frame-borders.h

Packit 5e0819
/*
Packit 5e0819
 * Copyright (C) 2001 Havoc Pennington
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_FRAME_BORDERS_H
Packit 5e0819
#define META_FRAME_BORDERS_H
Packit 5e0819
Packit 5e0819
#include <gtk/gtk.h>
Packit 5e0819
Packit 5e0819
G_BEGIN_DECLS
Packit 5e0819
Packit 5e0819
/**
Packit 5e0819
 * MetaFrameBorders:
Packit 5e0819
 * @visible: Visible border
Packit 5e0819
 * @shadow: Extra size needed for box-shadow (GTK+ theme only)
Packit 5e0819
 * @resize: Extra size used for resize cursor area
Packit 5e0819
 * @invisible: Extra size around visible border (max of resize and shadow)
Packit 5e0819
 * @total: Sum of visible and invisible borders
Packit 5e0819
 */
Packit 5e0819
typedef struct
Packit 5e0819
{
Packit 5e0819
  GtkBorder visible;
Packit 5e0819
  GtkBorder shadow;
Packit 5e0819
  GtkBorder resize;
Packit 5e0819
  GtkBorder invisible;
Packit 5e0819
  GtkBorder total;
Packit 5e0819
} MetaFrameBorders;
Packit 5e0819
Packit 5e0819
void meta_frame_borders_clear (MetaFrameBorders *borders);
Packit 5e0819
Packit 5e0819
G_END_DECLS
Packit 5e0819
Packit 5e0819
#endif