< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_Palette.h

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -47,14 +47,10 @@
 
     void                    Realize(HDC hDC);
 
     HPALETTE                GetPalette() { return logicalPalette; }
 
-    static void             DisableCustomPalette();
-
-    static BOOL             UseCustomPalette();
-
                             AwtPalette(AwtWin32GraphicsDevice *device);
 
     static int              FetchPaletteEntries(HDC hDC, PALETTEENTRY* pPalEntries);
     int                     GetGSType(PALETTEENTRY* pPalEntries);
 

@@ -64,12 +60,10 @@
     unsigned int            *GetSystemEntries() {return systemEntries; }
     unsigned int            *GetLogicalEntries() {return logicalEntries; }
     unsigned char           *GetSystemInverseLUT() { return systemInverseLUT; }
 
 private:
-    static BOOL             m_useCustomPalette;
-
     unsigned int            logicalEntries[256];
     unsigned int            systemEntries[256];
     PALETTEENTRY            systemEntriesWin32[256];  // cached to eliminate
                                               // copying it when unnec.
     int                     numSystemEntries;
< prev index next >