Initial commit
[resorg.git] / ui.h
blob1efc3560ccc63ba1aa12d4bbb20f7c5328f09871
1 /*
2 * This file is part of Resources Organizer.
4 * Copyright (C) 2014 Nikita Zlobin <nick87720z@gmail.com>
6 * Resource Organizer is free software: you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * Resource Organizer is distributed in the hope that it will be
12 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with Resource Organizer. If not, see
18 * <http://www.gnu.org/licenses/>.
21 #include <gtk/gtk.h>
23 enum column
25 COL_NAME = 0,
26 COL_TYPE_NAME,
27 COL_AUTHOR,
28 COL_TIP,
29 COL_FILE,
30 COL_URL,
32 COLUMNS
35 extern GtkBuilder * builder;
36 extern GtkWidget * win;
37 extern GtkListStore * list;
38 extern GtkTreeModelFilter * filter;
39 extern GtkTreeModelSort * sort;
40 extern GtkTreeView * view;
41 extern GtkEntryBuffer * filterBuffer;
42 extern GtkCheckButton * ladspaCheck,
43 * dssiCheck,
44 * lv2Check,
45 * vstCheck;
47 extern gboolean filter_visible (
48 GtkTreeModel * model,
49 GtkTreeIter * iter,
50 gpointer user_data
53 extern int ui_init (int argc, char ** argv);
54 extern void gErrorReport (GError ** err);