1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Add (back) old calculator button needles for Silverblue/flatpak

Silverblue has Calculator as an older-versioned flatpak, so it
still looks like it did in GNOME 42 (blue equals button, lighter
colored number buttons).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-08-08 17:34:32 -07:00
parent 8ede32a76c
commit 87ad2fb63e
47 changed files with 356 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 383,
"ypos": 567,
"width": 31,
"height": 25,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_add"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 313,
"ypos": 371,
"width": 32,
"height": 31,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_bclose"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 252,
"ypos": 375,
"width": 22,
"height": 25,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_bopen"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 385,
"ypos": 422,
"width": 28,
"height": 23,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_div"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 248,
"ypos": 566,
"width": 29,
"height": 25,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_divider"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 251,
"ypos": 423,
"width": 24,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_eight"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 451,
"ypos": 539,
"width": 30,
"height": 33,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_equals"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 250,
"ypos": 467,
"width": 28,
"height": 28,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_five"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 182,
"ypos": 470,
"width": 30,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_four"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 382,
"ypos": 378,
"width": 37,
"height": 21,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_mod"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 387,
"ypos": 470,
"width": 26,
"height": 23,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_multi"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 317,
"ypos": 421,
"width": 27,
"height": 24,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_nine"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 178,
"ypos": 515,
"width": 31,
"height": 28,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_one"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 317,
"ypos": 564,
"width": 27,
"height": 27,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_percent"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 452,
"ypos": 373,
"width": 32,
"height": 29,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_pi"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 453,
"ypos": 418,
"width": 31,
"height": 31,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_root"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 182,
"ypos": 421,
"width": 28,
"height": 25,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_seven"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 318,
"ypos": 471,
"width": 28,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_six"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 454,
"ypos": 470,
"width": 28,
"height": 26,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_square"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 383,
"ypos": 515,
"width": 34,
"height": 26,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_sub"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 319,
"ypos": 518,
"width": 26,
"height": 24,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_three"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 251,
"ypos": 518,
"width": 23,
"height": 26,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_two"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 181,
"ypos": 566,
"width": 28,
"height": 24,
"type": "match"
}
],
"properties": [],
"tags": [
"calc_button_zero"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 KiB

View File

@ -0,0 +1,11 @@
#!/bin/python
import glob
import shutil
for fn in glob.glob("calc_button*.json"):
basename = fn.split(".")[0]
newjson = f"{basename}-flatpak-20220808.json"
newpng = f"{basename}-flatpak-20220808.png"
shutil.copy2(fn, newjson)
shutil.copy2("/tmp/old.png", newpng)