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


Public Member Functions | |
| void | setstartpara () |
| void | setBop () |
| bool | isBop () |
| void | setendpara () |
| void | setendpara (const CStyle &cs) |
| int | leftMargin () |
| int | rightMargin () |
| void | setEof () |
| bool | eof () |
| CDrawBuffer & | operator= (CDrawBuffer &) |
| CDrawBuffer (FontControl *_fs=NULL) | |
| ~CDrawBuffer () | |
| int | charwidth (int numchars, CStyle ¤tstyle) |
| int | charwidth (int numchars) |
| int | width (int availht, int numchars=-1, bool onscreen=false, int scwidth=0, unsigned short _lborder=0, unsigned short _rborder=0) |
| int | offset (int, unsigned short, unsigned short, int) |
| void | render (QPainter *_p, int _y, bool _bMono, int _charWidth, int scw, unsigned short, unsigned short, const QColor &, int availht) |
| void | empty () |
| void | addch (tchar ch, CStyle _style) |
| void | truncate (int) |
| void | setright (CDrawBuffer &, int) |
| CStyle | firststyle () |
| CStyle | laststyle () |
| int | ascent () |
| int | descent () |
| int | lineSpacing () |
| int | lineExtraSpacing () |
| linkType | getLinkType (int numchars, size_t &tgt, size_t &offset, size_t &pictgt, QImage *&, size_t &) |
| void | resize (int) |
| bool | showPartial () |
| CStyle * | getNextLink (int &) |
| int | invertLink (int) |
Private Member Functions | |
| CDrawBuffer (const CDrawBuffer &) | |
| CDrawBuffer & | operator= (const tchar *sztmp) |
| void | Highlight (QPainter *_p, bool drawBackground, int _x, int _y, int w, QColor bgColour) |
Private Attributes | |
| bool | m_hastext |
| CList< textsegment > | segs |
| int | len |
| FontControl * | fc |
| int | m_ascent |
| int | m_descent |
| int | m_lineSpacing |
| int | m_lineExtraSpacing |
| bool | m_bEof |
| bool | m_bBop |
| bool | m_bSop |
| bool | m_bEop |
| bool | m_showPartial |
|
|
|
|
|
Definition at line 49 of file CDrawBuffer.h. References empty(). |
|
|
Definition at line 8 of file CDrawBuffer.cpp. References CList< T >::erase(), CList< T >::isEmpty(), and segs. |
|
||||||||||||
|
Definition at line 106 of file CDrawBuffer.cpp. References CList< T >::first(), CList< T >::last(), len, CList< T >::push_back(), and segs. Referenced by BuffDoc::getline(). |
|
|
Definition at line 75 of file CDrawBuffer.h. References m_ascent. |
|
|
Definition at line 283 of file CDrawBuffer.cpp. References CList< T >::begin(), CStyle::canScale(), CBufferFace< tchar >::data(), CList< T >::end(), end, f, fc, FontControl::fixedfontname(), CStyle::getPicture(), FontControl::getsize(), FontControl::gzoom(), FontControl::hasCourier(), CStyle::isMono(), CStyle::isPicture(), len, FontControl::name(), Dasher::Opts::Normal, segs, and text. |
|
||||||||||||
|
Definition at line 251 of file CDrawBuffer.cpp. References CStyle::canScale(), CBufferFace< tchar >::data(), f, fc, FontControl::fixedfontname(), CStyle::getPicture(), FontControl::getsize(), FontControl::gzoom(), FontControl::hasCourier(), CStyle::isMono(), CStyle::isPicture(), FontControl::name(), Dasher::Opts::Normal, and text. |
|
|
Definition at line 76 of file CDrawBuffer.h. References m_descent. Referenced by QTReader::blitRot(), and resize(). |
|
|
Definition at line 80 of file CDrawBuffer.cpp. References CList< T >::erase(), CList< T >::isEmpty(), len, m_ascent, m_bBop, m_bEof, m_bEop, m_bSop, m_descent, m_lineExtraSpacing, m_lineSpacing, CList< T >::push_back(), and segs. Referenced by BuffDoc::BuffDoc(), CDrawBuffer(), BuffDoc::getline(), BuffDoc::hyperlink(), BuffDoc::locate(), BuffDoc::openfile(), and BuffDoc::resetPos(). |
|
|
Definition at line 47 of file CDrawBuffer.h. References m_bEof. Referenced by QTReader::dopagedn(), and QTReader::setautoscroll(). |
|
|
Definition at line 657 of file CDrawBuffer.cpp. References CList< T >::first(), and segs. Referenced by BuffDoc::getline(). |
|
||||||||||||||||||||||||||||
|
Definition at line 662 of file CDrawBuffer.cpp. References CList< T >::begin(), eLink, CList< T >::end(), end, eNone, ePicture, eTable, CStyle::getData(), CStyle::getLink(), CStyle::getOffset(), CStyle::getPicture(), CStyle::getPictureLink(), CStyle::getPictureLinkData(), CStyle::getTable(), CStyle::isTable(), len, and segs. |
|
|
Definition at line 840 of file CDrawBuffer.cpp. References CList< T >::begin(), CList< T >::end(), NULL, qDebug(), segs, and start. |
|
||||||||||||||||||||||||||||
|
Definition at line 644 of file CDrawBuffer.cpp. References m_ascent, and m_lineSpacing. Referenced by render(). |
|
|
Definition at line 856 of file CDrawBuffer.cpp. References CList< T >::begin(), CList< T >::end(), qDebug(), segs, and start. |
|
|
Definition at line 41 of file CDrawBuffer.h. References m_bBop. |
|
|
Definition at line 652 of file CDrawBuffer.cpp. References CList< T >::last(), and segs. Referenced by BuffDoc::getline(). |
|
|
Definition at line 337 of file CDrawBuffer.cpp. References CList< T >::begin(), fc, FontControl::getsize(), and segs. |
|
|
Definition at line 78 of file CDrawBuffer.h. References m_lineExtraSpacing. Referenced by QTReader::blitRot(). |
|
|
Definition at line 77 of file CDrawBuffer.h. References m_lineSpacing. Referenced by QTReader::blitRot(), and resize(). |
|
||||||||||||||||||||
|
Definition at line 347 of file CDrawBuffer.cpp. References CList< T >::begin(), leftMargin(), m_AlignCentre, m_AlignJustify, m_AlignLeft, m_AlignNone, m_AlignRight, rightMargin(), segs, and width(). Referenced by QTReader::getcurrentpos(), BuffDoc::getline(), QTReader::processmousewordevent(), and render(). |
|
|
Definition at line 41 of file CDrawBuffer.cpp. References CList< T >::begin(), CList< T >::end(), CList< T >::erase(), i, CList< T >::isEmpty(), len, m_ascent, m_descent, m_lineExtraSpacing, m_lineSpacing, m_showPartial, CList< T >::push_back(), and segs. |
|
|
Reimplemented from CBufferFace< tchar >. Definition at line 66 of file CDrawBuffer.cpp. References CList< T >::erase(), i, CList< T >::isEmpty(), len, CList< T >::push_back(), and segs. |
|
||||||||||||||||||||||||||||||||||||||||
|
|
Definition at line 702 of file CDrawBuffer.cpp. References FontControl::ascent(), ascent(), CList< T >::begin(), CStyle::canScale(), FontControl::descent(), descent(), CList< T >::end(), fc, FontControl::getextraspace(), FontControl::getlead(), CStyle::getPicture(), FontControl::getsize(), FontControl::gzoom(), CStyle::isPicture(), len, lineSpacing(), FontControl::lineSpacing(), m_ascent, m_bSop, m_descent, m_hastext, m_lineExtraSpacing, m_lineSpacing, m_showPartial, and segs. Referenced by QTReader::getline(). |
|
|
Definition at line 342 of file CDrawBuffer.cpp. References CList< T >::begin(), fc, FontControl::getsize(), and segs. |
|
|
Definition at line 40 of file CDrawBuffer.h. References m_bBop. |
|
|
Definition at line 96 of file CDrawBuffer.cpp. References CList< T >::first(), len, m_bEop, and segs. |
|
|
Definition at line 42 of file CDrawBuffer.h. References m_bEop. |
|
|
Definition at line 46 of file CDrawBuffer.h. References m_bEof. |
|
||||||||||||
|
Definition at line 13 of file CDrawBuffer.cpp. References CList< T >::begin(), CList< T >::end(), CList< T >::erase(), fc, i, CList< T >::isEmpty(), len, m_ascent, m_descent, m_lineExtraSpacing, m_lineSpacing, CList< T >::push_back(), and segs. Referenced by BuffDoc::getline(). |
|
|
Definition at line 39 of file CDrawBuffer.h. References m_bSop. |
|
|
Definition at line 83 of file CDrawBuffer.h. References m_showPartial. |
|
|
Definition at line 120 of file CDrawBuffer.cpp. References len. Referenced by BuffDoc::getline(). |
|
||||||||||||||||||||||||||||
|
Definition at line 126 of file CDrawBuffer.cpp. References CList< T >::begin(), CStyle::canScale(), CBufferFace< tchar >::data(), CList< T >::end(), end, f, fc, QString::find(), FontControl::fixedfontname(), CStyle::getPicture(), FontControl::getsize(), FontControl::gzoom(), FontControl::hasCourier(), i, CStyle::isMono(), CStyle::isPicture(), leftMargin(), len, QString::length(), m_AlignJustify, m_bEop, QString::mid(), FontControl::name(), Dasher::Opts::Normal, QString::right(), rightMargin(), segs, str, and text. Referenced by QTReader::getcurrentpos(), offset(), QTReader::processmousewordevent(), and render(). |
|
|
Definition at line 30 of file CDrawBuffer.h. Referenced by charwidth(), leftMargin(), render(), resize(), rightMargin(), setright(), and width(). |
|
|
Definition at line 29 of file CDrawBuffer.h. Referenced by addch(), charwidth(), empty(), getLinkType(), operator=(), render(), resize(), setendpara(), setright(), truncate(), and width(). |
|
|
Definition at line 31 of file CDrawBuffer.h. Referenced by ascent(), empty(), Highlight(), operator=(), resize(), and setright(). |
|
|
Definition at line 32 of file CDrawBuffer.h. |
|
|
Definition at line 32 of file CDrawBuffer.h. |
|
|
Definition at line 33 of file CDrawBuffer.h. Referenced by empty(), render(), setendpara(), and width(). |
|
|
Definition at line 33 of file CDrawBuffer.h. Referenced by empty(), resize(), and setstartpara(). |
|
|
Definition at line 31 of file CDrawBuffer.h. Referenced by descent(), empty(), operator=(), resize(), and setright(). |
|
|
Definition at line 27 of file CDrawBuffer.h. |
|
|
Definition at line 31 of file CDrawBuffer.h. Referenced by empty(), lineExtraSpacing(), operator=(), resize(), and setright(). |
|
|
Definition at line 31 of file CDrawBuffer.h. Referenced by empty(), Highlight(), lineSpacing(), operator=(), resize(), and setright(). |
|
|
Definition at line 34 of file CDrawBuffer.h. Referenced by operator=(), resize(), and showPartial(). |
|
|
Definition at line 28 of file CDrawBuffer.h. Referenced by addch(), charwidth(), empty(), firststyle(), getLinkType(), getNextLink(), invertLink(), laststyle(), leftMargin(), offset(), operator=(), render(), resize(), rightMargin(), setendpara(), setright(), width(), and ~CDrawBuffer(). |
1.4.2