Florian Festi
72aeb95bd5
Rename LidSetting to SlideOnLidSetting
...
to free the name of the generic lids
2023-04-06 20:21:44 +02:00
Rotzbua
11340448fa
Add typing: magic methods
2023-01-09 07:55:59 +01:00
Rotzbua
5fae61bd0d
Fix typos and docstrings
2023-01-02 16:15:13 +01:00
suks.ae
3d7986f130
updated list of used edge characters in documentation
...
added reserved chars for generator use
changed generator template to reserved char
2022-04-19 21:57:58 +02:00
Florian Festi
a38254667c
Remove no longer needed line in _template.py
2019-07-18 20:55:07 +02:00
Florian Festi
0d07f48b7f
Remove .open() call from the .render() method
...
Having this call there was necessary in the past as the open() method would
need the canvas size as a parameter. This is now determined automatically
after rendering.
Still calling open() is deprecated but won't result in an error.
2019-02-08 17:43:15 +01:00
Florian Festi
861c8451e2
Remove call to .close() from .render() method
...
There is really no need for all the generator to care
Still calling it is deprecated but won't result in an error
2019-02-08 17:32:04 +01:00
Marius Bergmann
c0325b52ac
template: Remove invalid parameter and whitespace
2017-11-03 22:54:06 +01:00
Florian Festi
9dbc8fd98b
Modernize _template.py
2017-09-16 21:30:41 +02:00
Florian Festi
074646fdec
_template.py tweaks
2017-05-20 20:41:51 +02:00
Florian Festi
5b9c8e4d71
Remove main function from generators
...
Generators are no longer executable on their own. Use scripts/boxes
instead.
2017-04-05 04:33:42 +02:00
Florian Festi
0cde4a71e6
Add params for edge settings to all generators
2016-11-01 23:46:25 +01:00
Florian Festi
b6d84b5c58
Mark generators which should not be shown in the web interface
2016-07-31 16:37:17 +02:00
Marius Bergmann
4b487014d0
Fix project for use within virtualenv
...
- Use /usr/bin/env to determine path to python3 instead of a hard-coded
path, so that virtualenv stubs work properly.
- Change package name to 'boxes' ('boxes.py' did not work within
virtualenv).
2016-07-12 13:13:03 +02:00
Florian Festi
0ba0c19af2
Detect size of drawing and set svg viewport accordingly
...
Remove width and height parameter from Boxes.open()
Code for detecting the size ignores text. Until this is fixed you need
to surround text by lines of some sort.
2016-06-07 20:24:46 +02:00
Florian Festi
e32a314c81
Add template for writing generators
2016-03-29 22:10:54 +02:00