* skin-main.cpp: skins plugin for VLC
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: skin_main.cpp,v 1.32 2003/06/04 16:03:33 gbazin Exp $
+ * $Id: skin_main.cpp,v 1.33 2003/06/06 23:34:35 asmax Exp $
*
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
delete Loader;
- msg_Err( p_intf, "Load theme time : %i ms", OSAPI_GetTime() - a );
+ msg_Dbg( p_intf, "Load theme time : %i ms", OSAPI_GetTime() - a );
// Refresh the whole interface
OSAPI_PostMessage( NULL, VLC_INTF_REFRESH, 0, (int)true );
* x11_font.cpp: X11 implementation of the Font class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: x11_font.cpp,v 1.6 2003/06/06 21:47:18 asmax Exp $
+ * $Id: x11_font.cpp,v 1.7 2003/06/06 23:34:35 asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
size = ( size < 10 ? 8 : 12 );
snprintf( name, 256, "-*-helvetica-bold-%c-*-*-*-%i-*-*-*-*-*-*",
slant, 10 * size );
- msg_Warn( _p_intf, "loading font %s", name );
+ msg_Dbg( _p_intf, "loading font %s", name );
XLOCK;
font = XLoadFont( display, name );
* x11_window.cpp: X11 implementation of the Window class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: x11_window.cpp,v 1.9 2003/06/01 22:11:24 asmax Exp $
+ * $Id: x11_window.cpp,v 1.10 2003/06/06 23:34:35 asmax Exp $
*
* Authors: Cyril Deguet <asmax@videolan.org>
*
SendMessage( ToolTipWindow, TTM_ADDTOOL, 0,
(LPARAM)(LPTOOLINFO) &ToolTipInfo );
*/
+
+
if( DragDrop )
{
// register the listview as a drop target
}
// Create Tool Tip window
-/* GdkWindowAttr attr;
- attr.event_mask = GDK_ALL_EVENTS_MASK;
- attr.width = 100;
- attr.height = 100;
- attr.window_type = GDK_WINDOW_CHILD;
- attr.wclass = GDK_INPUT_OUTPUT;
- gint mask = 0;
- ToolTipWindow = gdk_window_new( gwnd, &attr, mask);*/
+ ToolTipWindow = XCreateSimpleWindow( display, wnd, 0, 0, 1, 1, 0, 0, 0 );
}
//---------------------------------------------------------------------------
X11Window::~X11Window()
if( hWnd != NULL )
{
DestroyWindow( hWnd );
- }
+ }*/
if( ToolTipWindow != NULL )
{
- DestroyWindow( ToolTipWindow );
- }
+ XDestroyWindow( display, ToolTipWindow );
+ }/*
if( DragDrop )
{
// Remove the listview from the list of drop targets
//---------------------------------------------------------------------------
void X11Window::ChangeToolTipText( string text )
{
-/* if( text == "none" )
+ if( text == "none" )
{
if( ToolTipText != "none" )
{
ToolTipText = "none";
- ToolTipInfo.lpszText = NULL;
- SendMessage( ToolTipWindow, TTM_ACTIVATE, 0 , 0 );
+// ToolTipInfo.lpszText = NULL;
+ // SendMessage( ToolTipWindow, TTM_ACTIVATE, 0 , 0 );
}
}
else
if( text != ToolTipText )
{
ToolTipText = text;
- ToolTipInfo.lpszText = (char *)ToolTipText.c_str();
- SendMessage( ToolTipWindow, TTM_ACTIVATE, 1 , 0 );
+ // ToolTipInfo.lpszText = (char *)ToolTipText.c_str();
+ /* SendMessage( ToolTipWindow, TTM_ACTIVATE, 1 , 0 );
SendMessage( ToolTipWindow, TTM_UPDATETIPTEXT, 0,
- (LPARAM)(LPTOOLINFO)&ToolTipInfo );
+ (LPARAM)(LPTOOLINFO)&ToolTipInfo );*/
}
}
-*/
}
//---------------------------------------------------------------------------