/*
* ion/ioncore/sizepolicy.h
*
- * Copyright (c) Tuomo Valkonen 1999-2007.
+ * Copyright (c) Tuomo Valkonen 1999-2009.
*
- * Ion 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.1 of the License, or
- * (at your option) any later version.
+ * See the included file LICENSE for details.
*/
#ifndef ION_IONCORE_SIZEPOLICY_H
#define SIZEPOLICY_STRETCH_TOP 0x08
#define SIZEPOLICY_STRETCH_BOTTOM 0x09
#define SIZEPOLICY_UNCONSTRAINED 0x10
+#define SIZEPOLICY_VISIBILITY_CONSTRAINED 0x11
#define SIZEPOLICY_GRAVITY_NORTHWEST (SIZEPOLICY_GRAVITY|SIZEPOLICY_VERT_TOP|SIZEPOLICY_HORIZ_LEFT)
#define SIZEPOLICY_GRAVITY_NORTH (SIZEPOLICY_GRAVITY|SIZEPOLICY_VERT_TOP|SIZEPOLICY_HORIZ_CENTER)
WFitParams *fp);
-bool string2sizepolicy(const char *szplcy, WSizePolicy *value);
-
+extern bool string2sizepolicy(const char *szplcy, WSizePolicy *value);
+extern const char *sizepolicy2string(WSizePolicy szplcy);
#endif /* ION_IONCORE_SIZEPOLICY_H */