Public Member Functions | |
StyleColour (const string &r_hex, const string &g_hex, const string &b_hex) | |
StyleColour (const string &styleColourString) | |
void | setRGBValues (const string &styleColourString) |
void | setRedValue (const string &r_hex) |
void | setGreenValue (const string &g_hex) |
void | setBlueValue (const string &b_hex) |
string & | getHexRedValue () |
string & | getHexGreenValue () |
string & | getHexBlueValue () |
string | getLatexRedValue () |
string | getLatexGreenValue () |
string | getLatexBlueValue () |
string | getTexRedValue () |
string | getTexGreenValue () |
string | getTexBlueValue () |
string | getRTFRedValue () |
string | getRTFGreenValue () |
string | getRTFBlueValue () |
highlight::StyleColour::StyleColour | ( | const string & | r_hex, | |
const string & | g_hex, | |||
const string & | b_hex | |||
) |
Constructor
r_hex | Red value in hex notation | |
g_hex | Blue value in hex notation | |
b_hex | Green value in hex notation |
highlight::StyleColour::StyleColour | ( | const string & | styleColourString | ) |
Constructor
styleColourString | String with rgb values |
void highlight::StyleColour::setRGBValues | ( | const string & | styleColourString | ) |
Sets red, green and blue values
styleColourString | String containing colour attributes |
void highlight::StyleColour::setRedValue | ( | const string & | r_hex | ) |
Sets red value
r_hex | New red value |
void highlight::StyleColour::setGreenValue | ( | const string & | g_hex | ) |
Sets green value
g_hex | New green value |
void highlight::StyleColour::setBlueValue | ( | const string & | b_hex | ) |
Sets blue value
b_hex | New blue value |
string & highlight::StyleColour::getHexRedValue | ( | ) |
string & highlight::StyleColour::getHexGreenValue | ( | ) |
string & highlight::StyleColour::getHexBlueValue | ( | ) |
string highlight::StyleColour::getLatexRedValue | ( | ) |
string highlight::StyleColour::getLatexGreenValue | ( | ) |
string highlight::StyleColour::getLatexBlueValue | ( | ) |
string highlight::StyleColour::getTexRedValue | ( | ) |
string highlight::StyleColour::getTexGreenValue | ( | ) |
string highlight::StyleColour::getTexBlueValue | ( | ) |
string highlight::StyleColour::getRTFRedValue | ( | ) |
string highlight::StyleColour::getRTFGreenValue | ( | ) |
string highlight::StyleColour::getRTFBlueValue | ( | ) |