2009-12-25 06:01:48 +08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
|
|
|
* Copyright (C) 2009 Martin Nordholts <martinn@src.gnome.org>
|
|
|
|
*
|
|
|
|
* 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 3 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
|
2018-07-12 05:27:07 +08:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2009-12-25 06:01:48 +08:00
|
|
|
*/
|
|
|
|
|
2012-06-06 03:03:26 +08:00
|
|
|
#ifndef __GIMP_APP_TEST_UTILS_H__
|
|
|
|
#define __GIMP_APP_TEST_UTILS_H__
|
2009-12-25 06:01:48 +08:00
|
|
|
|
|
|
|
|
2018-07-02 00:49:50 +08:00
|
|
|
void gimp_test_utils_set_env_to_subdir (const gchar *root_env_var,
|
|
|
|
const gchar *subdir,
|
|
|
|
const gchar *target_env_var);
|
|
|
|
void gimp_test_utils_set_env_to_subpath (const gchar *root_env_var1,
|
|
|
|
const gchar *root_env_var2,
|
2011-05-18 03:01:24 +08:00
|
|
|
const gchar *subdir,
|
|
|
|
const gchar *target_env_var);
|
2018-05-29 06:44:51 +08:00
|
|
|
void gimp_test_utils_set_gimp3_directory (const gchar *root_env_var,
|
2010-10-26 20:15:03 +08:00
|
|
|
const gchar *subdir);
|
2018-07-02 00:49:50 +08:00
|
|
|
void gimp_test_utils_setup_menus_path (void);
|
2010-10-26 20:15:03 +08:00
|
|
|
void gimp_test_utils_create_image (Gimp *gimp,
|
|
|
|
gint width,
|
|
|
|
gint height);
|
|
|
|
void gimp_test_utils_synthesize_key_event (GtkWidget *widget,
|
|
|
|
guint keyval);
|
|
|
|
GimpUIManager * gimp_test_utils_get_ui_manager (Gimp *gimp);
|
2012-06-06 03:03:26 +08:00
|
|
|
GimpImage * gimp_test_utils_create_image_from_dialog
|
2011-01-28 00:25:22 +08:00
|
|
|
(Gimp *gimp);
|
2009-12-25 06:01:48 +08:00
|
|
|
|
|
|
|
|
2012-06-06 03:03:26 +08:00
|
|
|
#endif /* __GIMP_APP_TEST_UTILS_H__ */
|