110 | | ==== mod_ ==== |
| 110 | ==== mod_icons ==== |
| 111 | Handles icon loading & parametric icon generation. |
| 112 | |
| 113 | Most of the functionality of this module is currently used only by the GTK GUI. |
| 114 | |
| 115 | ===== Parametric icons ===== |
| 116 | there are six positional parameters: |
| 117 | |
| 118 | fill color,fill opacity, outline color, outline opacity, outline width (default 8) and corner radius (default 22, use 0 for right angle) |
| 119 | |
| 120 | to use default value, just don't fill in the positional parameter ''( len(parameter) == 0 )'' |
| 121 | |
| 122 | EXAMPLE: '''''generic:green;1.0;blue;0.5;10;15''''' |
| 123 | |
| 124 | |
| 125 | ====== Icon placement ====== |
| 126 | |
| 127 | "center" means that we have an icon which we want to center inside the button there re two parameters - icon name and border width |
| 128 | |
| 129 | EXAMPLE: '''''center:more;0.1''''' |
| 130 | * icon name: more |
| 131 | * border width: 10% of shortest icon side |
| 132 | |