]> git.saurik.com Git - wxWidgets.git/blobdiff - src/qt/palette.cpp
removed stubs and qt 'ports'
[wxWidgets.git] / src / qt / palette.cpp
diff --git a/src/qt/palette.cpp b/src/qt/palette.cpp
deleted file mode 100644 (file)
index dfbc153..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-/////////////////////////////////////////////////////////////////////////////
-// Name:        palette.cpp
-// Purpose:     wxPalette
-// Author:      AUTHOR
-// Modified by:
-// Created:     ??/??/98
-// RCS-ID:      $Id$
-// Copyright:   (c) AUTHOR
-// Licence:    wxWindows licence
-/////////////////////////////////////////////////////////////////////////////
-
-#ifdef __GNUG__
-#pragma implementation "palette.h"
-#endif
-
-#include "wx/palette.h"
-
-IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject)
-
-/*
- * Palette
- *
- */
-
-wxPaletteRefData::wxPaletteRefData()
-{
-    // TODO
-}
-
-wxPaletteRefData::~wxPaletteRefData()
-{
-    // TODO
-}
-
-wxPalette::wxPalette()
-{
-}
-
-wxPalette::wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue)
-{
-    Create(n, red, green, blue);
-}
-
-wxPalette::~wxPalette()
-{
-}
-
-bool wxPalette::FreeResource(bool force)
-{
-       if ( M_PALETTEDATA && M_PALETTEDATA->m_hPalette)
-       {
-      DeleteObject((HPALETTE)M_PALETTEDATA->m_hPalette);
-       }
-       return TRUE;
-}
-
-bool wxPalette::Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue)
-{
-  UnRef();
-
-  m_refData = new wxPaletteRefData;
-
-  // TODO
-
-  return FALSE;
-}
-
-int wxPalette::GetPixel(const unsigned char red, const unsigned char green, const unsigned char blue) const
-{
-    if ( !m_refData )
-       return FALSE;
-
-    // TODO
-    return FALSE;
-}
-
-bool wxPalette::GetRGB(int index, unsigned char *red, unsigned char *green, unsigned char *blue) const
-{
-    if ( !m_refData )
-           return FALSE;
-
-    if (index < 0 || index > 255)
-        return FALSE;
-
-    // TODO
-    return FALSE;
-}
-
-