1 #ifndef uirgbarraycanvas_h 2 #define uirgbarraycanvas_h 14 #include "uitoolsmod.h" 43 void setBGColor(
const Color&);
44 void setDrawArr(
bool);
50 const uiRGBArray&
rgbArray()
const {
return rgbarr_; }
58 inline bool arrDrawn()
const {
return dodraw_; }
61 void beforeDraw(
int w,
int h);
62 void setPixMapPos(
int x,
int y);
78 void rubberBandHandler(
uiRect);
#define mExpClass(module)
Definition: commondefs.h:160
uiBorder border_
Definition: uirgbarraycanvas.h:69
const uiRGBArray & rgbArray() const
Definition: uirgbarraycanvas.h:50
const Color & bgColor() const
Definition: uirgbarraycanvas.h:57
uiRect arrarea_
Definition: uirgbarraycanvas.h:73
Color bgcolor_
Definition: uirgbarraycanvas.h:70
Definition: uiparent.h:26
uiRect arrArea() const
Definition: uirgbarraycanvas.h:48
uiPixmap * pixmap_
Definition: uirgbarraycanvas.h:75
bool arrDrawn() const
Definition: uirgbarraycanvas.h:58
uiRGBArray & rgbArray()
Definition: uirgbarraycanvas.h:49
uiPixmapItem * pixmapitm_
Definition: uirgbarraycanvas.h:67
bool dodraw_
Definition: uirgbarraycanvas.h:71
virtual void mkNewFill()
Definition: uirgbarraycanvas.h:77
Definition: mouseevent.h:162
Off-screen pixel-based paint device.
Definition: uipixmap.h:34
const uiBorder & border() const
Definition: uirgbarraycanvas.h:56
Provides a canvas where a uiRGBArray is pre-drawn.
Definition: uirgbarraycanvas.h:36
uiRect updarea_
Definition: uirgbarraycanvas.h:74
uiRGBArray & rgbarr_
Definition: uirgbarraycanvas.h:68
const uiRect & updateArea()
Definition: uirgbarraycanvas.h:52
Definition: uigraphicsitemimpl.h:172
Definition: uigraphicsview.h:51
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26