8. Subsystem “User interfaces” (TUIS)
The subsystem "User Interfaces" is presented by the TUIS object, which contains modular objects of the TUI user interfaces' on the subsystem's level.
8.1. The object of the “User interfaces” subsystem (TUIS)
Public methods:
- int subVer( ); — Subsystem's version.
- void subStart( ); — Start of the subsystem.
- void subStop( ); — Stop of the subsystem.
- AutoHD<TUI> at( const string &name ); — Connecting to the user's interface module.
- static bool icoPresent( const string &inm, string *tp = NULL ); — Check for the availability of icon inm> in the standard directory. The name of the icon is indicate without extension. The extension/type of the loaded image is placed in <tp>.
- static string icoGet( const string &inm, string *tp = NULL ); — Upload the image icon <inm> from the standard directory.
- static string icoPath( const string &ico, const string &tp = "png" ); — The full path to the icon, including the working directory.
8.2. The modular object of the user interface (TUI)
Inherits: | TModule. |
Inherited: | By the root objects of the “User interfaces” subsystem. |
Protected methods:
- void cntrCmdProc( XMLNode *opt ); — Service of the commands of the control interface by the system.
Protected attributes:
- bool run_st; — The sign "Running".