forked from gildor2/UEViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UIPrivate.h
38 lines (27 loc) · 1.04 KB
/
UIPrivate.h
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
// Simple UI library.
// Copyright (C) 2022 Konstantin Nosov
// Licensed under the BSD license. See LICENSE.txt file in the project root for full license information.
#define USE_EXPLORER_STYLE 1 // use modern control style whenever possible
#define FIRST_DIALOG_ID 4000
#define FIRST_MENU_ID 8000
#define DEFAULT_MARGIN 6
#define VERTICAL_SPACING DEFAULT_MARGIN
#define HORIZONTAL_SPACING (DEFAULT_MARGIN*2)
#define DEFAULT_HORZ_BORDER 7
#define DEFAULT_LABEL_HEIGHT 14
#define DEFAULT_PROGRESS_BAR_HEIGHT 18
#define DEFAULT_BUTTON_HEIGHT 20
#define DEFAULT_CHECKBOX_HEIGHT 18
#define DEFAULT_EDIT_HEIGHT 20
#define DEFAULT_COMBOBOX_HEIGHT 20
#define DEFAULT_COMBOBOX_LIST_HEIGHT 200 // height of combobox dropdown list
#define DEFAULT_LISTBOX_HEIGHT -1
#define DEFAULT_TREEVIEW_HEIGHT -1
#define DEFAULT_TREE_ITEM_HEIGHT 0
#define MIN_CONTROL_WIDTH 80
#define GROUP_INDENT 10
#define GROUP_MARGIN_TOP 16
#define GROUP_MARGIN_BOTTOM 7
#define TAB_MARGIN_TOP 30
#define TAB_MARGIN_OTHER 10
#define MAX_TITLE_LEN 256