Encapsulates controls for setting terrain generation parameters. More...
#include <control_terrain.h>
Public Member Functions | |
ControlTerrain (FracplanetMain *tgt, ParametersTerrain *param_terrain, ParametersCloud *param_cloud) | |
![]() | |
void | pickColour (QPushButton *button, FloatRGBA &colour) |
Use Qt's colour-picking dialog to replace the referenced colour. | |
Additional Inherited Members | |
![]() | |
static QIcon | build_icon_of_colour (const FloatRGBA &col) |
Utility function to build a small Qt icon of the specified colour. More... | |
Encapsulates controls for setting terrain generation parameters.
ControlTerrain::ControlTerrain | ( | FracplanetMain * | tgt, |
ParametersTerrain * | param_terrain, | ||
ParametersCloud * | param_cloud | ||
) |
Lots of tedious code to instantiate controls and wire things up.