20 ,m_privateColormap(true)
30 static int attributeList[] = { GLX_RGBA,
39 std::cout <<
"Can't open display." << std::endl;
45 std::cout <<
"Can't choose a visual." << std::endl;
51 std::cout <<
"Can't create a GLX context." << std::endl;
64 std::cout <<
"Can't create X colormap." << std::endl;
79 if(xevent.type==ConfigureNotify) {
81 view->
resize((
int)xevent.xconfigure.width,
82 (
int)xevent.xconfigure.height);
95 for(
unsigned int index=0;index<
fViews.size();index++){
97 if(aWindow==view->
window())
return view;