diff options
Diffstat (limited to 'tksao/widget/widget.C')
-rw-r--r-- | tksao/widget/widget.C | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tksao/widget/widget.C b/tksao/widget/widget.C index b4a0c8d..5c07b68 100644 --- a/tksao/widget/widget.C +++ b/tksao/widget/widget.C @@ -780,16 +780,16 @@ void Widget::renderPSColor(PSColorSpace mode, XColor* clr) ostringstream str; switch (mode) { - case Widget::BW: - case Widget::GRAY: + case BW: + case GRAY: psColorGray(clr, str); str << " setgray"; break; - case Widget::RGB: + case RGB: psColorRGB(clr, str); str << " setrgbcolor"; break; - case Widget::CMYK: + case CMYK: psColorCMYK(clr, str); str << " setcmykcolor"; break; |