export.h revision 415baf136ea5c841d7f702a18f59af3a1bb6b2af
17N/A * @brief export to bitmap dialog 17N/A * Lauris Kaplinski <lauris@kaplinski.com> 919N/A * bulia byak <buliabyak@users.sf.net> 919N/A * Johan Engelen <j.b.c.engelen@ewi.utwente.nl> 919N/A * Copyright (C) 1999-2007 Authors 919N/A * Copyright (C) 2001-2002 Ximian, Inc. 919N/A * Released under GNU GPL, read the file 'COPYING' for more information 970N/A/** What type of button is being pressed */ 1276N/A/** A list of strings that is used both in the preferences, and in the 1276N/A data fields to describe the various values of \c selection_type. */ 17N/A "page",
"drawing",
"selection",
"custom"};
17N/A/** The names on the buttons for the various selection types. */ 493N/A * A dialog widget to export to various image formats such as bitmap and png. * Creates a dialog window for exporting an image to a bitmap if one doesn't already exist and * shows it to the user. If the dialog has already been created, it simply shows the window. * A function to set the xdpi. * This function grabs all of the x values and then figures out the * new bitmap size based on the changing dpi value. The dpi value is * gotten from the xdpi setting as these can not currently be independent. * A function to set the ydpi. * This function grabs all of the y values and then figures out the * new bitmap size based on the changing dpi value. The dpi value is * gotten from the xdpi setting as these can not currently be independent. * Helper function to create, style and pack spinbuttons for the export dialog. * Creates a new spin button for the export dialog. * @param key The name of the spin button * @param val A default value for the spin button * @param min Minimum value for the spin button * @param max Maximum value for the spin button * @param step The step size for the spin button * @param page Size of the page increment * @param us Unit selector that effects this spin button * @param t Table to put the spin button in * @param x X location in the table \c t to start with * @param y Y location in the table \c t to start with * @param ll Text to put on the left side of the spin button (optional) * @param lr Text to put on the right side of the spin button (optional) * @param digits Number of digits to display after the decimal * @param sensitive Whether the spin button is sensitive or not * @param cb Callback for when this spin button is changed (optional) * One of the area select radio buttons was pressed * File Browse button callback * Area X value changed callback * Area Y value changed callback * Area width value changed callback * Area height value changed callback * Bitmap width value changed callback * Bitmap height value changed callback * Export xdpi value changed callback * Inkscape selection change callback * Filename modified callback * Can be invoked for setting the desktop. Currently not used. * Is invoked by the desktop tracker when the desktop changes. * Creates progress dialog for batch exporting. * @param progress_text Text to be shown in the progress bar * Callback to be used in for loop to update the progress bar. * @param value number between 0 and 1 indicating the fraction of progress (0.17 = 17 % progress) * @param dlg void pointer to the Gtk::Dialog progress dialog * Callback for pressing the cancel button. * Callback invoked on closing the progress dialog. * Utility filename and path functions * Currently selected export area type * Original name for the export object * Was the Original name modified * Flag to stop simultaneous updates /* Area selection radio buttons */ /* Custom size widgets */ /* Bitmap size widgets */ /* Unit selector widgets */ /* Export Button widgets */ bool interrupted;
// indicates whether export needs to be interrupted (read: user pressed cancel in the progress dialog) c-file-style:"stroustrup" c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :