2
* Copyright (c) 2009 Giuseppe Torelli <colossus73@gmail.com>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License,or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU Library General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not,write to the Free Software
16
* Foundation,Inc.,59 Temple Place - Suite 330,Boston,MA 02111-1307,USA.
26
#include "main-window.h"
29
int main (int argc, char *argv[])
31
img_window_struct *img_window;
34
bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
35
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
36
textdomain (GETTEXT_PACKAGE);
40
gtk_init (&argc, &argv);
42
img_window = img_create_window();
44
/* Load the transitions as plugins with GModule */
45
img_load_available_transitions(img_window);
47
/* Set some default values */
48
img_window->background_color = 0x000000ff;
49
img_window->aspect_ratio = "4:3";
50
img_window->slideshow_format_index = 0;
51
img_window->slides_nr = 0;
52
img_window->distort_images = TRUE;
54
gtk_widget_show (img_window->imagination_window);
55
img_set_statusbar_message(img_window,0);