]> git.lyx.org Git - features.git/blobdiff - src/WorkArea.h
apply the ostream changes to mathed, some other small related things
[features.git] / src / WorkArea.h
index cb4885aa8dc47cdf05f4f855635766eabd2f3685..28c6febd4ed14f435bb1ba1083384fa8673c418e 100644 (file)
@@ -30,10 +30,8 @@ public:
        WorkArea(BufferView *, int xpos, int ypos, int width, int height);
        ///
        ~WorkArea();
-#ifdef USE_PAINTER
        ///
        Painter & getPainter() { return painter_; }
-#endif
        ///
        int workWidth() const { return work_area->w; }
        ///
@@ -62,6 +60,8 @@ public:
        ///
        bool active() const { return work_area->active; }
        ///
+       bool belowMouse() const;
+       ///
        bool visible() const { return work_area->form->visible; }
        ///
        void greyOut() const;
@@ -112,10 +112,8 @@ private:
        BufferView * owner;
        /// The pixmap overlay on the workarea
        Pixmap workareapixmap;
-#ifdef USE_PAINTER
        ///
        Painter painter_;
-#endif
        ///
        FL_OBJECT * figinset_canvas;
 };