As indicated by the title.
In my program(c++ code), I create a ccGLwindow as a widget like "ccViewer".
But I want to change the background-color of the window.
where should I modify the resource code ?
I'd searched in ccGLwindow.h/.cpp , but I still have no idea so far.
I will be grateful for any help you can provide.
GLWindow to change background color
Re: GLWindow to change background color
See the ccGLWindow::setDisplayParameters function. It takes a ccGui::ParamStruct structure as input. And you can set the 'backgroundCol' attribute of thsis structure.
To see how you can use all these together, refer to the cc2Point5DimEditor::create2DView method for instance.
To see how you can use all these together, refer to the cc2Point5DimEditor::create2DView method for instance.
Daniel, CloudCompare admin
Re: GLWindow to change background color
Problem solved. Thanks for your help!