Abdelrazak Younes <[EMAIL PROTECTED]> writes:
| Hello,
|
| This patch saves the need to check for lyx::use_gui in a number of
| place. I will commit tomorrow if there's no objection.
|
| * lyx_main.h: define "extern bool lyx::use_gui" here.
|
| * ConsoleFontMetrics.h: new class for command-line LyX
|
| * ConsoleFontLoader.h: new class for command-line LyX
HOw hard would it be to have the "Application" type be selectable on
startup?
What i mean is (in principle) "lyx --gui=qt" or "lyx --gui=gtk", and
si this specific case, and perhaps more easily achivable "lyx
--gui=none" and have that use the gui/frontend found in
frontends/console.
Would selecting a frontend in such a way make the code elsewhere
simpler eaiser? Perhaps no need for the statics of this patch?
(Years ago, Asger and I had a dream of a curses based frontend...
never had any time to pursue anything in that direction...)
--
Lgb