changeset 553:32cf2e7992fd

Change default positions of dividers since width of the main menu was increased.
author zas_
date Sat, 03 May 2008 08:35:08 +0000
parents d93498f2a0f6
children 2da72a136070
files src/layout.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/layout.c	Fri May 02 23:11:31 2008 +0000
+++ b/src/layout.c	Sat May 03 08:35:08 2008 +0000
@@ -40,11 +40,12 @@
 #define MAINWINDOW_DEF_WIDTH 700
 #define MAINWINDOW_DEF_HEIGHT 500
 
-#define MAIN_WINDOW_DIV_HPOS 270
-#define MAIN_WINDOW_DIV_VPOS 200
+#define MAIN_WINDOW_DIV_HPOS (MAINWINDOW_DEF_WIDTH / 2)
+#define MAIN_WINDOW_DIV_VPOS (MAINWINDOW_DEF_HEIGHT / 2)
 
 #define TOOLWINDOW_DEF_WIDTH 260
 #define TOOLWINDOW_DEF_HEIGHT 450
+
 #define PROGRESS_WIDTH 150
 #define ZOOM_LABEL_WIDTH 64