====== uifc.ini ======

The default user interface/display control settings of [[ref:UIFC]] applications (e.g. [[util:SCFG]], [[util:EchoCfg]], [[util:UEdit]]) can be overridden by creating the file ''[[dir:ctrl]]/uifc.ini'' (new to SCFG v3.20).

All of the ''uifc.ini'' keys are in the //root// (global) section of the file:

^ Key             ^ Default Value      ^ Description ^
| ''video_mode''  | ''42'' (80x25 LCD) | The text/video output mode |
| ''uifc_mode''   | ''0''              | Bit-flags controlling the user interface library, see ''uifc.h'' for bit definitions, e.g. set to ''2'' to disable mouse support |
| ''ciolib_mode'' | ''0'' (auto)       | Console I/O Library Interface mode, see ''ciolib.h'' for value definitions, e.g. set to ''4'' to enable ANSI output mode |
| ''lines''       | //auto-detect//    | Height of user interface window, in rows/lines of text (usually, 25) |
| ''insert''      | ''false''          | Set to ''true'' to enable keyboard insert mode by default, not overwrite |
| ''esc_delay''   | ''25''             | Milliseconds to wait for escape sequence, differentiating between ESC key press and extended key escape sequence |
| ''scaling''     | ''0'' (auto)       | Initial display scale of graphical window, fractions supported |
| ''FrameColor''      | //yellow//             | Color of highlighted text (as CGA attribute value, e.g. in hexadecimal) |
| ''TextColor''       | //white//              | Color of text/options (as CGA attribute value) |
| ''BackgroundColor'' | //blue//               | Color of background (as CGA attribute value) |
| ''InverseColor''    | //cyan//               | Color of inactive windows (as CGA attribute value) |
| ''LightbarColor''   | //lightgray on blue//  | Color of highlight bar (as CGA attribute value) |



===== Program-specific Settings =====

If a program-specific ''.ini'' file (e.g. ''[[util:scfg]].ini'', ''[[util:echocfg]].ini'') is found in the ''[[dir:ctrl]]'' directory, that will file will be read instead of ''uifc.ini''. The same root key names as those supported in the ''uifc.ini'' file are used.

===== See Also =====
  * [[:config:|config index]]
  * [[:util:|Utilities]]

{{tag>uifc}}
