* skin_common.h: Private Skin interface description
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: skin_common.h,v 1.13 2003/06/03 22:18:58 gbazin Exp $
+ * $Id: skin_common.h,v 1.23 2003/07/20 10:38:49 gbazin Exp $
*
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
class Theme;
class Dialogs;
+class wxMenu;
class wxIcon;
#ifdef X11_SKINS
#include <X11/Xlib.h>
#endif
+// For mouse events FIXME: should be elsewhere?
+#define MOUSE_LEFT (1<<0)
+#define MOUSE_RIGHT (1<<1)
+#define KEY_CTRL (1<<2)
+#define KEY_SHIFT (1<<3)
+
+
//---------------------------------------------------------------------------
// intf_sys_t: description and status of skin interface
//---------------------------------------------------------------------------
// Interface dialogs
Dialogs *p_dialogs;
-#ifndef BASIC_SKINS
+ // Popup menu
+ vlc_bool_t b_popup_change;
+#if !defined(MODULE_NAME_IS_basic_skins)
+ wxMenu *p_popup_menu;
+
wxIcon *p_icon;
#endif
Display *display;
Window mainWin; // Window which receives "broadcast" events
vlc_mutex_t xlock;
+ Pixmap iconPixmap; // vlc icon
+ Pixmap iconMask;
#endif
#ifdef WIN32
+ // Interface thread id used to post broadcast messages
+ DWORD dwThreadId;
+
// 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,