Skip to content

Commit

Permalink
implement vertical option for monsec and coord widgets
Browse files Browse the repository at this point in the history
* fix memory leak (clang-tidy warning)
  • Loading branch information
rfomin authored Jan 30, 2025
1 parent c3c3bcb commit bb74e05
Show file tree
Hide file tree
Showing 6 changed files with 277 additions and 235 deletions.
144 changes: 72 additions & 72 deletions base/all-all/sbardef.lmp
Original file line number Diff line number Diff line change
Expand Up @@ -911,12 +911,13 @@
"widget":
{
"x": 2,
"y": 152,
"y": 8,
"alignment": 16,
"tranmap": null,
"translation": null,
"type": 0,
"font": "Digits",
"vertical": true,
"conditions":
[
{
Expand All @@ -931,7 +932,7 @@
"widget":
{
"x": 2,
"y": 144,
"y": 40,
"alignment": 16,
"tranmap": null,
"translation": null,
Expand All @@ -942,10 +943,6 @@
{
"condition": 19,
"param": 3
},
{
"condition": 20,
"param": 0
}
],
"children": null
Expand All @@ -954,22 +951,18 @@
{
"widget":
{
"x": 2,
"y": 152,
"alignment": 16,
"x": 318,
"y": 8,
"alignment": 34,
"tranmap": null,
"translation": null,
"type": 1,
"type": 2,
"font": "Digits",
"conditions":
[
{
"condition": 19,
"param": 3
},
{
"condition": 21,
"param": 0
"param": 4
}
],
"children": null
Expand All @@ -978,14 +971,21 @@
{
"widget":
{
"x": 318,
"x": 256,
"y": 8,
"alignment": 34,
"alignment": 32,
"tranmap": null,
"translation": null,
"type": 2,
"font": "Digits",
"conditions": null,
"vertical": true,
"conditions":
[
{
"condition": 19,
"param": 3
}
],
"children": null
}
},
Expand Down Expand Up @@ -1752,12 +1752,13 @@
"widget":
{
"x": 2,
"y": 147,
"y": 8,
"alignment": 16,
"tranmap": null,
"translation": null,
"type": 0,
"font": "Digits",
"vertical": true,
"conditions":
[
{
Expand All @@ -1772,7 +1773,7 @@
"widget":
{
"x": 2,
"y": 139,
"y": 40,
"alignment": 16,
"tranmap": null,
"translation": null,
Expand All @@ -1783,10 +1784,6 @@
{
"condition": 19,
"param": 3
},
{
"condition": 20,
"param": 0
}
],
"children": null
Expand All @@ -1795,22 +1792,18 @@
{
"widget":
{
"x": 2,
"y": 147,
"alignment": 16,
"x": 318,
"y": 8,
"alignment": 34,
"tranmap": null,
"translation": null,
"type": 1,
"type": 2,
"font": "Digits",
"conditions":
[
{
"condition": 19,
"param": 3
},
{
"condition": 21,
"param": 0
"param": 4
}
],
"children": null
Expand All @@ -1819,14 +1812,21 @@
{
"widget":
{
"x": 318,
"x": 256,
"y": 8,
"alignment": 34,
"alignment": 32,
"tranmap": null,
"translation": null,
"type": 2,
"font": "Digits",
"conditions": null,
"vertical": true,
"conditions":
[
{
"condition": 19,
"param": 3
}
],
"children": null
}
},
Expand Down Expand Up @@ -2795,12 +2795,13 @@
"widget":
{
"x": 2,
"y": 152,
"y": 8,
"alignment": 16,
"tranmap": null,
"translation": null,
"type": 0,
"font": "Digits",
"vertical": true,
"conditions":
[
{
Expand All @@ -2815,7 +2816,7 @@
"widget":
{
"x": 2,
"y": 144,
"y": 40,
"alignment": 16,
"tranmap": null,
"translation": null,
Expand All @@ -2826,10 +2827,6 @@
{
"condition": 19,
"param": 3
},
{
"condition": 20,
"param": 0
}
],
"children": null
Expand All @@ -2838,22 +2835,18 @@
{
"widget":
{
"x": 2,
"y": 152,
"alignment": 16,
"x": 318,
"y": 8,
"alignment": 34,
"tranmap": null,
"translation": null,
"type": 1,
"type": 2,
"font": "Digits",
"conditions":
[
{
"condition": 19,
"param": 3
},
{
"condition": 21,
"param": 0
"param": 4
}
],
"children": null
Expand All @@ -2862,14 +2855,21 @@
{
"widget":
{
"x": 318,
"x": 256,
"y": 8,
"alignment": 34,
"alignment": 32,
"tranmap": null,
"translation": null,
"type": 2,
"font": "Digits",
"conditions": null,
"vertical": true,
"conditions":
[
{
"condition": 19,
"param": 3
}
],
"children": null
}
},
Expand Down Expand Up @@ -3085,12 +3085,13 @@
"widget":
{
"x": 2,
"y": 184,
"y": 8,
"alignment": 16,
"tranmap": null,
"translation": null,
"type": 0,
"font": "Digits",
"vertical": true,
"conditions":
[
{
Expand All @@ -3105,7 +3106,7 @@
"widget":
{
"x": 2,
"y": 176,
"y": 40,
"alignment": 16,
"tranmap": null,
"translation": null,
Expand All @@ -3116,10 +3117,6 @@
{
"condition": 19,
"param": 3
},
{
"condition": 20,
"param": 0
}
],
"children": null
Expand All @@ -3128,22 +3125,18 @@
{
"widget":
{
"x": 2,
"y": 184,
"alignment": 16,
"x": 318,
"y": 8,
"alignment": 34,
"tranmap": null,
"translation": null,
"type": 1,
"type": 2,
"font": "Digits",
"conditions":
[
{
"condition": 19,
"param": 3
},
{
"condition": 21,
"param": 0
"param": 4
}
],
"children": null
Expand All @@ -3152,14 +3145,21 @@
{
"widget":
{
"x": 318,
"x": 256,
"y": 8,
"alignment": 34,
"alignment": 32,
"tranmap": null,
"translation": null,
"type": 2,
"font": "Digits",
"conditions": null,
"vertical": true,
"conditions":
[
{
"condition": 19,
"param": 3
}
],
"children": null
}
},
Expand Down
Loading

0 comments on commit bb74e05

Please sign in to comment.