![]() Home Overview FAQ Documentation Download Mailing List Geomview For Windows? Support Users Development Bug Reporting Contributing Contact Us Sponsors
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [ REQ 5894]: Question about Geomview + Xforms (Forms Library for X)
Hello,
I'm working with X-geomview, C++ (g++ compiler) and
Xforms. In the second extern module of the Geomview Manual appears:
1. an OpenGL function called "foreground()"
and
Question: How can I replace that function in Xforms? (Xforms is based
on Xlib) It's that function necessary for Xform?
2. The next code into the main:
for (t=0; ; t+=dt) {
fdmask = (1 << fileno(stdin)) | (1 << qgetfd());
select(qgetfd()+1, &fdmask, NULL, NULL, &timeout);
fl_check_forms();
UpdateMesh(xmin, xmax, ymin, ymax, xdim, ydim, t);
}
Question: How can I replace or fix the next two lines?:
fdmask = (1 << fileno(stdin)) | (1 << qgetfd());
select(qgetfd()+1, &fdmask, NULL, NULL, &timeout);
I don't find the function qgetfd... Is there an equivalent for X?
For that example, I comment all of the above and it works... but
when I use other interface (made with Xforms too), geomview blocks if
I use its menues......
(That happen in a SunOs environment.... but not in Linux..!!! )
I speak english only a little, sorry :)
Any suggestions please send me a mail
Thanks in advance!!!
|
||
|
Home | Overview | FAQ | Documentation | Support | Download | Mailing List Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors |
|||
|
site hosted by |
|||