]> cygwin.com Git - cygwin-apps/setup.git/blob - splash.cc
2002-07-05 Robert Collins <rbtcollins@hotmail.com>
[cygwin-apps/setup.git] / splash.cc
1 /*
2 * Copyright (c) 2001, Gary R. Van Sickle.
3 *
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.
8 *
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
11 *
12 * Written by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
13 *
14 */
15
16 // This is the implementation of the SplashPage class. Since the splash page
17 // has little to do, there's not much here.
18
19 #include <stdio.h>
20 #include "version.h"
21 #include "resource.h"
22 #include "cistring.h"
23 #include "splash.h"
24
25 bool
26 SplashPage::Create ()
27 {
28 return PropertyPage::Create (IDD_SPLASH);
29 }
30
31 void
32 SplashPage::OnInit ()
33 {
34 cistring ver;
35
36 ver.Format (IDS_VERSION_INFO, version[0] ? version : "[unknown]");
37
38 ::SetWindowText (GetDlgItem (IDC_VERSION), ver.c_str ());
39
40 // Set the font for the IDC_STATIC_WELCOME_TITLE
41 SetDlgItemFont(IDC_STATIC_WELCOME_TITLE, "Ariel", 12, FW_BOLD);
42 }
This page took 0.03744 seconds and 5 git commands to generate.