World of Hello
|
the GUI environment More...
#include <environment.h>
Static Public Member Functions | |
static environment | setFont (string filePath) |
set the environment's font. More... | |
static environment | setFontColor (int r, int g, int b, int a=255) |
set the environment's font color. More... | |
static environment | setFaceColor (int r, int g, int b, int a=255) |
set the GUI environment's face color. More... | |
static environment | setWindowGradientColor (int r, int g, int b, int a=255) |
set the GUI environment's window gradient color. More... | |
static environment | setButtonGradientColor (int r, int g, int b, int a=255) |
set the GUI environment's button gradient color. More... | |
the GUI environment
Control the GUI environment by changing all button colors, window colors, gradients, fonts, etc.
|
static |
set the GUI environment's button gradient color.
Set the gradient color of GUI buttons.
The | amount of red (0-255). |
The | amount of green (0-255). |
The | amount of blue (0-255). |
(optional) | The amount of alpha (transparency) (0-255). |
|
static |
set the GUI environment's face color.
Set the face color of GUI buttons, windows, list boxes, etc.
The | amount of red (0-255). |
The | amount of green (0-255). |
The | amount of blue (0-255). |
(optional) | The amount of alpha (transparency) (0-255). |
|
static |
set the environment's font.
The | font file path. |
|
static |
set the environment's font color.
The | amount of red (0-255). |
The | amount of green (0-255). |
The | amount of blue (0-255). |
(optional) | The amount of alpha (transparency) (0-255). |
|
static |
set the GUI environment's window gradient color.
Set the gradient color of GUI windows. Also affects the outline color of GUI buttons, list boxes, edit boxes, etc.
The | amount of red (0-255). |
The | amount of green (0-255). |
The | amount of blue (0-255). |
(optional) | The amount of alpha (transparency) (0-255). |