diff options
author | waker <wakeroid@gmail.com> | 2009-08-08 20:48:14 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-08 20:48:14 +0200 |
commit | f52d8c85bffa85414f00e018fe31486f7190256f (patch) | |
tree | aec4ba61c0545ef2ccec78d7091e863bc0914b14 /search.c | |
parent | 9aed1e396be8c506de66047a1f26d2289c1642cb (diff) |
initial searchwin stuff
Diffstat (limited to 'search.c')
-rw-r--r-- | search.c | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/search.c b/search.c new file mode 100644 index 00000000..61248d22 --- /dev/null +++ b/search.c @@ -0,0 +1,58 @@ +/* + DeaDBeeF - ultimate music player for GNU/Linux systems with X11 + Copyright (C) 2009 Alexey Yakovenko + + 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 3 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, see <http://www.gnu.org/licenses/>. +*/ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + +#include <gtk/gtk.h> +#include <math.h> +#include <stdlib.h> +#include <string.h> + +#include "callbacks.h" +#include "interface.h" +#include "support.h" + +#include "search.h" + +static GtkWidget *searchwin = NULL; + +void +search_start (void) { + if (!searchwin) { + searchwin = create_searchwin (); + } + gtk_widget_show (searchwin); + gtk_window_present (GTK_WINDOW (searchwin)); +} + +gboolean +on_searchwin_key_press_event (GtkWidget *widget, + GdkEventKey *event, + gpointer user_data) +{ + return FALSE; +} + + +void +on_searchentry_changed (GtkEditable *editable, + gpointer user_data) +{ +} + |