Blame gtk/gtktextchildprivate.h

Packit Service fb6fa5
/* gtktextchildprivate.h - child pixmaps and widgets
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * Copyright (c) 1994 The Regents of the University of California.
Packit Service fb6fa5
 * Copyright (c) 1994-1997 Sun Microsystems, Inc.
Packit Service fb6fa5
 * Copyright (c) 2000      Red Hat, Inc.
Packit Service fb6fa5
 * Tk -> Gtk port by Havoc Pennington <hp@redhat.com>
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * This software is copyrighted by the Regents of the University of
Packit Service fb6fa5
 * California, Sun Microsystems, Inc., and other parties.  The
Packit Service fb6fa5
 * following terms apply to all files associated with the software
Packit Service fb6fa5
 * unless explicitly disclaimed in individual files.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * The authors hereby grant permission to use, copy, modify,
Packit Service fb6fa5
 * distribute, and license this software and its documentation for any
Packit Service fb6fa5
 * purpose, provided that existing copyright notices are retained in
Packit Service fb6fa5
 * all copies and that this notice is included verbatim in any
Packit Service fb6fa5
 * distributions. No written agreement, license, or royalty fee is
Packit Service fb6fa5
 * required for any of the authorized uses.  Modifications to this
Packit Service fb6fa5
 * software may be copyrighted by their authors and need not follow
Packit Service fb6fa5
 * the licensing terms described here, provided that the new terms are
Packit Service fb6fa5
 * clearly indicated on the first page of each file where they apply.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY
Packit Service fb6fa5
 * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
Packit Service fb6fa5
 * DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION,
Packit Service fb6fa5
 * OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED
Packit Service fb6fa5
 * OF THE POSSIBILITY OF SUCH DAMAGE.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
Packit Service fb6fa5
 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
Packit Service fb6fa5
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
Packit Service fb6fa5
 * NON-INFRINGEMENT.  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS,
Packit Service fb6fa5
 * AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE
Packit Service fb6fa5
 * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 * GOVERNMENT USE: If you are acquiring this software on behalf of the
Packit Service fb6fa5
 * U.S. government, the Government shall have only "Restricted Rights"
Packit Service fb6fa5
 * in the software and related documentation as defined in the Federal
Packit Service fb6fa5
 * Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2).  If you
Packit Service fb6fa5
 * are acquiring the software on behalf of the Department of Defense,
Packit Service fb6fa5
 * the software shall be classified as "Commercial Computer Software"
Packit Service fb6fa5
 * and the Government shall have only "Restricted Rights" as defined
Packit Service fb6fa5
 * in Clause 252.227-7013 (c) (1) of DFARs.  Notwithstanding the
Packit Service fb6fa5
 * foregoing, the authors grant the U.S. Government and others acting
Packit Service fb6fa5
 * in its behalf permission to use and distribute the software in
Packit Service fb6fa5
 * accordance with the terms specified in this license.
Packit Service fb6fa5
 *
Packit Service fb6fa5
 */
Packit Service fb6fa5
Packit Service fb6fa5
#ifndef __GTK_TEXT_CHILD_PRIVATE_H__
Packit Service fb6fa5
#define __GTK_TEXT_CHILD_PRIVATE_H__
Packit Service fb6fa5
Packit Service fb6fa5
#include <gtk/gtktexttypes.h>
Packit Service fb6fa5
Packit Service fb6fa5
G_BEGIN_DECLS
Packit Service fb6fa5
Packit Service fb6fa5
typedef struct _GtkTextPixbuf GtkTextPixbuf;
Packit Service fb6fa5
Packit Service fb6fa5
struct _GtkTextPixbuf
Packit Service fb6fa5
{
Packit Service fb6fa5
  GdkPixbuf *pixbuf;
Packit Service fb6fa5
};
Packit Service fb6fa5
Packit Service fb6fa5
GtkTextLineSegment *_gtk_pixbuf_segment_new (GdkPixbuf *pixbuf);
Packit Service fb6fa5
Packit Service fb6fa5
typedef struct _GtkTextChildBody GtkTextChildBody;
Packit Service fb6fa5
Packit Service fb6fa5
struct _GtkTextChildBody
Packit Service fb6fa5
{
Packit Service fb6fa5
  GtkTextChildAnchor *obj;
Packit Service fb6fa5
  GSList *widgets;
Packit Service fb6fa5
  GtkTextBTree *tree;
Packit Service fb6fa5
  GtkTextLine *line;
Packit Service fb6fa5
};
Packit Service fb6fa5
Packit Service fb6fa5
GtkTextLineSegment *_gtk_widget_segment_new      (GtkTextChildAnchor *anchor);
Packit Service fb6fa5
void                _gtk_widget_segment_add      (GtkTextLineSegment *widget_segment,
Packit Service fb6fa5
                                                  GtkWidget          *child);
Packit Service fb6fa5
void                _gtk_widget_segment_remove   (GtkTextLineSegment *widget_segment,
Packit Service fb6fa5
                                                  GtkWidget          *child);
Packit Service fb6fa5
void                _gtk_widget_segment_ref      (GtkTextLineSegment *widget_segment);
Packit Service fb6fa5
void                _gtk_widget_segment_unref    (GtkTextLineSegment *widget_segment);
Packit Service fb6fa5
Packit Service fb6fa5
GtkTextLayout*      _gtk_anchored_child_get_layout (GtkWidget *child);
Packit Service fb6fa5
Packit Service fb6fa5
G_END_DECLS
Packit Service fb6fa5
Packit Service fb6fa5
#endif