flags/sv.svg@e1d646a4cbd8
flags/sv.svg
Sun, 09 Apr 2023 15:59:08 +0300
- author
- Teemu Piippo <teemu.s.piippo@gmail.com>
- date
- Sun, 09 Apr 2023 15:59:08 +0300
- changeset 362
- e1d646a4cbd8
- parent 6
-
73e448b2943d
- permissions
- -rw-r--r--
Extracted the state of the program into a MainState structure, and extracted local functions of main() into static functions.
I was planning to make the core logic and state of the program into a Main class, which would be a QObject that would
have lots of signals and slots, but it looks like this works even without it
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="1600" height="1000" viewBox="0 0 16 10">
<rect width="16" height="10" fill="#006aa7"/>
<rect width="2" height="10" x="5" fill="#fecc00"/>
<rect width="16" height="2" y="4" fill="#fecc00"/>
</svg>