5 #ifndef __zqb_bar_draw_hpp
6 #define __zqb_bar_draw_hpp
10 #include "zqb_palette.hpp"
46 ZqbBarDraw (QPainter& paint,
const QRect& clip);
54 virtual void flip (
bool new_flag) {
65 virtual bool clipAndFlip (QLine& dest,
int pos,
int start,
int end);
73 virtual void drawBar (
int pos,
int start,
int end,
int ci);
78 virtual void drawBar (
int pos,
int start,
int end,
const QColor& c);
83 virtual void drawBar (
int pos,
int start,
int end);
89 virtual void flush ();
bool m_bFlip
Definition: zqb_bar_draw.hpp:23
virtual void flip(bool new_flag)
Definition: zqb_bar_draw.hpp:54
QVector< QLine > m_Buffer
Definition: zqb_bar_draw.hpp:39
virtual void setColor(int ci)
ZqbPalette m_zPal
Definition: zqb_bar_draw.hpp:37
QPainter & m_qPaint
Definition: zqb_bar_draw.hpp:31
virtual bool isFlipped() const
Definition: zqb_bar_draw.hpp:59
virtual bool clipAndFlip(QPointArray &dest, int pos, int start, int end)
virtual void setPalette(const ZqbPalette &zpal)
virtual void drawBar(int pos, int start, int end, int ci)
ZqbBarDraw(QPainter &paint, const QRect &clip, bool bHardcopy)
Definition: zqb_bar_draw.hpp:17
QRect m_qClipRect
Definition: zqb_bar_draw.hpp:34
Definition: zqb_palette.hpp:17
int m_iColor
Definition: zqb_bar_draw.hpp:41