python: Update color limit to match libgeda
[geda-gaf.git] / src / gaf / xmlformat.py
blobb447a5ab6793c45d565f1cc2c85053d7a07703ff
1 # Copyright (C) 2013-2019 Roland Lutz
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software Foundation,
15 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 ## \namespace gaf.xmlformat
18 ## Common definitions for XML file format.
20 NAMESPACE = 'https://hedmen.org/xorn/schematic/'
22 ENUM_BOOLEAN = ['no', 'yes']
23 ENUM_CAPSTYLE = ['none', 'square', 'round']
24 ENUM_DASHSTYLE = ['solid', 'dotted', 'dashed', 'center', 'phantom']
25 ENUM_FILLTYPE = ['hollow', 'fill', 'mesh', 'hatch', 'void']
26 ENUM_SHOW_NAME_VALUE = ['name-value', 'value', 'name']
27 ENUM_ALIGNMENT = ['lower-left', 'middle-left', 'upper-left',
28 'lower-middle', 'middle-middle', 'upper-middle',
29 'lower-right', 'middle-right', 'upper-right']
30 ENUM_NETTYPE = ['normal', 'bus']
31 ENUM_COLOR = ['background', 'pin', 'net-endpoint', 'graphic', 'net',
32 'attribute', 'logic-bubble', 'dots-grid', 'detached-attribute',
33 'text', 'bus', 'select', 'boundingbox', 'zoom-box', 'stroke',
34 'lock', 'output-background',
35 'freestyle1', 'freestyle2', 'freestyle3', 'freestyle4']