Date:2010-09-29 01:51:57 (13 years 6 months ago)
Author:Werner Almesberger
Commit:5fd9b33e5ab3da7304a053700de6c90b8e48eaa6
Message: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
Files: solidify/level.c (1 diff)
solidify/style.h (1 diff)

Change Details

solidify/level.c
309309    gtk_widget_set_size_request(zy,
310310        f->sz*z0_scale(f)+2*PROJECTION_BORDER, f->sy);
311311
312    gtk_table_set_row_spacings(GTK_TABLE(tab), 2);
313    gtk_table_set_col_spacings(GTK_TABLE(tab), 2);
312    gtk_table_set_row_spacings(GTK_TABLE(tab), 4);
313    gtk_table_set_col_spacings(GTK_TABLE(tab), 4);
314314
315315    gtk_table_attach_defaults(GTK_TABLE(tab), evbox, 0, 1, 0, 1);
316316    gtk_table_attach_defaults(GTK_TABLE(tab), xz, 0, 1, 1, 2);
solidify/style.h
2121
2222#define OSD_PROXIMITY 20 /* pixels */
2323#define LEVEL_CENTER_DIV 5 /* fraction of diagonal */
24#define OVERLAP_BORDER 10 /* pixels around min. drawing area */
24#define OVERLAP_BORDER 30 /* pixels around min. drawing area */
2525#define OVERLAP_CENTER_DIV 5 /* fraction of diagonal */
2626#define SLOWEST_ROT 3 /* thrice the half-diagonal */
2727#define FASTEST_ROT 2 /* one pixel in distance of 2 pixels */

Archive Download the corresponding diff file

Branches:
master



interactive