Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| >>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
|
| Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: |
| Lars> One of the (bad) reasons for including forms.h is the need to
| Lars> access | fl_display() and fl_screen(). What is the best place to
| Lars> get those | things? Would adding LyXGUI::x11Display() and
| Lars> LyXGUI::x11Screen() be a | good idea?
|
| Lars> No, the real fix is to avoid needing the display and the screen,
| Lars> all uses of that should be confined to the gui code.
|
| At least FontInfo.C and Painter.C, which are anyway X11 specific, need
| this info. ColorHandler.C needs this a a bit more (a colormap). I
| guess we are supposed to use them in gnome and Qt2 ports, no?
mmm but all of this should somehow be moved to the frontends
directory.
and if the other ports have better / more native ways of doing things
that should be prefered.
--
Lgb