| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- class View:
- def __init__(self, config={}):
- self.x = config['x'] if 'x' in config else 0
- self.y = config['y'] if 'y' in config else 0
- self.width = config['width'] if 'width' in config else 0
- self.height = config['height'] if 'height' in config else 0
- def dimensions(self):
- pass
- # Major -> Minor -> Menu -> Item
- #
- # MAJOR
- # _____________________
- # | |
- # | |
- # | |
- # | |
- # | |
- # |_____________________|
- #
- #
- # MINOR
- # _____
- # | |
- # | |
- # |_____|
- #
- #
- # MENU
- # _________________
- # | |
- # |_________________|
- #
- #
- # ITEM
- #
- # ____
- # |____|
- #
|