]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dcclient.h
Applied fix for VC++ 7 which treats __LINE__ slightly differently, apparently.
[wxWidgets.git] / include / wx / motif / dcclient.h
index 5288b917634046b5fbaf1f7deeeb46d2ca00b721..b1db3e481fb52dc128306369a4c8d287703a1f95 100644 (file)
@@ -90,6 +90,18 @@ public:
     void SetAutoSetting(bool flag) { m_autoSetting = flag; }
     
 protected:
+    // note that this function will call colour.SetPixel,
+    // and will do one of curCol = colour, curCol = wxWHITE, curCol = wxBLACK
+    // roundToWhite has an effect for monochrome display only
+    // if roundToWhite == TRUE then the colour will be set to white unless
+    // it is RGB 0x000000;if roundToWhite == FALSE the colour wull be set to
+    // black unless it id RGB 0xffffff
+    int CalculatePixel(wxColour& colour, wxColour& curCol,
+                       bool roundToWhite) const;
+    // sets the foreground pixel taking into account the
+    // currently selected logical operation
+    void SetForegroundPixelWithLogicalFunction(int pixel);
+
     virtual bool DoFloodFill(wxCoord x, wxCoord y, const wxColour& col,
         int style = wxFLOOD_SURFACE);