]> git.sesse.net Git - vlc/blob - modules/gui/skins/gtk2/gtk2_dragdrop.h
* enabled scrolling in the playlist with the mouse wheel
[vlc] / modules / gui / skins / gtk2 / gtk2_dragdrop.h
1 /*****************************************************************************
2  * gtk2_dragdrop.h: GTK2 implementation of the drag & drop
3  *****************************************************************************
4  * Copyright (C) 2003 VideoLAN
5  * $Id: gtk2_dragdrop.h,v 1.3 2003/04/19 11:46:11 asmax Exp $
6  *
7  * Authors: Cyril Deguet     <asmax@videolan.org>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111,
22  * USA.
23  *****************************************************************************/
24
25
26 #ifndef VLC_SKIN_GTK2_DRAGDROP
27 #define VLC_SKIN_GTK2_DRAGDROP
28
29 //--- GTK2 -----------------------------------------------------------------
30 #include <gdk/gdk.h>
31
32 #include <stdio.h>
33
34 //---------------------------------------------------------------------------
35 class GTK2DropObject
36 {
37     private:
38         intf_thread_t *p_intf;
39
40     public:
41        GTK2DropObject( intf_thread_t *_p_intf );
42        virtual ~GTK2DropObject();
43
44        void HandleDropStart( GdkDragContext *context );
45 };
46 //---------------------------------------------------------------------------
47 #endif