2022.01.31.2

This commit is contained in:
ульба 2022-01-31 21:31:50 +05:00
parent ec1d26f6d2
commit 4bb6b87aa1
12 changed files with 61 additions and 1 deletions

View File

@ -0,0 +1,26 @@
from dataclasses import dataclass
from MockupEngineer.templates import Template
@dataclass
class Device(Template):
def __device_init__(self):
self.manufacturer = 'Apple'
self.name = 'MacBook Pro 16"'
self.type = 'pc'
self.year = 2019
self.resolution = '{width} x {height}'.format(width=3072, height=1920)
self.__template_path__ = 'macbookpro162019'
self.__colors__ = {"Space Gray": 'spacegray'}
self.__portrait_width__ = 1833
self.__portrait_height__ = 1147
self.__portrait_x__ = 340
self.__portrait_y__ = 224
self.__landscape_width__ = 1833
self.__landscape_height__ = 1147
self.__landscape_x__ = 340
self.__landscape_y__ = 224

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

View File

@ -0,0 +1,27 @@
from dataclasses import dataclass
from MockupEngineer.templates import Template
@dataclass
class Device(Template):
def __device_init__(self):
self.manufacturer = 'Apple'
self.name = 'MacBook Pro 16"'
self.type = 'pc'
self.year = 2021
self.resolution = '{width} x {height}'.format(width=3456, height=2234)
self.__template_path__ = 'macbookpro162021'
self.__colors__ = {"Silver": 'silver',
"Space Gray": 'spacegray'}
self.__portrait_width__ = 1502
self.__portrait_height__ = 963
self.__portrait_x__ = 499
self.__portrait_y__ = 261
self.__landscape_width__ = 1502
self.__landscape_height__ = 963
self.__landscape_x__ = 499
self.__landscape__ = 261

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 KiB

View File

@ -170,6 +170,13 @@ Full list of all currently supported mockups
* [Apple MacBook Pro 15"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/macbookpro152015/example.png) [2880 x 1800] (2015)
* Silver
* [Apple MacBook Pro 16"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/macbookpro162019/example.png) [3072 x 1920] (2019)
* Space Gray
* [Apple MacBook Pro 16"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/macbookpro162021/example.png) [3456 x 2234] (2021)
* Silver
* Space Gray
### Tablets
* [Apple iPad 9](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/ipad9/example.png) [2160 x 1620] (2021)
* Gold

View File

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