2022.01.31.2
26
MockupEngineer/templates/macbookpro162019/__init__.py
Normal 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
|
BIN
MockupEngineer/templates/macbookpro162019/example.png
Normal file
After Width: | Height: | Size: 321 KiB |
After Width: | Height: | Size: 204 KiB |
BIN
MockupEngineer/templates/macbookpro162019/spacegray/portrait.png
Normal file
After Width: | Height: | Size: 204 KiB |
27
MockupEngineer/templates/macbookpro162021/__init__.py
Normal 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
|
BIN
MockupEngineer/templates/macbookpro162021/example.png
Normal file
After Width: | Height: | Size: 449 KiB |
BIN
MockupEngineer/templates/macbookpro162021/silver/landscape.png
Normal file
After Width: | Height: | Size: 388 KiB |
BIN
MockupEngineer/templates/macbookpro162021/silver/portrait.png
Normal file
After Width: | Height: | Size: 388 KiB |
After Width: | Height: | Size: 403 KiB |
BIN
MockupEngineer/templates/macbookpro162021/spacegray/portrait.png
Normal file
After Width: | Height: | Size: 403 KiB |
|
@ -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)
|
* [Apple MacBook Pro 15"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/macbookpro152015/example.png) [2880 x 1800] (2015)
|
||||||
* Silver
|
* 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
|
### Tablets
|
||||||
* [Apple iPad 9](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/ipad9/example.png) [2160 x 1620] (2021)
|
* [Apple iPad 9](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/ipad9/example.png) [2160 x 1620] (2021)
|
||||||
* Gold
|
* Gold
|
||||||
|
|
2
setup.py
|
@ -3,7 +3,7 @@ from setuptools import setup, find_packages
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='MockupEngineer',
|
name='MockupEngineer',
|
||||||
version='2022.01.31.1',
|
version='2022.01.31.2',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
url='https://github.com/ulbwazhine/MockupEngineer',
|
url='https://github.com/ulbwazhine/MockupEngineer',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
|
|