Increased some borders/gaps for better visual appearance.

- solidify/level.c (level): increase gap between table cells from 2 to 4
  pixels for better visual separation of projections
- solidify/style.h (OVERLAP_BORDER): increased from 10 to 30 pixels
This commit is contained in:
Werner Almesberger 2010-09-28 20:51:57 -03:00
parent f2963b9e2a
commit 5fd9b33e5a
2 changed files with 3 additions and 3 deletions

View File

@ -309,8 +309,8 @@ void level(GtkWidget *canvas, struct face *f)
gtk_widget_set_size_request(zy,
f->sz*z0_scale(f)+2*PROJECTION_BORDER, f->sy);
gtk_table_set_row_spacings(GTK_TABLE(tab), 2);
gtk_table_set_col_spacings(GTK_TABLE(tab), 2);
gtk_table_set_row_spacings(GTK_TABLE(tab), 4);
gtk_table_set_col_spacings(GTK_TABLE(tab), 4);
gtk_table_attach_defaults(GTK_TABLE(tab), evbox, 0, 1, 0, 1);
gtk_table_attach_defaults(GTK_TABLE(tab), xz, 0, 1, 1, 2);

View File

@ -21,7 +21,7 @@ extern GdkGC *gc_osd;
#define OSD_PROXIMITY 20 /* pixels */
#define LEVEL_CENTER_DIV 5 /* fraction of diagonal */
#define OVERLAP_BORDER 10 /* pixels around min. drawing area */
#define OVERLAP_BORDER 30 /* pixels around min. drawing area */
#define OVERLAP_CENTER_DIV 5 /* fraction of diagonal */
#define SLOWEST_ROT 3 /* thrice the half-diagonal */
#define FASTEST_ROT 2 /* one pixel in distance of 2 pixels */