]> git.sesse.net Git - vlc/blob - modules/gui/win32/about.cpp
* ./modules/*: moved plugins to the new tree. Yet untested builds include
[vlc] / modules / gui / win32 / about.cpp
1 /*****************************************************************************\r
2  * about.cpp: The "About" dialog box\r
3  *****************************************************************************\r
4  * Copyright (C) 2002 VideoLAN\r
5  *\r
6  * Authors: Olivier Teuliere <ipkiss@via.ecp.fr>\r
7  *\r
8  * This program is free software; you can redistribute it and/or modify\r
9  * it under the terms of the GNU General Public License as published by\r
10  * the Free Software Foundation; either version 2 of the License, or\r
11  * (at your option) any later version.\r
12  *\r
13  * This program is distributed in the hope that it will be useful,\r
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
16  * GNU General Public License for more details.\r
17  *\r
18  * You should have received a copy of the GNU General Public License\r
19  * along with this program; if not, write to the Free Software\r
20  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.\r
21  *****************************************************************************/\r
22 \r
23 #include <vcl.h>\r
24 #pragma hdrstop\r
25 \r
26 #include <vlc/vlc.h>\r
27 #include <vlc/intf.h>\r
28 \r
29 #include "about.h"\r
30 #include "win32_common.h"\r
31 \r
32 //---------------------------------------------------------------------------\r
33 //#pragma package(smart_init)\r
34 #pragma resource "*.dfm"\r
35 \r
36 extern  intf_thread_t *p_intfGlobal;\r
37 \r
38 //---------------------------------------------------------------------------\r
39 __fastcall TAboutDlg::TAboutDlg( TComponent* Owner )\r
40         : TForm( Owner )\r
41 {\r
42     Image1->Picture->Icon = p_intfGlobal->p_sys->p_window->Icon;\r
43     LabelVersion->Caption = "Version " VLC_VERSION;\r
44 }\r
45 //---------------------------------------------------------------------------\r
46 \r
47 \r