首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 色盲ostreams图书馆

色盲ostreams图书馆

  • 资源大小:4.72 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 图书馆 色盲

资 源 简 介

Colorblind-friendly library to output colored text to unix-like terminals. This project belongs to FuDePAN. Basic Documentation cout << Fg(Blue) << "Hello" << Fg(Green) << " World!" << endl; will print the word "Hello" in blue and " World!" in green. The following manipulators are available: * Fg(color): sets foreground to color * Bg(color): sets background to color * DefaultBg: sets the default background * Reset: resets all attributes (including fg and bg) to the default * RevertFgBg: swaps fg and bg colors * FgBg(fg, bg ): sets fg color as foreground and bg color as background * SaveFgBg: saves current fg and bg colors until the end of the line, the restores it * Bold: sets bold effect (not always available) * HalfBright: sets intensity to half * NormalIntensity: r

文 件 列 表

colo
CHANGELOG
SConscript
src
CONTRIBUTORS
Makefile
LICENSE_1_0.txt
tests
README
colo
example
VIP VIP
0.348814s