Geomview For Windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with Forms in X-Geomview
Boy, it's hard to guess. fl_init() is called automatically by most of the forms routines, if it hadn't been called before. You could try inserting a call to fl_init() in, say, glmain.c in main() after the call to foreground() but I bet it won't matter. Another thing to try: The symptoms you describe suggest FORMS is confused about the contents of the color map. You can change the way forms uses colors by calling fl_set_graphics_mode(<rgb_mode>, <double_buffer>). The default is probably fl_set_graphics_mode(1, 1) (i.e. use RGB-mode drawing for coloring forms, and use double-buffering). Try inserting a call to fl_set_graphics_mode(0, 0) in main() after calling foreground() and see if anything changes. (Don't call fl_init() after fl_set_graphics_mode() or it'll erase the settings.)
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
site hosted by