提交 35e83ae9 编写于 作者: 指向BIOS的野指针's avatar 指向BIOS的野指针

the last correct of the builtin font

上级 6d623f15
...@@ -32,11 +32,11 @@ namespace bwl ...@@ -32,11 +32,11 @@ namespace bwl
cursor[0] = 0; //光标x cursor[0] = 0; //光标x
cursor[1] = 0; //光标y cursor[1] = 0; //光标y
bgcolor = __bgcolor; //背景颜色 bgcolor = __bgcolor; //背景颜色
color = 0x00ffffff; //文字颜色 color = 0x00cccccc; //文字颜色
cursor_move = true; cursor_move = true;
cursor_flash = new std::thread(cursorFlasher); //开启光标刷新线程 cursor_flash = new std::thread(cursorFlasher); //开启光标刷新线程
bwl::log("init succeeded"); bwl::log("init succeeded");
putString("GUILog initialized!\n\"hello\""); putString("!#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~");
} }
void clear() void clear()
...@@ -109,7 +109,7 @@ namespace bwl ...@@ -109,7 +109,7 @@ namespace bwl
{ {
bwl::log(std::string("drawing:") + c); bwl::log(std::string("drawing:") + c);
__updating_signals::bg ub; __updating_signals::bg ub;
char *character = font::consolas[c]; //获取对应字符的位图 unsigned char *character = font::consolas[c]; //获取对应字符的位图
//按照位图的01显示 //按照位图的01显示
for (int j = 0; j < 16; j++) for (int j = 0; j < 16; j++)
for (int i = 0; i < 8; i++) for (int i = 0; i < 8; i++)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册