00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef DISPLAY_PIXELCANVAS_H
00029 #define DISPLAY_PIXELCANVAS_H
00030
00031 #include <casa/aips.h>
00032 #include <casa/Containers/List.h>
00033 #include <display/Display/DisplayEnums.h>
00034 #include <display/Display/PixelCanvasColorTable.h>
00035 #include <display/Display/PCVGBuffer.h>
00036 #include <display/Display/DLFont.h>
00037
00038 namespace casa {
00039
00040 template <class T> class Vector;
00041 template <class T> class Matrix;
00042 class Colormap;
00043 class PCMotionEH;
00044 class PCPositionEH;
00045 class PCRefreshEH;
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157 class PixelCanvas {
00158 public:
00159 virtual ~PixelCanvas();
00160
00161
00162
00163 void addRefreshEventHandler(const PCRefreshEH &eh);
00164 void addMotionEventHandler(const PCMotionEH &eh);
00165 void addPositionEventHandler(const PCPositionEH &eh);
00166
00167
00168
00169
00170 void removeRefreshEventHandler(const PCRefreshEH &eh);
00171 void removeMotionEventHandler(const PCMotionEH &eh);
00172 void removePositionEventHandler(const PCPositionEH &eh);
00173
00174
00175
00176
00177 void callRefreshEventHandlers(Display::RefreshReason reason);
00178 void callMotionEventHandlers(Int x, Int y, uInt state);
00179 void callPositionEventHandlers(Display::KeySym keysym, Bool keystate,
00180 Int x, Int y, uInt state);
00181
00182
00183
00184
00185 virtual void enableMotionEvents() = 0;
00186 virtual void disableMotionEvents() = 0;
00187 virtual void enablePositionEvents() = 0;
00188 virtual void disablePositionEvents() = 0;
00189
00190
00191
00192
00193
00194
00195 virtual Bool supportsLists() = 0;
00196
00197
00198 virtual uInt newList() = 0;
00199
00200 virtual void endList() = 0;
00201
00202 virtual void drawList(uInt list) = 0;
00203
00204 virtual void translateAllLists(Int xt, Int yt) = 0;
00205
00206 virtual void translateList(uInt list, Int xt, Int yt) = 0;
00207
00208 virtual void deleteList(uInt list) = 0;
00209
00210 virtual void deleteLists() = 0;
00211
00212 virtual Bool validList(uInt list) = 0;
00213
00214
00215 virtual Bool setFont(const String &fontName) = 0;
00216
00217
00218
00219 virtual Bool setFont(DLFont* ) {
00220 return False;
00221 }
00222
00223
00224 virtual Bool setFont(const String& , const Int ) {
00225 return False;
00226 }
00227
00228
00229
00230 virtual void drawText(Int x, Int y, const String &text,
00231 Display::TextAlign alignment = Display::AlignCenter) = 0;
00232
00233
00234
00235 virtual void drawText(Int , Int , const String &,
00236 const Float& ,
00237 Display::TextAlign = Display::AlignCenter)
00238 { }
00239
00240
00241
00242
00243
00244 virtual Int textWidth(const String& ) {
00245 return -1;
00246 }
00247 virtual Int textHeight(const String& ) {
00248 return -1;
00249 }
00250
00251
00252
00253
00254 virtual void drawImage(const Matrix<uInt> &data, Int x, Int y) = 0;
00255 virtual void drawImage(const Matrix<Int> &data, Int x, Int y) = 0;
00256 virtual void drawImage(const Matrix<uLong> &data, Int x, Int y) = 0;
00257 virtual void drawImage(const Matrix<Float> &data, Int x, Int y) = 0;
00258 virtual void drawImage(const Matrix<Double> &data, Int x, Int y) = 0;
00259
00260
00261
00262
00263
00264
00265
00266
00267 virtual void drawImage(const Int &, const Int &,
00268 const Matrix<uInt> &,
00269 const Matrix<Bool> &,
00270 Bool =False) {
00271 return;
00272 }
00273
00274
00275
00276
00277 virtual void drawImage(const Matrix<uInt> &data, Int x, Int y,
00278 uInt xzoom, uInt yzoom) = 0;
00279 virtual void drawImage(const Matrix<Int> &data, Int x, Int y,
00280 uInt xzoom, uInt yzoom) = 0;
00281 virtual void drawImage(const Matrix<uLong> &data, Int x, Int y,
00282 uInt xzoom, uInt yzoom) = 0;
00283 virtual void drawImage(const Matrix<Float> &data, Int x, Int y,
00284 uInt xzoom, uInt yzoom) = 0;
00285 virtual void drawImage(const Matrix<Double> &data, Int x, Int y,
00286 uInt xzoom, uInt yzoom) = 0;
00287
00288
00289
00290
00291 virtual void drawImage(const Matrix<uInt> &data, const Int &x, const Int &y,
00292 const Display::ColorComponent &colorcomponent) = 0;
00293
00294
00295 virtual void bufferComponent(const Matrix<uInt> &data,
00296 const Int &x, const Int &y,
00297 const Display::ColorComponent
00298 &colorcomponent) = 0;
00299
00300
00301 virtual void flushComponentBuffers() = 0;
00302
00303
00304
00305 virtual void drawPoint(Int x1, Int y1) = 0;
00306 virtual void drawPoint(Float x1, Float y1) = 0;
00307 virtual void drawPoint(Double x1, Double y1) = 0;
00308
00309
00310
00311
00312 virtual void drawPoints(const Matrix<Int> &verts) = 0;
00313 virtual void drawPoints(const Matrix<Float> &verts) = 0;
00314 virtual void drawPoints(const Matrix<Double> &verts) = 0;
00315
00316
00317
00318
00319 virtual void drawPoints(const Vector<Int> &x1, const Vector<Int> &y1) = 0;
00320 virtual void drawPoints(const Vector<Float> &x1,
00321 const Vector<Float> &y1) = 0;
00322 virtual void drawPoints(const Vector<Double> &x1,
00323 const Vector<Double> &y1) = 0;
00324
00325
00326
00327
00328 virtual void drawLine(Int x1, Int y1, Int x2, Int y2) = 0;
00329 virtual void drawLine(Float x1, Float y1, Float x2, Float y2) = 0;
00330 virtual void drawLine(Double x1, Double y1, Double x2, Double y2) = 0;
00331
00332
00333
00334
00335 virtual void drawLines(const Matrix<Int> &verts) = 0;
00336 virtual void drawLines(const Matrix<Float> &verts) = 0;
00337 virtual void drawLines(const Matrix<Double> &verts) = 0;
00338
00339
00340
00341
00342 virtual void drawLines(const Vector<Int> &x1, const Vector<Int> &y1,
00343 const Vector<Int> &x2, const Vector<Int> &y2) = 0;
00344 virtual void drawLines(const Vector<Float> &x1, const Vector<Float> &y1,
00345 const Vector<Float> &x2,
00346 const Vector<Float> &y2) = 0;
00347 virtual void drawLines(const Vector<Double> &x1, const Vector<Double> &y1,
00348 const Vector<Double> &x2,
00349 const Vector<Double> &y2) = 0;
00350
00351
00352
00353
00354 virtual void drawPolyline(const Vector<Int> &x1,
00355 const Vector<Int> &y1) = 0;
00356 virtual void drawPolyline(const Vector<Float> &x1,
00357 const Vector<Float> &y1) = 0;
00358 virtual void drawPolyline(const Vector<Double> &x1,
00359 const Vector<Double> &y1) = 0;
00360
00361
00362
00363
00364 virtual void drawPolyline(const Matrix<Int> &verts) = 0;
00365 virtual void drawPolyline(const Matrix<Float> &verts) = 0;
00366 virtual void drawPolyline(const Matrix<Double> &verts) = 0;
00367
00368
00369
00370
00371
00372 virtual void drawMarker(const Int& x1, const Int& y1,
00373 const Display::Marker& marker,
00374 const Int& pixelHeight);
00375 virtual void drawMarker(const Float& x1, const Float& y1,
00376 const Display::Marker& marker,
00377 const Int& pixelHeight);
00378 virtual void drawMarker(const Double& x1, const Double& y1,
00379 const Display::Marker& marker,
00380 const Int& pixelHeight);
00381
00382
00383
00384
00385 virtual void drawPolygon(const Vector<Int> &x1, const Vector<Int> &y1) = 0;
00386 virtual void drawPolygon(const Vector<Float> &x1,
00387 const Vector<Float> &y1) = 0;
00388 virtual void drawPolygon(const Vector<Double> &x1,
00389 const Vector<Double> &y1) = 0;
00390
00391
00392
00393
00394 virtual void drawFilledPolygon(const Vector<Int> &x1,
00395 const Vector<Int> &y1) = 0;
00396 virtual void drawFilledPolygon(const Vector<Float> &x1,
00397 const Vector<Float> &y1) = 0;
00398 virtual void drawFilledPolygon(const Vector<Double> &x1,
00399 const Vector<Double> &y1) = 0;
00400
00401
00402
00403
00404 virtual void drawPolygon(const Matrix<Int> &verts) = 0;
00405 virtual void drawPolygon(const Matrix<Float> &verts) = 0;
00406 virtual void drawPolygon(const Matrix<Double> &verts) = 0;
00407
00408
00409
00410
00411 virtual void drawRectangle(Int x1, Int y1, Int x2, Int y2) = 0;
00412 virtual void drawRectangle(Float x1, Float y1, Float x2, Float y2) = 0;
00413 virtual void drawRectangle(Double x1, Double y1, Double x2, Double y2) = 0;
00414
00415
00416
00417
00418 virtual void drawFilledRectangle(Int x1, Int y1, Int x2, Int y2) = 0;
00419 virtual void drawFilledRectangle(Float x1, Float y1, Float x2, Float y2) = 0;
00420 virtual void drawFilledRectangle(Double x1, Double y1, Double x2,
00421 Double y2) = 0;
00422
00423
00424
00425
00426 virtual void drawColoredPoints(const Vector<Int> &x1,
00427 const Vector<Int> &y1,
00428 const Vector<uInt> &colors) = 0;
00429 virtual void drawColoredPoints(const Vector<Float> &x1,
00430 const Vector<Float> &y1,
00431 const Vector<uInt> &colors) = 0;
00432 virtual void drawColoredPoints(const Vector<Double> &x1,
00433 const Vector<Double> &y1,
00434 const Vector<uInt> &colors) = 0;
00435 virtual void drawColoredPoints(const Matrix<Int> &xy,
00436 const Vector<uInt> &colors) {
00437 drawColoredPoints(xy.column(0), xy.column(1), colors);
00438 }
00439 virtual void drawColoredPoints(const Matrix<Float> &xy,
00440 const Vector<uInt> &colors) {
00441 drawColoredPoints(xy.column(0), xy.column(1), colors);
00442 }
00443 virtual void drawColoredPoints(const Matrix<Double> &xy,
00444 const Vector<uInt> &colors) {
00445 drawColoredPoints(xy.column(0), xy.column(1), colors);
00446 }
00447
00448
00449
00450
00451 virtual void drawColoredLines(const Vector<Int> &x1,
00452 const Vector<Int> &y1,
00453 const Vector<Int> &x2,
00454 const Vector<Int> &y2,
00455 const Vector<uInt> &colors) = 0;
00456 virtual void drawColoredLines(const Vector<Float> &x1,
00457 const Vector<Float> &y1,
00458 const Vector<Float> &x2,
00459 const Vector<Float> &y2,
00460 const Vector<uInt> &colors) = 0;
00461 virtual void drawColoredLines(const Vector<Double> &x1,
00462 const Vector<Double> &y1,
00463 const Vector<Double> &x2,
00464 const Vector<Double> &y2,
00465 const Vector<uInt> &colors) = 0;
00466
00467
00468
00469
00470
00471
00472
00473
00474
00475
00476
00477
00478
00479
00480
00481 virtual void drawEllipse(const Float &cx, const Float &cy,
00482 const Float &smajor, const Float &sminor,
00483 const Float &pangle, Bool outline = True,
00484 Float xstretch = 1., Float ystretch = 1.);
00485
00486
00487
00488
00489
00490
00491
00492
00493 virtual void drawColoredEllipses(const Matrix<Float> ¢res,
00494 const Vector<Float> &smajor,
00495 const Vector<Float> &sminor,
00496 const Vector<Float> &pangle,
00497 const Vector<uInt> &colors,
00498 const Float &scale = 1.0,
00499 const Bool &outline = True);
00500
00501
00502
00503
00504
00505
00506
00507
00508
00509
00510
00511
00512
00513 void bufferPoint(Float x, Float y) {
00514 vgbuf_.accumPoint(x,y);
00515 }
00516 void bufferLine(Float x1, Float y1, Float x2, Float y2) {
00517 vgbuf_.accumLine(x1,y1,x2,y2);
00518 }
00519 void bufferPolylinePoint(Float x, Float y) {
00520 vgbuf_.accumPolylinePoint(x,y);
00521 }
00522 void bufferPolygonPoint(Float x, Float y) {
00523 vgbuf_.accumPolygonPoint(x,y);
00524 }
00525 void flushBuffer() {
00526 vgbuf_.flush();
00527 }
00528
00529
00530
00531
00532
00533 virtual void setDrawFunction(Display::DrawFunction function) = 0;
00534 virtual void setForeground(uLong color) = 0;
00535 virtual void setBackground(uLong color) = 0;
00536
00537 virtual void setLineWidth(Float width) = 0;
00538 virtual void setLineStyle(Display::LineStyle style) = 0;
00539 virtual void setCapStyle(Display::CapStyle style) = 0;
00540 virtual void setJoinStyle(Display::JoinStyle style) = 0;
00541 virtual void setFillStyle(Display::FillStyle style) = 0;
00542 virtual void setFillRule(Display::FillRule rule) = 0;
00543 virtual void setArcMode(Display::ArcMode mode) = 0;
00544
00545
00546
00547
00548 virtual Display::DrawFunction getDrawFunction() const = 0;
00549 virtual uLong getForeground() const = 0;
00550 virtual uLong getBackground() const = 0;
00551
00552 virtual Float getLineWidth() const = 0;
00553 virtual Display::LineStyle getLineStyle() const = 0;
00554 virtual Display::CapStyle getCapStyle() const = 0;
00555 virtual Display::JoinStyle getJoinStyle() const = 0;
00556 virtual Display::FillStyle getFillStyle() const = 0;
00557 virtual Display::FillRule getFillRule() const = 0;
00558 virtual Display::ArcMode getArcMode() const = 0;
00559
00560
00561
00562
00563
00564 virtual Bool enable(Display::Option option) = 0;
00565 virtual Bool disable(Display::Option option) = 0;
00566
00567
00568
00569 virtual void setImageCacheStrategy(Display::ImageCacheStrategy strategy) = 0;
00570 virtual Display::ImageCacheStrategy imageCacheStrategy() const = 0;
00571
00572
00573
00574
00575
00576 virtual void setClipWindow(Int x1, Int y1, Int x2, Int y2) = 0;
00577 virtual void getClipWindow(Int &x1, Int &y1, Int &x2, Int &y2) = 0;
00578
00579
00580
00581
00582 void redraw() {
00583 refresh();
00584 }
00585 virtual void refresh(const Display::RefreshReason &reason =
00586 Display::UserCommand,
00587 const Bool &explicitrequest = True) = 0;
00588
00589
00590
00591 virtual void flush() = 0;
00592
00593
00594
00595 virtual void clear() = 0;
00596 virtual void clear(Int x1, Int y1, Int x2, Int y2) = 0;
00597
00598
00599
00600
00601 virtual void setClearColor(uInt colorIndex) = 0;
00602 virtual void setClearColor(const String &colorname) = 0;
00603 virtual void setClearColor(float r, float g, float b) = 0;
00604
00605
00606
00607 virtual uInt clearColor() const = 0;
00608 virtual void getClearColor(float &r, float &g, float &b) const = 0;
00609
00610
00611
00612
00613
00614 virtual void setDeviceForegroundColor(const String colorname) = 0;
00615 virtual String deviceForegroundColor() const = 0;
00616 virtual void setDeviceBackgroundColor(const String colorname) = 0;
00617 virtual String deviceBackgroundColor() const = 0;
00618
00619
00620
00621 virtual uInt width() const = 0;
00622
00623 virtual uInt height() const = 0;
00624
00625 virtual uInt depth() const = 0;
00626
00627 virtual void pixelDensity(Float &xdpi, Float &ydpi) const = 0;
00628
00629
00630
00631 virtual void setColor(uInt colorIndex) = 0;
00632 virtual void setColor(const String &colorname) = 0;
00633 virtual void setRGBColor(float r, float g, float b) = 0;
00634 virtual void setHSVColor(float h, float s, float v);
00635
00636
00637
00638
00639
00640 virtual Bool getColorComponents(const String &colorname, Float &r,
00641 Float &g, Float &b) = 0;
00642
00643
00644 virtual uInt color() const = 0;
00645
00646
00647 virtual void getColor(float &r, float &g, float &b) const = 0;
00648
00649
00650
00651 virtual Bool getColor(Int x, Int y, uInt &color) = 0;
00652 virtual Bool getRGBColor(Int x, Int y, float &r, float &g, float &b) = 0;
00653 virtual Bool getHSVColor(Int x, Int y, float &h, float &s, float &v);
00654
00655
00656
00657
00658
00659 virtual Bool resize(uInt , uInt , Bool = True) {
00660 return False;
00661 }
00662
00663
00664 virtual Bool resizeColorTable(uInt newSize) = 0;
00665
00666
00667 virtual Bool resizeColorTable(uInt nReds, uInt nGreens, uInt nBlues) = 0;
00668
00669
00670
00671 virtual PixelCanvasColorTable * pcctbl() const = 0;
00672
00673 virtual void setPcctbl(PixelCanvasColorTable * pcctbl) = 0;
00674
00675
00676
00677
00678
00679
00680
00681
00682
00683
00684 void setColormap(Colormap * map);
00685 Colormap * colormap() const {
00686 return colormap_;
00687 }
00688 Bool colormapRegistered() {
00689 return pcctbl()->member(colormap_);
00690 }
00691
00692
00693
00694
00695
00696
00697 void registerColormap(Colormap * dcmap, Float weight = 1.0);
00698
00699
00700
00701 void registerColormap(Colormap *cmap, Colormap *cmapToReplace);
00702
00703
00704
00705 void unregisterColormap(Colormap * dcmap);
00706
00707
00708 uInt getColormapSize() const {
00709 return pcctbl()->getColormapSize(colormap_);
00710 }
00711
00712
00713
00714
00715
00716
00717
00718
00719
00720
00721
00722
00723
00724
00725
00726 void mapToColor(Array<uChar> &outArray,
00727 const Array<uChar> &inArray, Bool rangeCheck = False) {
00728 pcctbl()->mapToColor(colormap_, outArray, inArray, rangeCheck);
00729 }
00730 void mapToColor(Array<uShort> &outArray,
00731 const Array<uShort> &inArray, Bool rangeCheck = False) {
00732 pcctbl()->mapToColor(colormap_, outArray, inArray, rangeCheck);
00733 }
00734 void mapToColor(Array<uInt> &outArray,
00735 const Array<uInt> &inArray, Bool rangeCheck = False) {
00736 pcctbl()->mapToColor(colormap_, outArray, inArray, rangeCheck);
00737 }
00738 void mapToColor(Array<uLong> &outArray,
00739 const Array<uLong> &inArray, Bool rangeCheck = False) {
00740 pcctbl()->mapToColor(colormap_, outArray, inArray, rangeCheck);
00741 }
00742
00743
00744
00745
00746
00747 void mapToColor(Array<uChar> &inOutArray, Bool rangeCheck = False) {
00748 pcctbl()->mapToColor(colormap_, inOutArray, rangeCheck);
00749 }
00750 void mapToColor(Array<uShort> &inOutArray, Bool rangeCheck = False) {
00751 pcctbl()->mapToColor(colormap_, inOutArray, rangeCheck);
00752 }
00753 void mapToColor(Array<uInt> &inOutArray, Bool rangeCheck = False) {
00754 pcctbl()->mapToColor(colormap_, inOutArray, rangeCheck);
00755 }
00756 void mapToColor(Array<uLong> &inOutArray, Bool rangeCheck = False) {
00757 pcctbl()->mapToColor(colormap_, inOutArray, rangeCheck);
00758 }
00759
00760
00761
00762
00763 void mapToColor(Array<uInt> &outArray,
00764 const Array<uInt> &inArrayRed, const Array<uInt> &inArrayGreen, const Array<uInt>& inArrayBlue) {
00765 pcctbl()->mapToColorRGB(colormap_, outArray, inArrayRed, inArrayGreen, inArrayBlue);
00766 }
00767
00768
00769
00770
00771
00772
00773
00774
00775
00776 void mapToColor3(Array<uLong> &out,
00777 const Array<Float> &chan1in,
00778 const Array<Float> &chan2in,
00779 const Array<Float> &chan3in);
00780 void mapToColor3(Array<uLong> &out,
00781 const Array<Double> &chan1in,
00782 const Array<Double> &chan2in,
00783 const Array<Double> &chan3in);
00784
00785
00786
00787
00788
00789
00790 virtual void mapToColor3(Array<uLong> &out,
00791 const Array<uInt> &chan1in,
00792 const Array<uInt> &chan2in,
00793 const Array<uInt> &chan3in);
00794
00795
00796
00797
00798
00799
00800
00801 virtual void pushMatrix() = 0;
00802 virtual void popMatrix() = 0;
00803
00804
00805 virtual void loadIdentity() = 0;
00806
00807
00808
00809
00810
00811
00812 virtual void translate(Int xt, Int yt) = 0;
00813 virtual void getTranslation(Int &xt, Int &yt) const = 0;
00814 virtual Int xTranslation() const = 0;
00815 virtual Int yTranslation() const = 0;
00816
00817
00818
00819 Display::DrawBuffer drawBuffer() const {
00820 return drawBuffer_;
00821 }
00822
00823 virtual void setDrawBuffer(Display::DrawBuffer buf) = 0;
00824
00825
00826
00827 virtual void copyBackBufferToFrontBuffer() = 0;
00828 virtual void copyFrontBufferToBackBuffer() = 0;
00829 virtual void swapBuffers() = 0;
00830
00831
00832
00833
00834 virtual void copyBackBufferToFrontBuffer(Int x1, Int y1, Int x2, Int y2) = 0;
00835 virtual void copyFrontBufferToBackBuffer(Int x1, Int y1, Int x2, Int y2) = 0;
00836 virtual void swapBuffers(Int x1, Int y1, Int x2, Int y2) = 0;
00837
00838
00839
00840
00841
00842
00843
00844 Display::DrawMode drawMode() const {
00845 return drawMode_;
00846 }
00847
00848
00849 Display::ColorModel colorModel() const {
00850 return colorModel_;
00851 }
00852
00853 void setColorModel(Display::ColorModel colorModel);
00854
00855
00856
00857 Bool refreshActive() const {
00858 return refreshActive_;
00859 }
00860
00861
00862 virtual Bool refreshAllowed() const {
00863 return True;
00864 }
00865
00866 virtual Float pixelScaling() const {
00867 return 1.0;
00868 }
00869
00870 protected:
00871
00872
00873 PixelCanvas();
00874 PixelCanvas( const PixelCanvas * );
00875 PixelCanvas(PixelCanvasColorTable * pcctbl);
00876
00877
00878 void setDrawMode(Display::DrawMode mode) {
00879 drawMode_ = mode;
00880 }
00881
00882
00883 void setDrawBuffer_(Display::DrawBuffer buf) {
00884 drawBuffer_ = buf;
00885 }
00886
00887
00888
00889 Bool defaultColormapActive_;
00890
00891 private:
00892 Matrix<Float> getMarker(const Display::Marker& marker, const Float& pixelHeight);
00893
00894
00895 Colormap * colormap_;
00896
00897
00898
00899 Display::DrawMode drawMode_;
00900
00901
00902 Display::DrawBuffer drawBuffer_;
00903
00904
00905
00906 Display::ColorModel colorModel_;
00907
00908
00909 Bool refreshActive_;
00910
00911
00912 uInt nRegisteredColormaps_;
00913
00914
00915 List<void *> refreshEHList_;
00916
00917 List<void *> motionEHList_;
00918
00919 List<void *> positionEHList_;
00920
00921
00922
00923 PCVGBuffer vgbuf_;
00924 };
00925
00926
00927 }
00928
00929 #endif
00930
00931