/*
 * 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:21 EDT
 */

#include <jni.h>
#include <sys/types.h>
#include <gtk/gtk.h>
#ifdef __cplusplus
extern "C" 
{
#endif
    /****************************************
     * BEGINNING OF GENERATED CODE
     ****************************************/
    GtkWidget * GtkGammaCurve_get_table (GtkGammaCurve * cptr) 
    {
        return cptr->table;
    }

    /*
     * Class:     org.gnu.gtk.GammaCurve
     * Method:    getTable
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_GammaCurve_getTable (JNIEnv *env, jclass cls, jint cptr)
    {
        GtkGammaCurve *cptr_g = (GtkGammaCurve *)cptr;
        {
            return (jint)GtkGammaCurve_get_table (cptr_g);
        }
    }

    GtkWidget * GtkGammaCurve_get_curve (GtkGammaCurve * cptr) 
    {
        return cptr->curve;
    }

    /*
     * Class:     org.gnu.gtk.GammaCurve
     * Method:    getCurve
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_GammaCurve_getCurve (JNIEnv *env, jclass cls, jint cptr)
    {
        GtkGammaCurve *cptr_g = (GtkGammaCurve *)cptr;
        {
            return (jint)GtkGammaCurve_get_curve (cptr_g);
        }
    }

    gdouble GtkGammaCurve_get_gamma (GtkGammaCurve * cptr) 
    {
        return cptr->gamma;
    }

    /*
     * Class:     org.gnu.gtk.GammaCurve
     * Method:    getGamma
     * Signature: (I)D
     */
    JNIEXPORT jdouble JNICALL Java_org_gnu_gtk_GammaCurve_getGamma (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkGammaCurve *cptr_g = (GtkGammaCurve *)cptr;
        {
            jdouble result_j = (jdouble) (GtkGammaCurve_get_gamma (cptr_g));
            return result_j;
        }
    }

    GtkWidget * GtkGammaCurve_get_gamma_dialog (GtkGammaCurve * cptr) 
    {
        return cptr->gamma_dialog;
    }

    /*
     * Class:     org.gnu.gtk.GammaCurve
     * Method:    getGammaDialog
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_GammaCurve_getGammaDialog (JNIEnv *env, jclass cls, 
        jint cptr) 
    {
        GtkGammaCurve *cptr_g = (GtkGammaCurve *)cptr;
        {
            return (jint)GtkGammaCurve_get_gamma_dialog (cptr_g);
        }
    }

    GtkWidget * GtkGammaCurve_get_gamma_text (GtkGammaCurve * cptr) 
    {
        return cptr->gamma_text;
    }

    /*
     * Class:     org.gnu.gtk.GammaCurve
     * Method:    getGammaText
     * Signature: (I)I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_GammaCurve_getGammaText (JNIEnv *env, jclass cls, jint 
        cptr) 
    {
        GtkGammaCurve *cptr_g = (GtkGammaCurve *)cptr;
        {
            return (jint)GtkGammaCurve_get_gamma_text (cptr_g);
        }
    }

    /*
     * Class:     org.gnu.gtk.GammaCurve
     * Method:    gtk_gamma_curve_get_type
     * Signature: ()I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_GammaCurve_gtk_1gamma_1curve_1get_1type (JNIEnv *env, 
        jclass cls) 
    {
        {
            return (jint)gtk_gamma_curve_get_type ();
        }
    }

    /*
     * Class:     org.gnu.gtk.GammaCurve
     * Method:    gtk_gamma_curve_new
     * Signature: ()I
     */
    JNIEXPORT jint JNICALL Java_org_gnu_gtk_GammaCurve_gtk_1gamma_1curve_1new (JNIEnv *env, jclass 
        cls) 
    {
        {
            return (jint)gtk_gamma_curve_new ();
        }
    }

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

#endif
