1import os
2import sys
3import argparse
4import ctypes
5import time
6import test_utils
7
8#dictionary of XLIFF versions: versions
9xliff_versions = {
10    'version_1.2':0,
11    'version_2.0':1
12}
13
14#dictionary of string export format types
15string_export_types = {
16    'xliff':1,
17    'csv':2
18}
19
20#dictionary of cpu types : values
21
22cpu_types = {
23    'generic':0,
24    'synergy':1
25    }
26
27#define sort types of "test_add_widget" project
28STRING_SORT_TYPE_NONE = "None"
29STRING_SORT_TYPE_ID = "String ID"
30STRING_SORT_TYPE_ENGLISH = "English"
31STRING_SORT_TYPE_CHINESE = "Chinese"
32STRING_SORT_TYPE_JAPANESE = "Japanese"
33STRING_SORT_TYPE_REFERENCE_COUNT = "Reference Count"
34
35
36#define border types
37BORDER_TYPE_NONE     = "No Border"
38BORDER_TYPE_THIN     = "Thin Border"
39BORDER_TYPE_RAISED   = "Raised Border"
40BORDER_TYPE_RECESSED = "Recessed Border"
41BORDER_TYPE_THICK    = "Thick Border"
42
43#define colors
44COLOR_WHITE = "SELECTED_TEXT"
45COLOR_BLACK = "TEXT"
46
47#define pixelmaps
48PIXELMAP_FISH = "FISH"
49PIXELMAP_GAUGEMETER = "GAUGEMETER"
50PIXELMAP_HISTORY = "I_HISTORY_LG"
51PIXELMAP_NEEDLE = "NEEDLE"
52PIXELMAP_ORANGE_BUTTON = "ORANGE_BUTTON"
53PIXELMAP_SAVE_ICON = "SAVE_ICON"
54PIXELMAP_FILL = "TFIELD_FILL_SMALL"
55PIXELMAP_LEFT = "TFIELD_LEFT_SMALL"
56PIXELMAP_RIGHT= "TFIELD_RIGHT_SMALL"
57PIXELMAP_INDICATOR = "I_INDICATOR"
58PIXELMAP_INDICATOR_HORIZONTAL = "I_INDICATOR_HORIZONTAL"
59PIXELMAP_ORANGE_MIDDLE = "I_ORANGEFILL_MIDDLE"
60PIXELMAP_ORANGE_MIDDLE_HORIZONTAL = "I_ORANGEFILL_MIDDLE_HORIZONTAL"
61PIXELMAP_EMPTY_MIDDLE = "I_EMPTYFILL_MIDDLE"
62PIXELMAP_EMPTY_MIDDLE_HORIZONTAL = "I_EMPTYFILL_MIDDLE_HORIZONTAL"
63
64#define fonts
65FONT_NOTOSANSHANS = "NotoSansHans"
66FONT_VERA = "Vera"
67FONT_VERABD = "VeraBd"
68FONT_VERABI = "VeraBI"
69
70#define menu status
71MENU_ENABLED = 0
72MENU_DISABLED = 1