diff options
author | Tim Janik <timj@gtk.org> | 2000-10-26 05:50:36 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2000-10-26 05:50:36 +0000 |
commit | 6700994c2416c8f71454c94c3f97ba5a1165c7ec (patch) | |
tree | 8130220778f5a559f44061236c290f72ede52b7a /gtk/gtktextdisplay.h | |
parent | f12ddea328912edb888c4807406f8046c4995cbb (diff) | |
download | gtk+-6700994c2416c8f71454c94c3f97ba5a1165c7ec.tar.gz |
buncha cleanups, kludged build sources dependencies with a Makefile:
Thu Oct 26 07:36:16 2000 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: buncha cleanups, kludged build sources
dependencies with a Makefile: oldest-source-stamp dependancy
for the moment. automake is really fighting us here, with
intentionally not allowing user-defined rules or dependancies
prior to it's -include $(DEP_FILES) statement. sucks rocks!
* gtk/Makefile.am: added gtktextlayout.h and gtktextdisplay.h
to public headers. tehy have a comment stating that they are
"semi-public" aren't included by gtk.h and if enums popup there,
they can be /*< skip >*/-ed.
* gtk/gtktextlayout.h:
* gtk/gtktextdisplay.h: indentation fixes, comment fixes,
added LGPL... <SIGH>
Diffstat (limited to 'gtk/gtktextdisplay.h')
-rw-r--r-- | gtk/gtktextdisplay.h | 71 |
1 files changed, 47 insertions, 24 deletions
diff --git a/gtk/gtktextdisplay.h b/gtk/gtktextdisplay.h index 66110d127d..84504c692a 100644 --- a/gtk/gtktextdisplay.h +++ b/gtk/gtktextdisplay.h @@ -1,3 +1,28 @@ +/* GTK - The GIMP Toolkit + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that 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 along with this library; if not, write to the Free + * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +/* + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS + * file for a list of people on the GTK+ Team. See the ChangeLog + * files for a list of changes. These files are distributed with + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. + */ + #ifndef GTK_TEXT_DISPLAY_H #define GTK_TEXT_DISPLAY_H @@ -7,33 +32,31 @@ extern "C" { #endif /* __cplusplus */ -/* - A semi-public header intended for use by code that also - uses GtkTextLayout -*/ - -/* The drawable should be pre-initialized to your preferred - background. */ -void gtk_text_layout_draw (GtkTextLayout *layout, - /* Widget to grab some style info from */ - GtkWidget *widget, - /* Drawable to render to */ - GdkDrawable *drawable, - /* Position of the drawable - in layout coordinates */ - gint x_offset, - gint y_offset, - /* Region of the layout to - render. x,y must be inside - the drawable. */ - gint x, - gint y, - gint width, - gint height); +/* A semi-public header intended for use by code that also + * uses GtkTextLayout + */ + +/* The drawable should be pre-initialized to your preferred background. + * widget - Widget to grab some style info from + * drawable - Drawable to render to + * x_offset/y_offset - Position of the drawable in layout coordinates + * x/y/width/height - Region of the layout to render. x,y must be inside + * the drawable. + */ +void gtk_text_layout_draw (GtkTextLayout *layout, + GtkWidget *widget, + GdkDrawable *drawable, + gint x_offset, + gint y_offset, + gint x, + gint y, + gint width, + gint height); + #ifdef __cplusplus } #endif /* __cplusplus */ -#endif +#endif /* GTK_TEXT_DISPLAY_H */ |