Xorn
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
gEDA colors

The color of a gEDA/gaf object is specified via an integer index. The relationship between integer and color is based on object type. Each object type typically has one or more colors. Here is a table of color index to object type:

IndexObject type
0BACKGROUND_COLOR
1PIN_COLOR
2NET_ENDPOINT_COLOR
3GRAPHIC_COLOR
4NET_COLOR
5ATTRIBUTE_COLOR
6LOGIC_BUBBLE_COLOR
7DOTS_GRID_COLOR
8DETACHED_ATTRIBUTE_COLOR
9TEXT_COLOR
10BUS_COLOR
11SELECT_COLOR
12BOUNDINGBOX_COLOR
13ZOOM_BOX_COLOR
14STROKE_COLOR
15LOCK_COLOR
16OUTPUT_BACKGROUND_COLOR
17FREESTYLE1_COLOR
18FREESTYLE2_COLOR
19FREESTYLE3_COLOR
20FREESTYLE4_COLOR
21JUNCTION_COLOR
22MESH_GRID_MAJOR_COLOR
23MESH_GRID_MINOR_COLOR

The actual color associated with the color index is defined on a per tool bases. Objects are typically assigned their corresponding color index, but it is (sometimes) permissible to assign other color index values to different object types.


Copyright (C) 1998-2004 Ales V. Hvezda
Copyright (C) 2013-2016 Roland Lutz

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.