]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins/src/skin_common.h
* modules/gui/skins/*, configure.ac.in: removed the skins plugin depandancy on msimg3...
[vlc] / modules / gui / skins / src / skin_common.h
index 12e8b459d276143e65576d45310d6af901412fbd..b955a371577edcf921db0222aeab9b3185813928 100644 (file)
@@ -2,7 +2,7 @@
  * skin_common.h: Private Skin interface description
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: skin_common.h,v 1.5 2003/04/23 10:29:52 asmax Exp $
+ * $Id: skin_common.h,v 1.8 2003/04/29 12:54:57 gbazin Exp $
  *
  * Authors: Olivier Teulière <ipkiss@via.ecp.fr>
  *          Emmanuel Puig    <karibu@via.ecp.fr>
@@ -38,6 +38,13 @@ class Messages;
 class SoutDialog;
 class PrefsDialog;
 class FileInfo;
+#ifdef WIN32
+    class ExitTimer;
+#endif
+
+#ifdef X11_SKINS
+#include <X11/Xlib.h>
+#endif
 
 //---------------------------------------------------------------------------
 // intf_sys_t: description and status of skin interface
@@ -78,6 +85,23 @@ struct intf_sys_t
     vlc_mutex_t init_lock;
     vlc_cond_t  init_cond;
 
+#ifdef X11_SKINS
+    Display *display;
+#endif
+
+#ifdef WIN32
+    bool b_wx_die;
+    ExitTimer *p_kludgy_timer;
+
+    // We dynamically load msimg32.dll to get a pointer to TransparentBlt()
+    HINSTANCE h_msimg32_dll;
+    BOOL (WINAPI *TransparentBlt)( HDC,int,int,int,int,HDC,int,
+                                   int,int,int,UINT );
+    // idem for user32.dll and SetLayeredWindowAttributes()
+    HINSTANCE h_user32_dll;
+    BOOL (WINAPI *SetLayeredWindowAttributes)( HWND,COLORREF,BYTE,DWORD );
+#endif
+
 };
 
 #endif