]> git.lyx.org Git - features.git/commit
This commit introduces the FontLoader interface class. In the future, I intend to...
authorAbdelrazak Younes <younes@lyx.org>
Tue, 3 Oct 2006 16:17:32 +0000 (16:17 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 3 Oct 2006 16:17:32 +0000 (16:17 +0000)
commit205096733a808ba496550f3b74b40cb983a00642
tree146aa3437edc6777c1cce0cf366cfe5bb3bfbe3c
parentf78e126d1e65bbf4cdb5f208ca8e74abb276ea1c
This commit introduces the FontLoader interface class. In the future, I intend to extend it with a proper encapsulation of font metrics.

* frontends/FontLoader.h: new interface class.
* frontends/Application.h: new FontLoader() pure virtual method
* frontends/lyx_gui: update_fonts() and font_available() methods deleted

* [qt3/qt4/gtk]/GuiApplication: implement the new interface

* qt4/GuiFontLoader:
  - renamed from FontLoader
  - now derives from FontLoader
  - now in the lyx::frontend namespace

* qt3/qfont_loader
  - now derives from FontLoader

* gtk/xftFontLoader
  - now derives from FontLoader

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15220 a592a061-630c-0410-9148-cb99ea01b6c8
25 files changed:
development/scons/scons_manifest.py
src/frontends/Application.h
src/frontends/FontLoader.h [new file with mode: 0644]
src/frontends/Makefile.am
src/frontends/gtk/GuiApplication.h
src/frontends/gtk/lyx_gui.C
src/frontends/gtk/xftFontLoader.h
src/frontends/lyx_gui.h
src/frontends/qt3/GuiApplication.h
src/frontends/qt3/QtView.C
src/frontends/qt3/lyx_gui.C
src/frontends/qt3/qfont_loader.C
src/frontends/qt3/qfont_loader.h
src/frontends/qt4/FontLoader.C [deleted file]
src/frontends/qt4/FontLoader.h [deleted file]
src/frontends/qt4/GuiApplication.h
src/frontends/qt4/GuiFontLoader.C [new file with mode: 0644]
src/frontends/qt4/GuiFontLoader.h [new file with mode: 0644]
src/frontends/qt4/Makefile.am
src/frontends/qt4/QLPainter.C
src/frontends/qt4/lyx_gui.C
src/frontends/qt4/qfont_metrics.C
src/lyxfunc.C
src/mathed/MathFactory.C
src/mathed/MathSupport.C