Root/solidify/style.h

1/*
2 * style.h - GUI style parameters and items
3 *
4 * Written 2010 by Werner Almesberger
5 * Copyright 2010 by Werner Almesberger
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 */
12
13#ifndef STYLE_H
14#define STYLE_H
15
16#include <gtk/gtk.h>
17
18
19extern GdkGC *gc_osd;
20
21
22#define OSD_PROXIMITY 20 /* pixels */
23#define LEVEL_CENTER_DIV 5 /* fraction of diagonal */
24#define OVERLAP_BORDER 30 /* pixels around min. drawing area */
25#define OVERLAP_CENTER_DIV 5 /* fraction of diagonal */
26#define SLOWEST_ROT 3 /* thrice the half-diagonal */
27#define FASTEST_ROT 2 /* one pixel in distance of 2 pixels */
28#define DIST_STEPS 5 /* fastest shift is 5 px/wheel step */
29#define PROJECTION_BORDER 2 /* pixels around projections */
30
31
32void init_style(GdkDrawable *da);
33
34#endif /* !STYLE_H */
35

Archive Download this file

Branches:
master



interactive