3
Copyright 2000 Li-Cheng (Andy) Tai
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
* Initial main.c file generated by Glade. Edit as required.
22
* Glade will not overwrite this file.
36
main (int argc, char *argv[])
39
GtkWidget *new_canvas_window; */
42
bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);
47
gnome_init ("GNU Paint", VERSION, argc, argv);
49
/* use default visual and colormap from GdkRGB */
50
gtk_widget_set_default_colormap (gdk_rgb_get_cmap());
51
gtk_widget_set_default_visual (gdk_rgb_get_visual());
54
busy_cursor = gdk_cursor_new(GDK_WATCH);
56
arrow_cursor = gdk_cursor_new(GDK_LEFT_PTR);
58
* The following code was added by Glade to create one of each component
59
* (except popup menus), just so that you see something after building
60
* the project. Delete any components that you don't want shown initially.
62
create_image_buf(0, DEFAULT_WIDTH, DEFAULT_HEIGHT);