enum Termbox::Color::Also
Overview
An output-mode-independent attribute. Exists to delay
selection between NormalColor
and TrueColor
.
Defined in:
termbox2/color.crEnum Members
-
None =
0
-
Bold =
1
-
Underline =
2
-
Reverse =
4
-
Italic =
8
-
Blink =
16
Class Method Summary
-
.[](ord)
Creates an
Also
from a member's index. -
.[]?(ord)
Creates an
Also
from a member's index. -
.count
Returns the amount of enum members.
Instance Method Summary
- #blink?
- #bold?
-
#for(mode : OutputMode)
Returns the concrete attribute(s) for mode.
- #italic?
- #none?
-
#ord
Returns the index of this member.
- #reverse?
- #underline?