Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/doc/en/html/setup/theme.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10886 - (show annotations) (download) (as text)
Sat Sep 2 13:25:36 2023 UTC (8 months, 3 weeks ago) by zmatsuo
File MIME type: text/html
File size: 6524 byte(s)
誤った文字コードが入っていたので修正

- iso-8859-1 で表示すると文字化けする
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html>
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <title>Theme setup file</TITLE>
7 <meta http-equiv="Content-Style-Type" content="text/css">
8 <link rel="stylesheet" href="../style.css" type="text/css">
9 </head>
10 <body>
11
12 <h1>Theme setup file</h1>
13
14 <ul>
15 <li><a href="#themefile">About theme setup file</a></li>
16 <li><a href="#BGTheme">BG(Background) theme</a></li>
17 <li><a href="#ColorTheme">Color theme</a></li>
18 </ul>
19
20 <h2>TODO</h2>
21 <ul>
22 <li>Determine theme file specifications
23 <li>Modify <a href="https://ttssh2.osdn.jp/tmp/color/" target="_blank">color picker</a> to match theme file specifications
24 </ul>
25
26 <h2 id="themefile">About theme file</h2>
27
28 There are several types of theme file.
29
30 <dl>
31 <dt>BG(Backgroup) theme</dt>
32 <dd>
33 File containing [BG Theme] section<br>
34 This section is background image settings
35 </dd>
36 <dt>Color theme</dt>
37 <dd>
38 File containing [Color Theme] section<br>
39 This section is text color settings
40 <dd>
41 <dt>Old Color Theme (obsolete)</dt>
42 <dd>
43 The [BG] section contains the text color settings.<br>
44 Color themes supported in Tera Term 4<br>
45 Loading this file is supported. But this will be deprecated
46 </dd>
47 </dl>
48
49 BG (background) themes and color themes may be saved in separate files,
50 also save both in one file.
51
52 File format is Windows ini file.
53
54 <h2 id="BGTheme">BG(Background) theme</h2>
55
56 <h3>section</h3>
57
58 "BG theme"<br>
59
60 The "BG" section can also be read (but will be deprecated).
61 If both are present, "BG theme" has priority.
62
63 <dl>
64 <dt>BGDestColor</dt>
65 <dd>
66 If no background image is used, it will be filled with this color.<br>
67 Areas where the background image is not drawn are also filled with this color.
68 </dd>
69
70 <dt>BGDestFile</dt>
71 <dd>
72 background image<br>
73 If a wildcard is containd in the file name, one of the matching files will be selected at random.<br>
74 If it is a relative path, specify a path relative to the theme file.<br>
75 The type of files that can be read depends on plugin stored in the BGSPIPath.<br>
76 Bitmaps(bmp) can be loaded without plugins.
77 </dd>
78
79 <dt>BGDestPattern</dt>
80 <dd>Background pattern
81 <dl>
82 <dt>stretch</dt>
83 <dt>tile</dt>
84 <dt>center</dt>
85 <dt>fit_width</dt>
86 <dt>fit_height</dt>
87 <dt>autofit</dt>
88 <dt>autofill</dt>
89 <dd>
90 FitWidth, FitHeight resizes image with aspect ratio maintained.<br>
91 AutoFit switches between FitWidth and FitHeight to adjust window and image size
92 to avoid gaps.
93 </dd>
94 </dl>
95 </dd>
96
97 <dt>BGSrc1Alpha</dt>
98 <dd>
99 Alphablend the wallpaper image in Windows.<br>
100 This value to alpha blend value the desktop image (Src1) onto the background image (Dest).<br>
101 When value is 0, the wallpaper will not be blended.
102 </dd>
103
104
105 <dt>BGSrc2Color</dt>
106 <dd>
107 The color to alpha-blend entire background image.
108 </dd>
109
110 <dt>BGSrc2Alpha</dt>
111 <dd>
112 Alphablend value<br>
113 How much to blend a solid color (Src2) onto the image of Dest and Src1.
114 </dd>
115
116 <dt>BGTextBackAlpha</dt>
117 <dd>
118 0 - 255<br>
119 AlphaBlend value for the normal text background color. 255 is full opacity.
120 </dd>
121
122 <dt>BGReverseTextAlpha</dt>
123 <dd>
124 0 - 255<br>
125 AlphaBlend value for reverse text background color. 255 is full opacity.
126 </dd>
127
128 <dt>BGTextAlpha</dt>
129 <dd>
130 0 - 255<br>
131 AlphaBlend value for other text background colors. 255 is full opacity.
132 </dd>
133 </dl>
134
135 <h2 id="ColorTheme">color theme</h2>
136
137 <h3>section</h3>
138
139 "Color Theme"
140
141 <h3>name</h3>
142
143 <dl>
144 <dt>Theme</dt>
145 <dd>Theme name, value is a string.</dd>
146 </dl>
147
148 <h3>attribute color</h3>
149
150 <dl>
151 <dt>VTColor</dt>
152 <dd>normal text background color, SGR 0</dd>
153
154 <dt>BoldColor</dt>
155 <dd>SGR 1</dd>
156
157 <dt>VTUnderlineColor</dt>
158 <dd>SGR 4</dd>
159
160 <dt>BlinkColor</dt>
161 <dd>SGR 5</dd>
162
163 <dt>ReverseColor</dt>
164 <dd>SGR 7</dd>
165
166 <dt>URLColor</dt>
167 <dd>
168 URL text color<br>
169 Text color added when Tera Term detects a URL string
170 </dd>
171
172 <dt>values (0 or 1), (0 or 1), (fore red), (fore green), (fore blue), (back red), (back green), (back blue)</dt>
173 <dt>values (0 or 1), (0 or 1), (fore), (back)</dt>
174 <dd>
175 <dl>
176 <dt>(0 or 1)</dt>
177 <dd>
178 1=Changing from the default color.<br>
179 0=No change.<br>
180 (Not referenced in VTColor)
181 </dd>
182 <dt>(0 or 1)</dt>
183 <dd>
184 1=Enable custom colors for text attributes (such as Bold attribute).<br>
185 0=Disable.<br>
186 (Not referenced in VTColor)
187 </dd>
188
189 <dt>(fore red), (fore green), (fore blue)</dt>
190 <dd>Text color, each value from 0 to 255.</dd>
191
192 <dt>(back red), (back green), (back blue)</dt>
193 <dd>Background color, each from 0 to 255.</dd>
194
195 <dt>(fore), (back)</dt>
196 <dd>
197 #RRBBGG format, each value from 0 to ff
198 </dd>
199 </dl>
200 </dd>
201 </dl>
202
203 <h3>ANSI color</h3>
204
205 First 16 colors when 256 ANSI colors or 16 ANSI colors.<br>
206 Dark colors are not used when 8 colors.
207
208 <dl>
209 <dt>ANSIColor=(0 or 1)</dt>
210 <dd>
211 1=Changing from the default color.<br>
212 0=No change.
213 </dd>
214 </dl>
215
216 <dl>
217 <dt>Fore</dt>
218 <dd>256 ANSI color 15<br>
219 Normal text color(VTColor is used)
220 </dd>
221
222 <dt>Back</dt>
223 <dd>256 ANSI color 0<br>
224 Normal background color(VTColor is used)
225 </dd>
226
227 <dt>Red</dt>
228 <dt>Green</dt>
229 <dt>Yellow</dt>
230 <dt>Blue</dt>
231 <dt>Magenta</dt>
232 <dt>Cyan</dt>
233 <dt>DarkFore</dt>
234 <dt>DarkBack</dt>
235 <dt>DarkRed</dt>
236 <dt>DarkGreen</dt>
237 <dt>DarkYellow</dt>
238 <dt>DarkBlue</dt>
239 <dt>DarkMagenta</dt>
240 <dt>DarkCyan</dt>
241 <dd>Each color</dd>
242
243 <dt>Values are (red), (green), (blue)</dt>
244 <dd>from 0 to 255</dd>
245
246 <dt>value (color)</dt>
247 <dd>
248 #RRBBGG format, from 00 to ff
249 </dd>
250
251 </dl>
252
253 </body>
254 </html>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26