1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
|
/* gap_mod_layer_dialog.h
* 2004.11.11 hof (Wolfgang Hofer)
*
* GAP ... Gimp Animation Plugins
*
* This Module contains:
* modify Layer(s) in frames dialog
* (perform actions (like raise, set visible, apply filter)
* - foreach selected layer
* - in each frame of the selected framerange)
*
*/
/* The GIMP -- an image manipulation program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* revision history:
* version 2.1.00 2004.11.01 hof: - created module
*/
#ifndef _GAP_MOD_LAYER_DIALOG_H
#define _GAP_MOD_LAYER_DIALOG_H
/* GIMP includes */
#include "gtk/gtk.h"
#include "config.h"
#include "libgimp/gimp.h"
/* GAP includes */
#include "gap_lib.h"
#include "gap_mod_layer.h"
typedef struct GapModFramesGlobalParams { /* nick: gmop */
gboolean run_flag;
GimpRunMode run_mode;
GapAnimInfo *ainfo_ptr;
gint32 range_from;
gint32 range_to;
gint32 action_mode;
gint32 sel_mode;
gint32 sel_case;
gint32 sel_invert;
char sel_pattern[MAX_LAYERNAME];
char new_layername[MAX_LAYERNAME];
/* GUI widget pointers */
GtkWidget *shell;
GtkWidget *func_info_label;
GtkWidget *new_layername_label;
GtkWidget *new_layername_entry;
GtkWidget *layer_pattern_entry;
GtkWidget *case_sensitive_check_button;
GtkWidget *invert_check_button;
GtkWidget *layer_selection_frame;
GtkObject *frame_from_adj;
GtkObject *frame_to_adj;
} GapModFramesGlobalParams;
int gap_mod_frames_dialog(GapAnimInfo *ainfo_ptr,
gint32 *range_from, gint32 *range_to,
gint32 *action_mode, gint32 *sel_mode,
gint32 *sel_case, gint32 *sel_invert,
char *sel_pattern, char *new_layername);
#endif
|