Stepan Salenikovich | 8bc51e5 | 2015-03-21 20:17:29 -0400 | [diff] [blame] | 1 | /* |
| 2 | * This code is based and adapted from: |
| 3 | * https://github.com/lolilolicon/FFcast2/blob/master/xrectsel.c |
| 4 | * |
| 5 | * now located at: |
| 6 | * https://github.com/lolilolicon/xrectsel/blob/master/xrectsel.c |
| 7 | * |
| 8 | * xrectsel.c -- print the geometry of a rectangular screen region. |
| 9 | * Copyright (C) 2011-2014 lolilolicon <lolilolicon@gmail.com> |
| 10 | * This program 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. |
| 14 | * This program is distributed in the hope that it will be useful, |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | * GNU General Public License for more details. |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 20 | */ |
| 21 | |
| 22 | #ifndef __XRECTSEL_H__ |
| 23 | #define __XRECTSEL_H__ |
| 24 | |
| 25 | G_BEGIN_DECLS |
| 26 | |
| 27 | void xrectsel(unsigned *x_sel, unsigned *y_sel, unsigned *w_sel, unsigned *h_sel); |
| 28 | |
| 29 | G_END_DECLS |
| 30 | |
| 31 | #endif /* __XRECTSEL_H__ */ |