#include </home/clem/local/src/opie/noncore/apps/opie-reader/FontControl.h>
Collaboration diagram for FontControl:

Public Member Functions | |
| void | FixGraphics (bool _b) |
| bool | FixGraphics () |
| void | setBaseSize (unsigned char _s) |
| unsigned char | getBaseSize () |
| int | gzoom () |
| FontControl (QString n="helvetica", int size=10) | |
| ~FontControl () | |
| void | hasCourier (bool _b, const QString &_nm) |
| QString & | fixedfontname () |
| bool | hasCourier () |
| QString | name () |
| int | currentsize () |
| int | getsize (const CStyle &size) |
| int | getsize (int _offset) |
| int | ascent () |
| int | ascent (const CStyle &ch) |
| int | descent () |
| int | descent (const CStyle &ch) |
| int | lineSpacing () |
| int | lineSpacing (const CStyle &ch) |
| bool | decreasesize () |
| bool | increasesize () |
| bool | ChangeFont (QString &n) |
| bool | ChangeFont (QString &n, int tgt) |
| void | setlead (int _lead) |
| int | getlead () |
| void | setextraspace (int _lead) |
| int | getextraspace () |
Private Attributes | |
| int * | m_fontsizes |
| int | m_size |
| int | g_size |
| QString | m_fontname |
| QString | m_fixedfontname |
| int | m_maxsize |
| bool | m_hasCourier |
| int | m_leading |
| int | m_extraspace |
| unsigned char | m_basesize |
| bool | m_fixgraphics |
|
||||||||||||
|
Definition at line 30 of file FontControl.h. References ChangeFont(), and size. |
|
|
Definition at line 36 of file FontControl.h. References m_fontsizes, and NULL. |
|
|
Definition at line 72 of file FontControl.h. |
|
|
Definition at line 66 of file FontControl.h. References currentsize(), f, and name(). Referenced by CDrawBuffer::render(), CDrawBuffer::resize(), and QTReader::setfont(). |
|
||||||||||||
|
Definition at line 34 of file FontControl.cpp. References abs, QValueList< T >::begin(), QValueList< T >::count(), QValueList< T >::end(), g_size, i, m_fontname, m_fontsizes, m_maxsize, m_size, and NULL. |
|
|
Definition at line 149 of file FontControl.h. References currentsize(). Referenced by QTReader::ChangeFont(), and FontControl(). |
|
|
Definition at line 48 of file FontControl.h. References m_fontsizes, m_size, and NULL. Referenced by ascent(), ChangeFont(), descent(), QTReaderApp::do_saveconfig(), lineSpacing(), QTReader::mouseReleaseEvent(), QTReader::setfont(), QTReaderApp::setfontHelper(), QTReader::setmono(), QTReaderApp::showinfo(), and QTReaderApp::UpdateStatus(). |
|
|
Definition at line 102 of file FontControl.h. References g_size, m_fixgraphics, and m_size. Referenced by QTReader::zoomout(). |
|
|
Definition at line 84 of file FontControl.h. |
|
|
Definition at line 78 of file FontControl.h. References currentsize(), f, and name(). Referenced by CDrawBuffer::resize(), and QTReader::setfont(). |
|
|
Definition at line 45 of file FontControl.h. References m_fixedfontname. Referenced by CDrawBuffer::charwidth(), CDrawBuffer::render(), and CDrawBuffer::width(). |
|
|
Definition at line 23 of file FontControl.h. References m_fixgraphics. |
|
|
Definition at line 19 of file FontControl.h. References m_fixgraphics. Referenced by QTReaderApp::do_saveconfig(), QTReaderApp::readconfig(), and QTReaderApp::showprefs(). |
|
|
Definition at line 28 of file FontControl.h. References m_basesize. Referenced by QTReader::getBaseSize(). |
|
|
Definition at line 166 of file FontControl.h. References m_extraspace. Referenced by QTReader::getextraspace(), and CDrawBuffer::resize(). |
|
|
Definition at line 158 of file FontControl.h. References m_leading. Referenced by QTReader::getlead(), and CDrawBuffer::resize(). |
|
|
Definition at line 53 of file FontControl.h. References m_fontsizes, m_maxsize, and m_size. |
|
|
Definition at line 49 of file FontControl.h. Referenced by ascent(), CDrawBuffer::charwidth(), descent(), CDrawBuffer::leftMargin(), lineSpacing(), CDrawBuffer::render(), CDrawBuffer::resize(), CDrawBuffer::rightMargin(), CDrawBuffer::width(), QTReaderApp::zoomin(), and QTReaderApp::zoomout(). |
|
|
Definition at line 5 of file FontControl.cpp. References f, g_size, m_basesize, m_fixgraphics, m_fontsizes, m_maxsize, and m_size. Referenced by CDrawBuffer::charwidth(), CDrawBuffer::render(), CDrawBuffer::resize(), and CDrawBuffer::width(). |
|
|
Definition at line 46 of file FontControl.h. References m_hasCourier. |
|
||||||||||||
|
Definition at line 40 of file FontControl.h. References m_fixedfontname, and m_hasCourier. Referenced by CDrawBuffer::charwidth(), CDrawBuffer::render(), and CDrawBuffer::width(). |
|
|
Definition at line 126 of file FontControl.h. References g_size, m_fixgraphics, m_maxsize, and m_size. Referenced by QTReader::zoomin(). |
|
|
Definition at line 96 of file FontControl.h. |
|
|
Definition at line 90 of file FontControl.h. References currentsize(), f, and name(). Referenced by CDrawBuffer::resize(), and QTReader::setfont(). |
|
|
Definition at line 47 of file FontControl.h. References m_fontname. Referenced by ascent(), CDrawBuffer::charwidth(), descent(), lineSpacing(), CDrawBuffer::render(), and CDrawBuffer::width(). |
|
|
Definition at line 27 of file FontControl.h. References m_basesize. Referenced by QTReader::setBaseSize(). |
|
|
Definition at line 162 of file FontControl.h. References m_extraspace. Referenced by QTReader::setextraspace(). |
|
|
Definition at line 154 of file FontControl.h. References m_leading. Referenced by QTReader::setlead(). |
|
|
Definition at line 10 of file FontControl.h. Referenced by ChangeFont(), decreasesize(), gzoom(), and increasesize(). |
|
|
Definition at line 16 of file FontControl.h. Referenced by getBaseSize(), gzoom(), and setBaseSize(). |
|
|
Definition at line 15 of file FontControl.h. Referenced by getextraspace(), and setextraspace(). |
|
|
Definition at line 12 of file FontControl.h. Referenced by fixedfontname(), and hasCourier(). |
|
|
Definition at line 17 of file FontControl.h. Referenced by decreasesize(), FixGraphics(), gzoom(), and increasesize(). |
|
|
Definition at line 11 of file FontControl.h. Referenced by ChangeFont(), and name(). |
|
|
Definition at line 9 of file FontControl.h. Referenced by ChangeFont(), currentsize(), getsize(), gzoom(), and ~FontControl(). |
|
|
Definition at line 14 of file FontControl.h. Referenced by hasCourier(). |
|
|
Definition at line 15 of file FontControl.h. |
|
|
Definition at line 13 of file FontControl.h. Referenced by ChangeFont(), getsize(), gzoom(), and increasesize(). |
|
|
Definition at line 10 of file FontControl.h. Referenced by ChangeFont(), currentsize(), decreasesize(), getsize(), gzoom(), and increasesize(). |
1.4.2