0
|
1 /* BMP - Cross-platform multimedia player
|
|
2 * Copyright (C) 2003-2004 BMP development team.
|
|
3 *
|
|
4 * Based on XMMS:
|
|
5 * Copyright (C) 1998-2003 XMMS development team.
|
|
6 *
|
|
7 * This program is free software; you can redistribute it and/or modify
|
|
8 * it under the terms of the GNU General Public License as published by
|
|
9 * the Free Software Foundation; either version 2 of the License, or
|
|
10 * (at your option) any later version.
|
|
11 *
|
|
12 * This program is distributed in the hope that it will be useful,
|
|
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15 * GNU General Public License for more details.
|
|
16 *
|
|
17 * You should have received a copy of the GNU General Public License
|
|
18 * along with this program; if not, write to the Free Software
|
|
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
20 */
|
|
21
|
|
22 #ifndef DOCK_H
|
|
23 #define DOCK_H
|
|
24
|
|
25 #include <glib.h>
|
|
26 #include <gtk/gtk.h>
|
|
27
|
|
28 void dock_set_uposition(GtkWindow * widget, gint x, gint y);
|
|
29 GList *dock_add_window(GList * window_list, GtkWindow * window);
|
|
30 GList *dock_remove_window(GList * window_list, GtkWindow * window);
|
|
31 void dock_move_press(GList * window_list, GtkWindow * w,
|
|
32 GdkEventButton * event, gboolean move_list);
|
|
33 void dock_move_motion(GtkWindow * w, GdkEventMotion * event);
|
|
34 void dock_move_release(GtkWindow * w);
|
|
35 void dock_get_widget_pos(GtkWindow * w, gint * x, gint * y);
|
|
36 gboolean dock_is_moving(GtkWindow * w);
|
|
37 void dock_shade(GList * window_list, GtkWindow * widget, gint new_h);
|
|
38 void dock_resize(GList * window_list, GtkWindow * w, gint new_w, gint new_h);
|
|
39
|
|
40 GList *dock_window_set_decorated(GList * list, GtkWindow * window,
|
|
41 gboolean decorated);
|
|
42
|
|
43 #endif
|