edelib: edelib/WindowUtils.h Source File

edelib 1.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List

WindowUtils.h
1 /*
2 * $Id: WindowXid.h 2839 2009-09-28 11:36:20Z karijes $
3 *
4 * Window utils
5 * Copyright (c) 2009-2011 edelib authors
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with this library. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef __EDELIB_WINDOWUTILS_H__
22 #define __EDELIB_WINDOWUTILS_H__
23
24 #include "edelib-global.h"
25
26 class Fl_Window;
27
28 EDELIB_NS_BEGIN
29
44 void window_xid_create(Fl_Window* win, void (*before_map_func)(Fl_Window*) = NULL, int background_pixel = -1);
45
52 void window_center_on_screen(Fl_Window* win);
53
54 EDELIB_NS_END
55 #endif
edelib::window_xid_create
void window_xid_create(Fl_Window *win, void(*before_map_func)(Fl_Window *)=((void *) 0), int background_pixel=-1)
edelib::window_center_on_screen
void window_center_on_screen(Fl_Window *win)