edge-resistance.h

Go to the documentation of this file.
00001 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
00002 
00003 /* Edge resistance for move/resize operations */
00004 
00005 /* 
00006  * Copyright (C) 2005 Elijah Newren
00007  * 
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License as
00010  * published by the Free Software Foundation; either version 2 of the
00011  * License, or (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful, but
00014  * WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * General Public License for more details.
00017  * 
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00021  * 02111-1307, USA.
00022  */
00023 
00024 #ifndef META_EDGE_RESISTANCE_H
00025 #define META_EDGE_RESISTANCE_H
00026 
00027 #include "window-private.h"
00028 
00029 void        meta_window_edge_resistance_for_move   (MetaWindow  *window,
00030                                                     int          old_x,
00031                                                     int          old_y,
00032                                                     int         *new_x,
00033                                                     int         *new_y,
00034                                                     GSourceFunc  timeout_func,
00035                                                     gboolean     snap,
00036                                                     gboolean     is_keyboard_op);
00037 void        meta_window_edge_resistance_for_resize (MetaWindow  *window,
00038                                                     int          old_width,
00039                                                     int          old_height,
00040                                                     int         *new_width,
00041                                                     int         *new_height,
00042                                                     int          gravity,
00043                                                     GSourceFunc  timeout_func,
00044                                                     gboolean     snap,
00045                                                     gboolean     is_keyboard_op);
00046 
00047 #endif /* META_EDGE_RESISTANCE_H */
00048 

Generated on Sat Aug 23 22:04:16 2008 for metacity by  doxygen 1.5.5