YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
十六进制视图。 更多...
#include <HexBrowser.h>
Public 类型 | |
using | IndexType = std::uintptr_t |
索引类型。 更多... | |
using | DataType = vector< char > |
显示数据类型。 更多... | |
Public 成员函数 | |
HexView (FontCache &=FetchDefaultFontCache()) | |
DefGetter (const ynothrow, SDst, ItemHeight, GetTextLineHeightExOf(TextState)) DefGetter(const ynothrow | |
取项目行高。 更多... | |
Public 属性 | |
IndexType | |
ItemNum | |
静态 Public 属性 | |
static yconstexpr size_t | ItemPerLine = 8 |
每行数据总数(字节)。 更多... | |
Protected 属性 | |
Drawing::TextState | TextState |
文本状态。 更多... | |
DataType | datCurrent |
当前显示的数据。 更多... | |
Private 属性 | |
IndexType | item_num |
行数。 更多... | |
using YSLib::UI::HexView::DataType = vector<char> |
显示数据类型。
在文件 HexBrowser.h 第 107 行定义.
using YSLib::UI::HexView::IndexType = std::uintptr_t |
索引类型。
在文件 HexBrowser.h 第 106 行定义.
YSLib::UI::HexView::HexView | ( | FontCache & | fc = FetchDefaultFontCache() | ) |
在文件 HexBrowser.cpp 第 39 行定义.
参考 platform::Consoles::Black , 以及 YSLib::Drawing::PenStyle::Color.
YSLib::UI::HexView::DefGetter | ( | const ynothrow | , |
SDst | , | ||
ItemHeight | , | ||
GetTextLineHeightExOf(TextState) | |||
) | const |
取项目行高。
|
protected |
当前显示的数据。
在文件 HexBrowser.h 第 120 行定义.
参考自 YSLib::UI::HexViewArea::Refresh(), YSLib::UI::HexViewArea::Reset() , 以及 YSLib::UI::HexViewArea::UpdateData().
在文件 HexBrowser.h 第 132 行定义.
|
private |
行数。
在文件 HexBrowser.h 第 113 行定义.
YSLib::UI::HexView::ItemNum |
在文件 HexBrowser.h 第 132 行定义.
|
static |
每行数据总数(字节)。
在文件 HexBrowser.h 第 104 行定义.
参考自 YSLib::UI::HexViewArea::LocateViewPosition(), YSLib::UI::HexViewArea::Refresh() , 以及 YSLib::UI::HexViewArea::UpdateData().
|
protected |
文本状态。
在文件 HexBrowser.h 第 110 行定义.