|
Agora
1.2.0
Agora project
|
#include <color.h>

Public Member Functions | |
| text_style (emphasis em=emphasis()) throw () | |
| text_style & | operator|= (const text_style &rhs) |
| text_style & | operator&= (const text_style &rhs) |
| bool | has_foreground () const throw () |
| bool | has_background () const throw () |
| bool | has_emphasis () const throw () |
| detail::color_type | get_foreground () const throw () |
| detail::color_type | get_background () const throw () |
| emphasis | get_emphasis () const throw () |
Private Member Functions | |
| text_style (bool is_foreground, detail::color_type text_color) throw () | |
| text_style & | and_assign (const text_style &rhs) |
Private Attributes | |
| detail::color_type | foreground_color |
| detail::color_type | background_color |
| bool | set_foreground_color |
| bool | set_background_color |
| emphasis | ems |
Friends | |
| text_style | operator| (text_style lhs, const text_style &rhs) |
| text_style | operator& (text_style lhs, const text_style &rhs) |
| text_style | fg (detail::color_type foreground) throw () |
| text_style | bg (detail::color_type background) throw () |
A text style consisting of foreground and background colors and emphasis.
|
inlineprivate | ||||||||||||||||||||
|
inlineprivate |
|
inline | |||||||||||||

|
inline | |||||||||||||

|
inline | |||||||||||||

|
inline | |||||||||||||

|
inline | |||||||||||||

|
inline | |||||||||||||

|
inline |
|
inline |
|
friend | ||||||||||||||
Creates a text style from the background color.
|
friend | ||||||||||||||
Creates a text style from the foreground (text) color.
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |