summaryrefslogtreecommitdiffstats
path: root/src/widgets/widget-sizes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widget-sizes.h')
-rw-r--r--src/widgets/widget-sizes.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/widgets/widget-sizes.h b/src/widgets/widget-sizes.h
new file mode 100644
index 0000000..8dd8c6c
--- /dev/null
+++ b/src/widgets/widget-sizes.h
@@ -0,0 +1,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 :