NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
载入中...
搜索中...
未找到
neforce::tui::cell结构体 参考

像素/字符单元 更多...

#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.hpp33 行定义.

成员函数说明

◆ visually_equal()

bool neforce::tui::cell::visually_equal ( const cell & other) const
inlinenodiscardnoexcept

比较两个 cell 的视觉内容

参数
other另一个 cell
返回
是否视觉相同

在文件 screen.hpp75 行定义.

引用了 background, blink, bold, character, dim, foreground, hyperlink, inverted, italic, strikethrough, underlined , 以及 underlined_double.


该结构体的文档由以下文件生成: