![]() |
The ZX Ecosystem v5.1.0;_GUI_v3.1.0
|


Go to the source code of this file.
Namespaces | |
| namespace | zxeco |
| The main namespace of the library, that spans across all the zx modules. | |
Functions | |
| constexpr char | zxeco::ISCHRCTRL (uint8_t c) noexcept |
| Whether C is a control code with results if printed. More... | |
| char | zxeco::ISCHRCTRLALL (uint8_t c) noexcept |
| The same as ISCHRCTRL but including those that do not affect printing. More... | |
| constexpr bool | zxeco::ISPRINTCHR (uint8_t c) noexcept |
| Whether C is a printable char. More... | |
| constexpr bool | zxeco::ISGRAPHICBLOCK (uint8_t c) noexcept |
| Return TRUE if C is a graphic block character. */. More... | |
| constexpr bool | zxeco::ISUDG (uint8_t c) noexcept |
| Return TRUE if C is a UDG. */. More... | |
| constexpr bool | zxeco::ISTOKEN (uint8_t c) noexcept |
| Return TRUE if C is a token. */. More... | |
| std::string | zxeco::zxString (uint8_t cc) |
| Return a string composed of the ZX control code CC (no arguments). More... | |
| std::string | zxeco::zxString (uint8_t cc, uint8_t arg1) |
| Return a string composed of the ZX control code CC (one argument). More... | |
| std::string | zxeco::zxString (uint8_t cc, uint8_t arg1, uint8_t arg2) |
| Return a string composed of the ZX control code CC (two arguments). More... | |
| const std::string & | zxeco::ctrlString (uint8_t c) |
| Return a string representing the control code C. More... | |
| std::string | zxeco::nonCtrlString (const std::string &txt, char who='A') |
| Return a version of TXT without control codes. More... | |
Variables | |
Useful ZX ascii codes | |
Convenient constants to minimize errors in printing. | |
| constexpr uint8_t | zxeco::CHRSPC = 32 |
| space More... | |
| constexpr uint8_t | zxeco::CHRCOMMA = 6 |
| comma (control code) More... | |
| constexpr uint8_t | zxeco::CHREDIT = 7 |
| edit (control code) More... | |
| constexpr uint8_t | zxeco::CHRLEFT = 8 |
| left (control code) More... | |
| constexpr uint8_t | zxeco::CHRRIGHT = 9 |
| right (control code) More... | |
| constexpr uint8_t | zxeco::CHRDOWN = 10 |
| down (control code) More... | |
| constexpr uint8_t | zxeco::CHRUP = 11 |
| up (control code) More... | |
| constexpr uint8_t | zxeco::CHRDELETE = 12 |
| delete (control code) More... | |
| constexpr uint8_t | zxeco::CHRENTER = 13 |
| enter (control code) More... | |
| constexpr uint8_t | zxeco::CHRNUM = 14 |
| Preffix of numeric value. More... | |
| constexpr uint8_t | zxeco::CHRINK = 16 |
| ink (control code; 1 arg) More... | |
| constexpr uint8_t | zxeco::CHRPAPER = 17 |
| paper (control code; 1 arg) More... | |
| constexpr uint8_t | zxeco::CHRFLASH = 18 |
| flash (control code; 1 arg) More... | |
| constexpr uint8_t | zxeco::CHRBRIGHT = 19 |
| bright (control code; 1 arg) More... | |
| constexpr uint8_t | zxeco::CHRINVERSE = 20 |
| inverse (control code; 1 arg) More... | |
| constexpr uint8_t | zxeco::CHROVER = 21 |
| over (control code; 1 arg) More... | |
| constexpr uint8_t | zxeco::CHRAT = 22 |
| at (control code; 2 args) More... | |
| constexpr uint8_t | zxeco::CHRTAB = 23 |
| tab (control code; 2 args, 2nd is ignored) More... | |
| constexpr uint8_t | zxeco::CHRFIRST = CHRSPC |
| first printable char More... | |
| constexpr uint8_t | zxeco::CHRQUOTE = 34 |
| double quote char More... | |
| constexpr uint8_t | zxeco::CHR0 = 0x30 |
| first digit More... | |
| constexpr uint8_t | zxeco::CHRa = 0x61 |
| first lower alpha More... | |
| constexpr uint8_t | zxeco::CHRz = 0x7a |
| last lower alpha More... | |
| constexpr uint8_t | zxeco::CHRA = 0x41 |
| first upper alpha More... | |
| constexpr uint8_t | zxeco::CHRZ = 0x5a |
| last upper alpha More... | |
| constexpr uint8_t | zxeco::CHRINVALID = 63 |
| invalid mark char More... | |
| constexpr uint8_t | zxeco::CHRLAST = 0x7F |
| Last of the printable chars. More... | |
| constexpr uint8_t | zxeco::CHRCOPYRIGHT = 0x7F |
| Copyright. More... | |
| constexpr uint8_t | zxeco::CHRPOUND = 0x60 |
| Pounds. More... | |
| constexpr uint8_t | zxeco::CHRFIRSTGB = 0x80 |
| first graphic-block char More... | |
| constexpr uint8_t | zxeco::CHRLASTGB = 0x8f |
| last graphic-block char More... | |
| constexpr uint8_t | zxeco::CHRFIRSTUDG = 0x90 |
| first UDG char More... | |
| constexpr uint8_t | zxeco::CHRLASTUDG = 0xa4 |
| last UDG char More... | |
| constexpr uint8_t | zxeco::CHRFIRSTTOKEN = 0xa5 |
| first token char More... | |