3 * Copyright (C) Renan Vedovato Traba 2012 <rvt10@inf.ufpr.br>
5 ButtonMaker is free software: you can redistribute it and/or modify it
6 under the terms of the GNU General Public License as published by the
7 Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
10 ButtonMaker is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 See the GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License along
16 with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef WMGENERAL_H_INCLUDED
20 #define WMGENERAL_H_INCLUDED
22 #define MAX_MOUSE_REGION (8)
25 typedef struct _rckeys rckeys
;
35 XpmAttributes attributes
;
44 /* Function Prototypes */
45 void AddMouseRegion(int idx
, int left
, int top
, int right
, int bottom
);
46 int CheckMouseRegion(int x
, int y
);
47 void openXwindow(int argc
, char *argv
[], char **, char *, int, int);
48 void RedrawWindow(void);
49 void RedrawWindowXY(int x
, int y
);
50 void copyXPMArea(int, int, int, int, int, int);
51 void copyXBMArea(int, int, int, int, int, int);
52 void setMaskXY(int, int);
53 void parse_rcfile(const char *, rckeys
*);