aboutsummaryrefslogtreecommitdiff
path: root/test/state/tree-mobile.goldenified.json
blob: 7e86ac2f8305c767d315e2c4c82b1944de89de33 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[
    {
        "settings": {
            "hasHeaders": true,
            "constrainDragToContainer": false,
            "reorderEnabled": true,
            "selectionEnabled": false,
            "popoutWholeStack": false,
            "blockedPopoutsThrowError": true,
            "closePopoutsOnUnload": true,
            "showPopoutIcon": false,
            "showMaximiseIcon": true,
            "showCloseIcon": false,
            "responsiveMode": "onload",
            "tabOverlapAllowance": 0,
            "reorderOnTabMenuClick": true,
            "tabControlOffset": 10
        },
        "dimensions": {
            "borderWidth": 5,
            "borderGrabWidth": 15,
            "minItemHeight": 10,
            "minItemWidth": 10,
            "headerHeight": 20,
            "dragProxyWidth": 300,
            "dragProxyHeight": 200
        },
        "labels": {
            "close": "close",
            "maximise": "maximise",
            "minimise": "minimise",
            "popout": "open in new window",
            "popin": "pop in",
            "tabDropdown": "additional tabs"
        },
        "content": [
            {
                "type": "column",
                "content": [
                    {
                        "type": "column",
                        "width": 100,
                        "content": [
                            {
                                "type": "row",
                                "height": 50,
                                "content": [
                                    {
                                        "type": "component",
                                        "componentName": "tree",
                                        "componentState": {
                                            "id": 1,
                                            "cmakeArgs": "",
                                            "customOutputFilename": "hellow",
                                            "isCMakeProject": true,
                                            "compilerLanguageId": "c++",
                                            "files": [
                                                {
                                                    "fileId": 1,
                                                    "isIncluded": true,
                                                    "isOpen": false,
                                                    "isMainSource": true,
                                                    "filename": "CMakeLists.txt",
                                                    "content": "project(hello)\n\nadd_executable(hellow\n    example.cpp)\n\ntarget_link_libraries(hellow\n    fmtd)\n",
                                                    "editorId": -1,
                                                    "langId": "cmake"
                                                },
                                                {
                                                    "fileId": 2,
                                                    "isIncluded": true,
                                                    "isOpen": false,
                                                    "isMainSource": false,
                                                    "filename": "example.cpp",
                                                    "content": "#include \"fmt/core.h\"\n\nint main() {\n    fmt::print(\"H€llo, world!\\n\");\n    return 0;\n}",
                                                    "editorId": -1,
                                                    "langId": "c++"
                                                },
                                                {
                                                    "fileId": 3,
                                                    "isIncluded": true,
                                                    "isOpen": false,
                                                    "isMainSource": false,
                                                    "filename": "subdir/hello.txt",
                                                    "content": "Hello, World!!!!\n",
                                                    "editorId": -1,
                                                    "langId": "cmake"
                                                }
                                            ],
                                            "newFileId": 4
                                        },
                                        "isClosable": true,
                                        "reorderEnabled": true
                                    }
                                ]
                            },
                            {
                                "type": "row",
                                "height": 50,
                                "content": [
                                    {
                                        "type": "stack",
                                        "width": 100,
                                        "content": [
                                            {
                                                "type": "component",
                                                "componentName": "compiler",
                                                "componentState": {
                                                    "id": 1,
                                                    "compiler": "g103",
                                                    "tree": 1,
                                                    "options": "-g -O3 -flto",
                                                    "filters": {
                                                        "binary": false,
                                                        "commentOnly": true,
                                                        "demangle": true,
                                                        "directives": true,
                                                        "execute": false,
                                                        "intel": true,
                                                        "labels": true,
                                                        "trim": false
                                                    },
                                                    "libs": [
                                                        {
                                                            "name": "fmt",
                                                            "ver": "700"
                                                        }
                                                    ],
                                                    "lang": "c++"
                                                },
                                                "isClosable": true,
                                                "reorderEnabled": true
                                            },
                                            {
                                                "type": "component",
                                                "componentName": "output",
                                                "componentState": {
                                                    "compiler": 1,
                                                    "wrap": false,
                                                    "fontScale": 14
                                                },
                                                "isClosable": true,
                                                "reorderEnabled": true
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        ]
    }
]