Graphic Calculator: FIDocalcus
Проект трёх первокурсников (по инженерному практикуму в первом семестре) по созданию графического калькулятора на FLTK C++
|
Цвет, с учетом прозрачности More...
#include <Shapes.h>
Public Types | |
enum | Color_type { red = FL_RED , blue = FL_BLUE , green = FL_GREEN , yellow = FL_YELLOW , white = FL_WHITE , black = FL_BLACK , magenta = FL_MAGENTA , cyan = FL_CYAN , dark_red = FL_DARK_RED , dark_green = FL_DARK_GREEN , dark_yellow = FL_DARK_YELLOW , dark_blue = FL_DARK_BLUE , dark_magenta = FL_DARK_MAGENTA , dark_cyan = FL_DARK_CYAN } |
enum | Transparency { invisible = 0 , visible = 255 } |
Public Member Functions | |
Color (Color_type _c) | |
Color (Color_type _c, Transparency _v) | |
Color (Transparency _v) | |
Color (unsigned int _c) | |
~Color ()=default | |
unsigned int | as_uint () const |
void | set_visibility (Transparency _v) |
char | visibility () const |
Private Attributes | |
Fl_Color | c |
unsigned char | v |
Цвет, с учетом прозрачности
Enumerator | |
---|---|
red | |
blue | |
green | |
yellow | |
white | |
black | |
magenta | |
cyan | |
dark_red | |
dark_green | |
dark_yellow | |
dark_blue | |
dark_magenta | |
dark_cyan |
|
inline |
|
inline |
|
inline |
|
inlinedefault |
|
inline |
|
private |