diff template/dw.c @ 1475:e0212278f794

Added dw_window_set_gravity() to the template and readme.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 20 Dec 2011 18:05:13 +0000
parents b9577d1f0411
children 4a9c574d5c17
line wrap: on
line diff
--- a/template/dw.c	Tue Dec 20 16:31:04 2011 +0000
+++ b/template/dw.c	Tue Dec 20 18:05:13 2011 +0000
@@ -2781,6 +2781,18 @@
 }
 
 /*
+ * Sets the gravity of a given window (widget).
+ * Gravity controls which corner of the screen and window the position is relative to.
+ * Parameters:
+ *          handle: Window (widget) handle.
+ *          horz: DW_GRAV_LEFT (default), DW_GRAV_RIGHT or DW_GRAV_CENTER.
+ *          vert: DW_GRAV_TOP (default), DW_GRAV_BOTTOM or DW_GRAV_CENTER.
+ */
+void API dw_window_set_gravity(HWND handle, int horz, int vert)
+{
+}
+
+/*
  * Sets the position of a given window (widget).
  * Parameters:
  *          handle: Window (widget) handle.