2022.01.30.1

This commit is contained in:
ульба 2022-01-30 20:34:14 +05:00
parent 4629b2b2ee
commit 49cfdf7409
18 changed files with 42 additions and 1 deletions

View File

@ -0,0 +1,32 @@
from dataclasses import dataclass
from MockupEngineer.templates import Template
@dataclass
class Device(Template):
def __device_init__(self):
self.manufacturer = 'Apple'
self.name = 'iMac 24"'
self.type = 'pc'
self.year = 2021
self.resolution = '{width} x {height}'.format(width=4480, height=2520)
self.__template_path__ = 'imac242021'
self.__colors__ = {"Blue": 'blue',
"Green": 'green',
"Orange": 'orange',
"Pink": 'pink',
"Purple": 'purple',
"Silver": 'silver',
"Yellow": 'yellow'}
self.__portrait_width__ = 4216
self.__portrait_height__ = 2375
self.__portrait_x__ = 517
self.__portrait_y__ = 302
self.__landscape_width__ = 4216
self.__landscape_height__ = 2375
self.__landscape_x__ = 517
self.__landscape_y__ = 302

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 MiB

View File

@ -147,6 +147,15 @@ Full list of all currently supported mockups
* [Apple iMac 21"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/imac212015/example.png) [4096 x 2304] (2015)
* Silver
* [Apple iMac 24"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/imac242021/example.png) [4480 x 2520] (2021)
* Blue
* Green
* Orange
* Pink
* Purple
* Silver
* Yellow
* [Apple MacBook 12"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/macbook122016/example.png) [2304 x 1440] (2016)
* Gold
* Space Gray

View File

@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name='MockupEngineer',
version='2022.01.25.2',
version='2022.01.30.1',
packages=find_packages(),
url='https://github.com/ulbwazhine/MockupEngineer',
license='MIT',