00001 // Copyright (c) 2003 - 2004 Anselm R. Garbe <anselmg at t-online.de> 00002 // See ../LICENSE.txt for license details. 00003 // 00004 // $Id: float.h 7 2007-05-24 11:03:53Z eg1981 $ 00005 00006 #ifndef __FLOAT_H 00007 #define __FLOAT_H 00008 00009 #include "ncwm.h" 00010 00011 class Rectangle; 00012 00017 class Float { 00018 00019 public: 00020 00022 static void resize(Rectangle *rect, Direction dir, 00023 int stepW, int stepH); 00024 00025 static void move(Rectangle *rect, int stepW, int stepH); 00026 00027 static void center(Rectangle *rect, Rectangle *parentRect); 00028 00029 }; 00030 #endif // __FLOAT_H