X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/387ebd3eb755ea6ca076708cfb25fe56249bf787..e81a301cbdc8729b0a71fa5dfd7124bf59368673:/include/wx/motif/dcclient.h?ds=sidebyside diff --git a/include/wx/motif/dcclient.h b/include/wx/motif/dcclient.h index 5288b91763..b1db3e481f 100644 --- a/include/wx/motif/dcclient.h +++ b/include/wx/motif/dcclient.h @@ -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);