summaryrefslogtreecommitdiff
path: root/plugins/gtkui/widgets.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-06-17 23:20:45 +0200
committerGravatar waker <wakeroid@gmail.com>2011-06-17 23:20:45 +0200
commitfe1790fd889dfacc6e4f4a32bfebe29789d5a9ed (patch)
treeb6e23533f7aeeedba4e587487c9611fed4952d6c /plugins/gtkui/widgets.h
parent081386fa03e82ca64aa14a5bd5e8bd3ba8b2ba9a (diff)
initial work to add customizable layout support:
defined data structures, few stubs, many regressions, implemented tabbed playlist widget; now it should be possible to have several playlist viewers visible at the same time; playlist keyboard handling is partially broken
Diffstat (limited to 'plugins/gtkui/widgets.h')
-rw-r--r--plugins/gtkui/widgets.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/plugins/gtkui/widgets.h b/plugins/gtkui/widgets.h
new file mode 100644
index 00000000..e4d8c734
--- /dev/null
+++ b/plugins/gtkui/widgets.h
@@ -0,0 +1,44 @@
+/*
+ DeaDBeeF - ultimate music player for GNU/Linux systems with X11
+ Copyright (C) 2009-2011 Alexey Yakovenko <waker@users.sourceforge.net>
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+*/
+#ifndef __WIDGETS_H
+#define __WIDGETS_H
+
+#include "gtkui_api.h"
+
+void
+w_append (ddb_gtkui_widget_t *cont, ddb_gtkui_widget_t *child);
+
+ddb_gtkui_widget_t *
+w_create_hsplitter (void);
+
+ddb_gtkui_widget_t *
+w_create_vsplitter (void);
+
+ddb_gtkui_widget_t *
+w_create_box (void);
+
+ddb_gtkui_widget_t *
+w_create_tabstrip (void);
+
+ddb_gtkui_widget_t *
+w_tabbed_playlist_create (void);
+
+ddb_gtkui_widget_t *
+w_create_playlist (void);
+#endif