1 /*************************************************************************
3 * OpenOffice.org - a multi-platform office productivity suite
9 * last change: $Author: jholesovsky $ $Date: 2007-07-03 16:36:09 +0200 (Út, 03 čec 2007) $
11 * The Contents of this file are made available subject to
12 * the terms of GNU Lesser General Public License Version 2.1.
15 * GNU Lesser General Public License Version 2.1
16 * =============================================
17 * Copyright 2005 by Sun Microsystems, Inc.
18 * 901 San Antonio Road, Palo Alto, CA 94303, USA
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License version 2.1, as published by the Free Software Foundation.
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 * Lesser General Public License for more details.
29 * You should have received a copy of the GNU Lesser General Public
30 * License along with this library; if not, write to the Free Software
31 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
34 ************************************************************************/
43 // Load the specified Windows 24bit BMP we can have as a background of the
46 // Note: Must be called before the create_window(), otherwise there will be no
47 // image in the splash, just black rectangle.
49 // Return: 1 - success, 0 - failure (non-existing, etc.)
50 int splash_load_bmp( char *filename
);
52 // Init some of the values
53 // If not called, the defaults are used
54 // barc, framec - colors, posx, posy - position, w, h - size
55 void splash_setup( int barc
[3], int framec
[3], int posx
, int posy
, int w
, int h
);
57 // Create the splash window
58 // Return: 1 - success, 0 - failure
59 int splash_create_window( int argc
, char** argv
);
61 // Destroy the splash window
62 void splash_close_window();
64 // Update the progress bar
65 void splash_draw_progress( int progress
);