Fix position of hidden panel, placed at screen edge with upper coordinate (usually...
[window-docker.git] / main.h
blobc9e350af300709d916cb46f9a3bd4a506222b292
1 /*
2 * Window Docker
4 * Copyright (C) 2011 Nikita Zlobin <cook60020tmp@mail.ru>
6 **************************************************************************
7 * This file is part of Window Docker utility
8 **************************************************************************
10 * Window Docker is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 3 of the License, or
13 * (at your option) any later version.
15 * Window Docker is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with Window Docker. If not, see <http://www.gnu.org/licenses/>
22 * or write to the Free Software Foundation, Inc.,
23 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
26 #ifndef __MAIN_H__
27 #define __MAIN_H__
29 #include <gtk/gtk.h>
30 #include "panel.h"
31 #include <stdint.h>
33 /* Types */
35 typedef
36 struct {
37 char * sideStr;
38 side_t side;
39 double pos;
40 int border;
42 gboolean autohiding;
43 double show_delay;
44 double hide_delay;
46 int x, y;
48 char ** last;
49 } args_t;
51 extern void sig_handler_init (void);
52 extern intmax_t str_toIntMax (char * str);
54 #endif /* __MAIN_H__ */