#include <ColorCubePanel.h>
Inherits GuiComponent.
Public Member Functions | |
void | render () |
bool | onMouseDown (int x, int y) |
void | onMouseDrag (int x, int y) |
Definition at line 20 of file ColorCubePanel.h.
|
Handle mouse click. Definition at line 45 of file ColorCubePanel.cpp. References GuiComponent::disable(), GuiComponent::hit(), and TxPoint::rgba. |
|
Handle Mouse motion. When the user pressed the right mouse button, and drags the mouse, this function should be called. Definition at line 62 of file ColorCubePanel.cpp. |
|
Render the cube at the position of the camera viewport. Definition at line 20 of file ColorCubePanel.cpp. References OrthographicCamera::startCamera(), and OrthographicCamera::stopCamera(). |