|
3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
|
#include <ColorBox.hpp>


Public Member Functions | |
| ColorBox (HWND owner, HINSTANCE hInstance, int x, int y, int cx, int cy, Engine3DRadSpace::Math::Color color) | |
| void | SetColor () |
| Opens the color dialog box. | |
| void | SetColor (Engine3DRadSpace::Math::Color color) |
| Sets a defined color. | |
| Engine3DRadSpace::Math::Color | GetColor () |
| HWND | GetWindowHandle () |
| virtual void | HandleClick (HWND clickedWindow) override |
| ~ColorBox () | |
| Public Member Functions inherited from IControl | |
| IControl (HWND hwnd, HINSTANCE hInstance) | |
| virtual | ~IControl ()=default |
Friends | |
| LRESULT WINAPI | ColorBoxProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) |
Additional Inherited Members | |
| Protected Attributes inherited from IControl | |
| HWND | window |
| HWND | owner |
| HINSTANCE | instance |
| ColorBox::ColorBox | ( | HWND | owner, |
| HINSTANCE | hInstance, | ||
| int | x, | ||
| int | y, | ||
| int | cx, | ||
| int | cy, | ||
| Engine3DRadSpace::Math::Color | color ) |
| ColorBox::~ColorBox | ( | ) |
| Color ColorBox::GetColor | ( | ) |
| HWND ColorBox::GetWindowHandle | ( | ) |
|
overridevirtual |
Implements IControl.
| void ColorBox::SetColor | ( | ) |
Opens the color dialog box.
| void ColorBox::SetColor | ( | Engine3DRadSpace::Math::Color | color | ) |
Sets a defined color.
| color | Color. Only R, G, B components are used. |
|
friend |