4 * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #include "bcdisplayinfo.h"
24 #include "mwindow.inc"
25 #include "splashgui.h"
32 SplashGUI::SplashGUI(VFrame *bg, int x, int y)
33 : BC_Window(PROGRAM_NAME ": Loading",
50 SplashGUI::~SplashGUI()
55 void SplashGUI::create_objects()
57 draw_vframe(bg, 0, 0);
61 add_subwindow(progress = new BC_ProgressBar(5,
62 get_h() - get_resources()->progress_images[0]->get_h() - 5,
66 add_subwindow(operation =
68 progress->get_y() - get_text_height(MEDIUMFONT) - 5,