WindowUtils.h
/*
* $Id: WindowXid.h 2839 2009-09-28 11:36:20Z karijes $
*
* Window utils
* Copyright (c) 2009-2011 edelib authors
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __EDELIB_WINDOWUTILS_H__
#define __EDELIB_WINDOWUTILS_H__
#include "edelib-global.h"
class Fl_Window;
EDELIB_NS_BEGIN
void window_xid_create(Fl_Window* win, void (*before_map_func)(Fl_Window*) = NULL, int background_pixel = -1);
void window_center_on_screen(Fl_Window* win);
EDELIB_NS_END
#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)