… | |
… | |
156 | |
156 | |
157 | This one first takes a snapshot of the screen background image, and then |
157 | This one first takes a snapshot of the screen background image, and then |
158 | moves it to the upper left corner of the screen (as opposed to the upper |
158 | moves it to the upper left corner of the screen (as opposed to the upper |
159 | left corner of the terminal window)- the result is pseudo-transparency: |
159 | left corner of the terminal window)- the result is pseudo-transparency: |
160 | the image seems to be static while the window is moved around. |
160 | the image seems to be static while the window is moved around. |
|
|
161 | |
|
|
162 | =head2 COLOUR SPECIFICATIONS |
|
|
163 | |
|
|
164 | Whenever an oprator expects a "colour", then this can be specified in one |
|
|
165 | of two ways: Either as string with an X11 colour specification, such as: |
|
|
166 | |
|
|
167 | "red" # named colour |
|
|
168 | "#f00" # simple rgb |
|
|
169 | "[50]red" # red with 50% alpha |
|
|
170 | "TekHVC:300/50/50" # anything goes |
|
|
171 | |
|
|
172 | OR as an array reference with one, three or four components: |
|
|
173 | |
|
|
174 | [0.5] # 50% gray, 100% alpha |
|
|
175 | [0.5, 0, 0] # dark red, no green or blur, 100% alpha |
|
|
176 | [0.5, 0, 0, 0.7] # same with explicit 70% alpha |
161 | |
177 | |
162 | =head2 CACHING AND SENSITIVITY |
178 | =head2 CACHING AND SENSITIVITY |
163 | |
179 | |
164 | Since some operations (such as C<load> and C<blur>) can take a long time, |
180 | Since some operations (such as C<load> and C<blur>) can take a long time, |
165 | caching results can be very important for a smooth operation. Caching can |
181 | caching results can be very important for a smooth operation. Caching can |