summaryrefslogtreecommitdiff
path: root/otk/color.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-20 15:33:58 +0000
committerDana Jansens <danakj@orodu.net>2002-12-20 15:33:58 +0000
commit06de24ec6666578759eff2b348e50f5e8e20f3bd (patch)
tree96dca3fb0fe9efa083d0030f712b1235dfbd4cef /otk/color.cc
parent723739dafe91a156fef527f3b53a483195695cf1 (diff)
more api cleanups
Diffstat (limited to 'otk/color.cc')
-rw-r--r--otk/color.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/otk/color.cc b/otk/color.cc
index b50c29d9..f150082c 100644
--- a/otk/color.cc
+++ b/otk/color.cc
@@ -75,7 +75,7 @@ void BColor::parseColorName(void) {
if (scrn == ~(0u))
scrn = DefaultScreen(OBDisplay::display);
- Colormap colormap = OBDisplay::screenInfo(scrn)->getColormap();
+ Colormap colormap = OBDisplay::screenInfo(scrn)->colormap();
// get rgb values from colorname
XColor xcol;
@@ -98,7 +98,7 @@ void BColor::parseColorName(void) {
void BColor::allocate(void) {
if (scrn == ~(0u)) scrn = DefaultScreen(OBDisplay::display);
- Colormap colormap = OBDisplay::screenInfo(scrn)->getColormap();
+ Colormap colormap = OBDisplay::screenInfo(scrn)->colormap();
if (! isValid()) {
if (colorname.empty()) {
@@ -205,7 +205,7 @@ void BColor::doCacheCleanup(void) {
if (count > 0)
XFreeColors(OBDisplay::display,
- OBDisplay::screenInfo(i)->getColormap(),
+ OBDisplay::screenInfo(i)->colormap(),
pixels, count, 0);
}