1 /*****************************************************************************
2 * skin_common.h: Private Skin interface description
3 *****************************************************************************
4 * Copyright (C) 2003 VideoLAN
5 * $Id: skin_common.h,v 1.12 2003/06/01 22:11:24 asmax Exp $
7 * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
8 * Emmanuel Puig <karibu@via.ecp.fr>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111,
24 *****************************************************************************/
30 #define SLIDER_RANGE 1048576 // 1024*1024
31 #define DEFAULT_SKIN_FILE "skins/default.vlt"
51 //---------------------------------------------------------------------------
52 // intf_sys_t: description and status of skin interface
53 //---------------------------------------------------------------------------
56 // Pointer to the theme main class
58 char *p_new_theme_file;
61 input_thread_t *p_input;
63 // The playlist thread
64 playlist_t *p_playlist;
66 // Check if thread is closing
68 bool b_all_win_closed;
70 // Message bank subscription
71 msg_subscription_t *p_sub;
74 int i_index; // Set which file is being played
75 int i_size; // Size of playlist;
82 Messages *MessagesDlg;
84 PrefsDialog *PrefsDlg;
90 Window mainWin; // Window which receives "broadcast" events
97 ExitTimer *p_kludgy_timer;
100 // We dynamically load msimg32.dll to get a pointer to TransparentBlt()
101 HINSTANCE h_msimg32_dll;
102 BOOL (WINAPI *TransparentBlt)( HDC,int,int,int,int,HDC,int,
104 // Idem for user32.dll and SetLayeredWindowAttributes()
105 HINSTANCE h_user32_dll;
106 BOOL (WINAPI *SetLayeredWindowAttributes)( HWND,COLORREF,BYTE,DWORD );