summaryrefslogtreecommitdiffstats
path: root/src/widgets/widget-sizes.h
blob: 8dd8c6c40b86709b56211ea1101399c5ac1d0feb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// SPDX-License-Identifier: GPL-2.0-or-later
/** @file
 * TODO: insert short description here
 *//*
 * Authors: see git history
 *
 * Copyright (C) 2016 Authors
 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
 */
// #define TOOL_BUTTON_SIZE 28

// GTK uses 24 for icon sizes by default.  Spacing adjust to keep the
// toolbar the same as other GTK applications.  If we want that, use
// these defines instead:
//#define AUX_BUTTON_SIZE 24
//#define AUX_SPACING 2

// #define AUX_BUTTON_SIZE 20
#define AUX_SPACING 3

#define AUX_BETWEEN_BUTTON_GROUPS 7
#define AUX_BETWEEN_SPINBUTTONS 0
#define AUX_SPINBUTTON_WIDTH 62
#define AUX_SPINBUTTON_WIDTH_SMALL 56
#define AUX_SPINBUTTON_HEIGHT 20
#define AUX_OPTION_MENU_WIDTH 55
#define AUX_OPTION_MENU_HEIGHT 20
#define AUX_MENU_ITEM_WIDTH 32
#define AUX_MENU_ITEM_HEIGHT 18

#define SPIN_STEP 0.1
#define SPIN_PAGE_STEP 5.0

#define BOTTOM_BAR_HEIGHT 20
#define BOTTOM_BUTTON_SIZE 14

#define STATUS_BAR_FONT_SIZE 10000

#define STATUS_ZOOM_WIDTH 57
#define STATUS_ROTATION_WIDTH 57

#define SELECTED_STYLE_SB_WIDTH 48
#define SELECTED_STYLE_WIDTH 190
#define STYLE_SWATCH_WIDTH 135

#define STATUS_LAYER_FONT_SIZE 7700

/*
  Local Variables:
  mode:c++
  c-file-style:"stroustrup"
  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
  indent-tabs-mode:nil
  fill-column:99
  End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :