]> git.lyx.org Git - features.git/commit
This commit creates a new "frontends/lyx_gui.C" that contains all functions that...
authorAbdelrazak Younes <younes@lyx.org>
Tue, 3 Oct 2006 10:34:10 +0000 (10:34 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 3 Oct 2006 10:34:10 +0000 (10:34 +0000)
commit63ad5449fb99abae131dec98fe508322a2a31320
treecc7e105e52ec352d4121420f159870ae5fdb93f4
parentdb9235f0957a4b2380f6862353a575a9e2780d03
This commit creates a new "frontends/lyx_gui.C" that contains all functions that are not frontend dependent any more. It also creates 3 new pure virtual methods in Application:

virtual std::string const romanFontName() = 0;
virtual std::string const sansFontName() = 0;
virtual std::string const typewriterFontName() = 0;

My goal is to transfer all of "frontends/*/lyx_gui.C" to "frontends/lyx_gui.C". When this is done, "frontends/lyx_gui.C" can go altogether as its functions will then be replaced with direct calls to theApp->XXX().

* frontends/lyx_gui.C: new file with code transfered from [qt3,qt4,gtk]/lyx_gui.C

* frontends/Application: 3 new font related pure virtual methods

* [qt3,qt4,gtk]/GuiApplication: implement the above method with code transfered from lyx_gui.C

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15208 a592a061-630c-0410-9148-cb99ea01b6c8
13 files changed:
development/scons/scons_manifest.py
src/frontends/Application.h
src/frontends/Makefile.am
src/frontends/gtk/GuiApplication.C
src/frontends/gtk/GuiApplication.h
src/frontends/gtk/lyx_gui.C
src/frontends/lyx_gui.C [new file with mode: 0644]
src/frontends/qt3/GuiApplication.C
src/frontends/qt3/GuiApplication.h
src/frontends/qt3/lyx_gui.C
src/frontends/qt4/GuiApplication.C
src/frontends/qt4/GuiApplication.h
src/frontends/qt4/lyx_gui.C