/*
 * Java-Gnome Bindings Library
 *
 * Copyright 1998-2002 the Java-Gnome Team, all rights reserved.
 *
 * The Java-Gnome Team Members:
 *   Jean Van Wyk <jeanvanwyk@iname.com>
 *   Jeffrey S. Morgan <jeffrey.morgan@bristolwest.com>
 *   Dan Bornstein <danfuzz@milk.com>
 *
 * The Java-Gnome bindings library is free software distributed under
 * the terms of the GNU Library General Public License version 2.
 *
 * This file was orriginally generated by the Java-GNOME Code Generator
 * Please do not modify the code that is identified as generated.  Also,
 * please insert your code above the generated code.
 *
 * Generation date: 2002-08-02 09:42:22 EDT
 */

#include <jni.h>
#include <sys/types.h>
#include <gtk/gtk.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    GdkColor * GtkTextAppearance_get_bg_color (GtkTextAppearance * cptr) 
    {
        return (GdkColor*)&cptr->bg_color;
    }

    /*
     * Class:     org.gnu.gtk.TextAppearance
     * Method:    getBgColor
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAppearance_getBgColor (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAppearance *cptr_g = (GtkTextAppearance *)cptr;
        {
            return (jint)GtkTextAppearance_get_bg_color (cptr_g);
        }
    }

    GdkColor * GtkTextAppearance_get_fg_color (GtkTextAppearance * cptr) 
    {
        return (GdkColor*)&cptr->fg_color;
    }

    /*
     * Class:     org.gnu.gtk.TextAppearance
     * Method:    getFgColor
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAppearance_getFgColor (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAppearance *cptr_g = (GtkTextAppearance *)cptr;
        {
            return (jint)GtkTextAppearance_get_fg_color (cptr_g);
        }
    }

    GdkBitmap * GtkTextAppearance_get_bg_stipple (GtkTextAppearance * cptr) 
    {
        return cptr->bg_stipple;
    }

    /*
     * Class:     org.gnu.gtk.TextAppearance
     * Method:    getBgStipple
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAppearance_getBgStipple (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAppearance *cptr_g = (GtkTextAppearance *)cptr;
        return (jint)GtkTextAppearance_get_bg_stipple (cptr_g);
    }

    GdkBitmap * GtkTextAppearance_get_fg_stipple (GtkTextAppearance * cptr) 
    {
        return cptr->fg_stipple;
    }

    /*
     * Class:     org.gnu.gtk.TextAppearance
     * Method:    getFgStipple
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAppearance_getFgStipple (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAppearance *cptr_g = (GtkTextAppearance *)cptr;
        return (jint)GtkTextAppearance_get_fg_stipple (cptr_g);
    }

    gint32 GtkTextAppearance_get_rise (GtkTextAppearance * cptr) 
    {
        return cptr->rise;
    }

    /*
     * Class:     org.gnu.gtk.TextAppearance
     * Method:    getRise
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAppearance_getRise (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkTextAppearance *cptr_g = (GtkTextAppearance *)cptr;
        {
            jint result_j = (jint) (GtkTextAppearance_get_rise (cptr_g));
            return result_j;
        }
    }

    PangoUnderline GtkTextAppearance_get_underline (GtkTextAppearance * cptr) 
    {
        return cptr->underline;
    }

    /*
     * Class:     org.gnu.gtk.TextAppearance
     * Method:    getUnderline
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_TextAppearance_getUnderline (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAppearance *cptr_g = (GtkTextAppearance *)cptr;
        {
            jint result_j = (jint) (GtkTextAppearance_get_underline (cptr_g));
            return result_j;
        }
    }

    gboolean GtkTextAppearance_get_strikethrough (GtkTextAppearance * cptr) 
    {
        return cptr->strikethrough;
    }

    /*
     * Class:     org.gnu.gtk.TextAppearance
     * Method:    getStrikethrough
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TextAppearance_getStrikethrough (JNIEnv *env, 
        jclass cls, jint cptr) 
    {
        GtkTextAppearance *cptr_g = (GtkTextAppearance *)cptr;
        {
            jboolean result_j = (jboolean) (GtkTextAppearance_get_strikethrough (cptr_g));
            return result_j;
        }
    }

    gboolean GtkTextAppearance_get_draw_bg (GtkTextAppearance * cptr) 
    {
        return cptr->draw_bg;
    }

    /*
     * Class:     org.gnu.gtk.TextAppearance
     * Method:    getDrawBg
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TextAppearance_getDrawBg (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAppearance *cptr_g = (GtkTextAppearance *)cptr;
        {
            jboolean result_j = (jboolean) (GtkTextAppearance_get_draw_bg (cptr_g));
            return result_j;
        }
    }

    gboolean GtkTextAppearance_get_inside_selection (GtkTextAppearance * cptr) 
    {
        return cptr->inside_selection;
    }

    /*
     * Class:     org.gnu.gtk.TextAppearance
     * Method:    getInsideSelection
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TextAppearance_getInsideSelection (JNIEnv *env, 
        jclass cls, jint cptr) 
    {
        GtkTextAppearance *cptr_g = (GtkTextAppearance *)cptr;
        {
            jboolean result_j = (jboolean) (GtkTextAppearance_get_inside_selection (cptr_g));
            return result_j;
        }
    }

    gboolean GtkTextAppearance_get_is_text (GtkTextAppearance * cptr) 
    {
        return cptr->is_text;
    }

    /*
     * Class:     org.gnu.gtk.TextAppearance
     * Method:    getIsText
     * Signature: (I)Z
     */
    JNIEXPORT jboolean JNICALL Java_org_gnu_gtk_TextAppearance_getIsText (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkTextAppearance *cptr_g = (GtkTextAppearance *)cptr;
        {
            jboolean result_j = (jboolean) (GtkTextAppearance_get_is_text (cptr_g));
            return result_j;
        }
    }

    /****************************************
     * END OF GENERATED CODE
     ****************************************/
#ifdef __cplusplus
}

#endif
