|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
像素/字符单元 更多...
#include <screen.hpp>
Public 成员函数 | |
| void | reset () noexcept |
| 重置所有样式为默认值 | |
| bool | visually_equal (const cell &other) const noexcept |
| 比较两个 cell 的视觉内容 | |
Public 属性 | |
| string | character |
| 显示的字符 | |
| _NEFORCE color | foreground |
| 前景色 | |
| _NEFORCE color | background |
| 背景色 | |
| bool | bold: 1 |
| 粗体 | |
| bool | dim: 1 |
| 暗色 | |
| bool | italic: 1 |
| 斜体 | |
| bool | inverted: 1 |
| 反色 | |
| bool | underlined: 1 |
| 单下划线 | |
| bool | underlined_double: 1 |
| 双下划线 | |
| bool | blink: 1 |
| 闪烁 | |
| bool | strikethrough: 1 |
| 删除线 | |
| bool | automerge: 1 |
| 相邻同内容自动融合 | |
| uint8_t | hyperlink = 0 |
| 超链接 ID(0 表示无链接) | |
像素/字符单元
在文件 screen.hpp 第 33 行定义.
|
inlinenodiscardnoexcept |
比较两个 cell 的视觉内容
| other | 另一个 cell |
在文件 screen.hpp 第 75 行定义.
引用了 background, blink, bold, character, dim, foreground, hyperlink, inverted, italic, strikethrough, underlined , 以及 underlined_double.