## setwindow

### setwindow <number>,<number>…（11 total numbers, including the 2 to the left and the 1 to the right）…<number>,#rrggbb,<number>,<number>,<number>,<number>

-or-

setwindow <number>,<number>…（11 total numbers, including the 2 to the left and the 1 to the right）…<number>,<character string>,<number>,<number>

Sets up the text window.

The first form is used when the backdrop for the text window is an alpha-layered solid color.

The second form is used when the backdrop for the text window is a graphic file.

The first 11 numbers are as follows, from left to right:

x coordinate of top left for text, y coordinate of top left for text, text columns, text lines, text font size x, text font size y, spacing x, spacing y, default text speed, boldface toggle (0 - no; 1 - yes), drop shadow toggle (0 - no; 1 - yes).

For the first form, the remaining variables are: window color, window top left x, window top left y, window bottom right x, window bottom right y.

For the second form, the remaining variables are: graphic file name, window top left x, window top left y, window bottom right x, window bottom right y.

By default, the text window takes up the full screen and is somewhat translucent, the font is 26x26 pixels, the spacing is 0,1, the top left coordinate is 8,16, there are 23 2-byte columns and 16 lines, boldface and drop shadow enabled, 20 speed, and a translucent color of #999999.

To declare the defaults manually, you would do this:

setwindow 8,16,20,23,26,26,0,2,20,1,1,#999999,0,0,639,479