The main namespace of the library, that spans across all the zx modules.
Checking the C++ language version supported by the compiler.
This module provides the Canvas widget.
- Copyright
- See LICENSE.txt and AUTHORS.txt file.
http://jafma.net
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This module provides the ComboBox widget.
- Copyright
- See LICENSE.txt and AUTHORS.txt file.
http://jafma.net
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This module provides the Counter widget.
- Copyright
- See LICENSE.txt and AUTHORS.txt file.
http://jafma.net
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This module provides the File Browser widget.
- Copyright
- See LICENSE.txt and AUTHORS.txt file.
http://jafma.net
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This module provides the List widget.
- Copyright
- See LICENSE.txt and AUTHORS.txt file.
http://jafma.net
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This module provides the MenuBar widget.
- Copyright
- See LICENSE.txt and AUTHORS.txt file.
http://jafma.net
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This module provides the base management of Forms (groups of widgets).
- Copyright
- See LICENSE.txt and AUTHORS.txt file.
http://jafma.net
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This module provides the Slide widget.
- Copyright
- See LICENSE.txt and AUTHORS.txt file.
http://jafma.net
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This module provides a multi-line text editor widget.
- Copyright
- See LICENSE.txt and AUTHORS.txt file.
http://jafma.net
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Currently, ZXEcosystem requires C++17 or up. Only-once definitions
|
class | Area |
| An area on the screen that uses the given distance resolutions. More...
|
|
class | At |
| Just a shorter renaming of CharCursor. More...
|
|
class | AttrColors |
| Complete color specification for an attr (character) cell on the zx screen. More...
|
|
class | Attrmap |
| A graphic that contains an attrmap, i.e., it has char resolution in height. More...
|
|
class | BasicColor |
| One of the 8 basic colors of the ZX, not considering bright or flash. More...
|
|
class | BASICScreen |
| This class decorates Screen to get the original BASIC screen model of the ZX. More...
|
|
class | Beep |
| A zx beep sound. More...
|
|
class | Bitmap |
| A graphic that contains a bitmap, i.e., it has pixel resolution in height. More...
|
|
struct | BorderCoordT |
| A class that makes BorderCoord a different, distinguishable type from others. More...
|
|
struct | BorderDistT |
| A class that makes BorderDist a different, distinguishable type from others. More...
|
|
class | Bright |
| A value of bright that is different to the same value of flash, inv or over. More...
|
|
class | BrightColor |
| A basic color plus a bright level (on / off). More...
|
|
struct | CharCoordT |
| A class that makes CharCoord a different, distinguishable type from others. More...
|
|
struct | CharDistT |
| A class that makes CharDist a different, distinguishable type from others. More...
|
|
class | Colors |
| Color specification for a character cell, plus modes of printing. More...
|
|
struct | CoordT |
| Base class for all coordinate trait classes. More...
|
|
class | Cursor |
| A cursor on screen that uses the given coordinates resolution. More...
|
|
class | DimsGraphic |
| A graphic that has certain 2D dimensions and coordinates. More...
|
|
struct | DistT |
| Base class for all distance trait classes. More...
|
|
class | DoubleArea |
| An area with both char and pixel resolutions, possibly synchronized. More...
|
|
class | DoubleGraphic |
| A bitmap plus an attrmap, possibly synchronized. More...
|
|
class | DoubleRect |
| A rectangle with both char and pixel resolutions, possibly synchronized. More...
|
|
class | Flash |
| A value of flash that is different to the same value of bright, inv or over. More...
|
|
class | Frequency |
| The frequency of a square-wave sound. More...
|
|
class | Ink |
| A printcolor for ink as a different type from a color for paper. More...
|
|
struct | IntDistT |
| A class that makes IntDist a different, distinguishable type from others. More...
|
|
class | Inverse |
| A value of inv that is different to the same value of flash, bright or over. More...
|
|
class | Keyboard |
| The ZX keyboard as it behaves (for typing) under the ZX operating system. More...
|
|
class | KeyComb |
| A combination of 2 keys. More...
|
|
class | LinearGraphic |
| A rectangular graphic block. More...
|
|
class | Membrane |
| The zx keyboard as a membrane. Useful for games and those sort of things. More...
|
|
class | Over |
| A value of over that is different to the same value of flash, bright or inv. More...
|
|
class | Paper |
| A printcolor for paper as a different type from a color for ink. More...
|
|
struct | PixelCoordT |
| A class that makes PixelCoord a different, distinguishable type from others. More...
|
|
struct | PixelDistT |
| A class that makes PixelDist a different, distinguishable type from others. More...
|
|
class | PointingStatus |
| Status of the pointing device. More...
|
|
class | PrintColor |
| A BasicColor or CONTRAST or TRANSPARENT, but not with bright or flash. More...
|
|
struct | Rect |
| A rectangle placed on the screen that uses the given resolutions. More...
|
|
class | Screen |
| The class that provides the main support for managing the ZX screen. More...
|
|
class | SetOfKeys |
| A set of several keys, not repeated. More...
|
|
class | ZXEco |
| Class that provides access to the entire ecosystem: graphics, keyboard, etc. More...
|
|
|
using | PixelCoord = uint16_t |
| Represent both x and y screen pix coordinates. More...
|
|
using | CharCoord = uint16_t |
| Represent both x and y screen char coordinates. More...
|
|
using | PixelDist = uint16_t |
| A distance measured in screen pixels. More...
|
|
using | CharDist = uint16_t |
| A distance meadured in screen chars. More...
|
|
using | IntDist = int16_t |
| Positive and negative distances on screen. More...
|
|
using | BorderCoord = int16_t |
| Represent both x and y pix coords in border. More...
|
|
using | BorderDist = uint16_t |
| A distance measured in pixels in the border. More...
|
|
using | CharCursor = Cursor< CharCoordT, CharCoordT > |
| Shortcut for this kind of cursor. More...
|
|
using | PixCursor = Cursor< PixelCoordT, PixelCoordT > |
| Shortcut for this kind of cursor. More...
|
|
using | CharPixCursor = Cursor< CharCoordT, PixelCoordT > |
| Shortcut for this kind of cursor. More...
|
|
using | BorderCursor = Cursor< BorderCoordT, BorderCoordT > |
| Shortcut for this kind of cursor. More...
|
|
using | CharArea = Area< CharDistT, CharDistT > |
| Shortcut for this kind of area. More...
|
|
using | PixArea = Area< PixelDistT, PixelDistT > |
| Shortcut for this kind of area. More...
|
|
using | CharPixArea = Area< CharDistT, PixelDistT > |
| Shortcut for this kind of area. More...
|
|
using | BorderArea = Area< BorderDistT, BorderDistT > |
| Shortcut for this kind of area. More...
|
|
using | CharRect = Rect< CharDistT, CharDistT > |
| Shortcut for this kind of rectangle. More...
|
|
using | PixRect = Rect< PixelDistT, PixelDistT > |
| Shortcut for this kind of rectangle. More...
|
|
using | CharPixRect = Rect< CharDistT, PixelDistT > |
| Shortcut for this kind of rectangle. More...
|
|
using | BorderRect = Rect< BorderDistT, BorderDistT > |
| Shortcut for this kind of rectangle. More...
|
|
typedef IterableEnum< Key > | ItKey |
| Enhanced Key type. More...
|
|
|
enum | ColorBaseType : uint8_t {
BLACK = 0
, BLUE
, RED
, MAGENTA
,
GREEN
, CYAN
, YELLOW
, WHITE
,
NUMBASICCOLORS
, TRANSPARENT = NUMBASICCOLORS
, CONTRAST
, NUMPRINTCOLORS
} |
| Main color constants. More...
|
|
enum | ColorModVal : uint8_t { OFF = 0
, ON = 1
, TRANSP = TRANSPARENT
} |
| Values of bright, flash, inverse and over. More...
|
|
enum class | Key {
CAPS_SHIFT = 0
, Z
, X
, C
,
V
, A
, S
, D
,
F
, G
, Q
, W
,
E
, R
, T
, N1
,
N2
, N3
, N4
, N5
,
N0
, N9
, N8
, N7
,
N6
, P
, O
, I
,
U
, Y
, ENTER
, L
,
K
, J
, H
, SPACE
,
SYMBOL_SHIFT
, M
, N
, B
,
FIRST = CAPS_SHIFT
, LAST = B
, NUMKEYS = B+1
, NO_KEY = NUMKEYS
} |
| A single key in the zx keyboard. More...
|
|
|
constexpr char | ISCHRCTRL (uint8_t c) noexcept |
| Whether C is a control code with results if printed. More...
|
|
char | ISCHRCTRLALL (uint8_t c) noexcept |
| The same as ISCHRCTRL but including those that do not affect printing. More...
|
|
constexpr bool | ISPRINTCHR (uint8_t c) noexcept |
| Whether C is a printable char. More...
|
|
constexpr bool | ISGRAPHICBLOCK (uint8_t c) noexcept |
| Return TRUE if C is a graphic block character. */. More...
|
|
constexpr bool | ISUDG (uint8_t c) noexcept |
| Return TRUE if C is a UDG. */. More...
|
|
constexpr bool | ISTOKEN (uint8_t c) noexcept |
| Return TRUE if C is a token. */. More...
|
|
std::string | zxString (uint8_t cc) |
| Return a string composed of the ZX control code CC (no arguments). More...
|
|
std::string | zxString (uint8_t cc, uint8_t arg1) |
| Return a string composed of the ZX control code CC (one argument). More...
|
|
std::string | 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 & | ctrlString (uint8_t c) |
| Return a string representing the control code C. More...
|
|
std::string | nonCtrlString (const std::string &txt, char who='A') |
| Return a version of TXT without control codes. More...
|
|
constexpr CharCoord | charOfPixelX (PixelCoord pc) noexcept |
| Conversion from an x-PixelCoord to CharCoord. More...
|
|
constexpr CharCoord | charOfPixelY (PixelCoord pc) noexcept |
| Conversion from an y-PixelCoord to CharCoord. More...
|
|
constexpr PixelCoord | firstPixelInCharX (PixelCoord pc) noexcept |
| Get the PixelCoord of 1st pixel in the character of this x-PixelCoord. More...
|
|
constexpr PixelCoord | firstPixelInCharY (PixelCoord pc) noexcept |
| Get the PixelCoord of 1st pixel in the character of this y-PixelCoord. More...
|
|
constexpr unsigned char | bitOfPixelX (PixelCoord pc) noexcept |
| Get the bit position of the pixel of this x-PixelCoord. More...
|
|
constexpr PixelCoord | pixelOfCharX (CharCoord cc) noexcept |
| Conversion from an x-CharCoord to PixelCoord. More...
|
|
constexpr PixelCoord | pixelOfCharY (CharCoord cc) noexcept |
| Conversion from a y-CharCoord to PixelCoord. More...
|
|
constexpr PixelDist | charDistToPixelDist (CharDist pc) noexcept |
| Conversion from CharDist to PixelDist. More...
|
|
constexpr CharDist | pixelDistToCharDist (PixelDist cc, bool toceil=true) noexcept |
| Conversion from PixelDist to CharDist. More...
|
|
PixCursor | getPixCursor (const CharCursor &cc) |
| Convert a char cursor to a pix cursor placed at the top-left of the former. More...
|
|
PixCursor | getPixCursor (const CharPixCursor &cc) |
| Convert a char-pix cursor to a pix cursor placed at the top-left of former. More...
|
|
CharPixCursor | getCharPixCursor (const CharCursor &cc) |
| Convert a char cursor to a char-pix cursor placed at the top of the former. More...
|
|
PixArea | getPixArea (const CharArea &cc) |
| Convert a char area to a pix area covering the same region on screen. More...
|
|
PixArea | getPixArea (const CharPixArea &cc) |
| Convert a char-pix area to a pix area covering the same region on screen. More...
|
|
CharPixArea | getCharPixArea (const CharArea &cc) |
| Convert a char area to a char-pix area covering the same region on screen. More...
|
|
PixRect | getPixRect (const CharRect &cc) |
| Convert a char rect to a pix rect representing the same region on screen. More...
|
|
PixRect | getPixRect (const CharPixRect &cc) |
| Convert a char-pix rect to a pix rect representing the same region. More...
|
|
CharPixRect | getCharPixRect (const CharRect &cc) |
| Convert a char rect to a char-pix rect representing the same region. More...
|
|
template<typename WIDTHRESOL , typename HEIGHTRESOL > |
bool | graphicDimensionsTooLarge (unsigned sx, unsigned sy) noexcept |
| < Return TRUE if SX,SY are too large to fit in WITHRESOL,HEIGHTRESOL. More...
|
|
template<> |
constexpr uint8_t | LinearGraphic::doGraphOp< LinearGraphic::GraphOp::COPY > (uint8_t b0, uint8_t b1) noexcept |
|
template<> |
constexpr uint8_t | LinearGraphic::doGraphOp< LinearGraphic::GraphOp::INV > (uint8_t b0, uint8_t b1) noexcept |
|
template<> |
constexpr uint8_t | LinearGraphic::doGraphOp< LinearGraphic::GraphOp::OR > (uint8_t b0, uint8_t b1) noexcept |
|
template<> |
constexpr uint8_t | LinearGraphic::doGraphOp< LinearGraphic::GraphOp::INVOR > (uint8_t b0, uint8_t b1) noexcept |
|
template<> |
constexpr uint8_t | LinearGraphic::doGraphOp< LinearGraphic::GraphOp::AND > (uint8_t b0, uint8_t b1) noexcept |
|
template<> |
constexpr uint8_t | LinearGraphic::doGraphOp< LinearGraphic::GraphOp::INVAND > (uint8_t b0, uint8_t b1) noexcept |
|
template<> |
constexpr uint8_t | LinearGraphic::doGraphOp< LinearGraphic::GraphOp::XOR > (uint8_t b0, uint8_t b1) noexcept |
|
template<> |
constexpr uint8_t | LinearGraphic::doGraphOp< LinearGraphic::GraphOp::INVXOR > (uint8_t b0, uint8_t b1) noexcept |
|
constexpr bool | operator& (ZXEco::RefreshType a, ZXEco::RefreshType b) |
| Definition needed for completing the RefreshType functionality. More...
|
|
constexpr char | keyToNumber (Key k) |
| Return the number of the key [0..9] if K is a number key; -1 if it is not. More...
|
|
constexpr bool | keyIsShift (Key k) |
| Return TRUE if K is caps or symbol. More...
|
|