mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
Rename enum AttrFlags -> AttrFlag
This commit is contained in:
parent
f4c80e6201
commit
6b1c9d818a
2 changed files with 3 additions and 3 deletions
|
@ -200,9 +200,9 @@ int Terminal::_draw_cb(struct tsm_screen *con,
|
|||
// Update attributes.
|
||||
int attr_flags = 0;
|
||||
if (attr->inverse)
|
||||
attr_flags |= AttrFlags::INVERSE;
|
||||
attr_flags |= AttrFlag::INVERSE;
|
||||
if (attr->blink)
|
||||
attr_flags |= AttrFlags::BLINK;
|
||||
attr_flags |= AttrFlag::BLINK;
|
||||
term->attr_image->set_pixel(posx, posy, Color(attr_flags / 255.0f, 0, 0, 0));
|
||||
|
||||
// Colors.
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace godot
|
|||
};
|
||||
|
||||
public:
|
||||
enum AttrFlags
|
||||
enum AttrFlag
|
||||
{
|
||||
INVERSE = 1 << 0,
|
||||
BLINK = 1 << 1,
|
||||
|
|
Loading…
Reference in a new issue