Wt::SDLPalette Class Reference

#include <sdlpalette.h>

List of all members.

Public Types

 Logical = SDL_LOGPAL
 Physical = SDL_PHYSPAL
enum  Type { Logical = SDL_LOGPAL, Physical = SDL_PHYSPAL }

Public Member Functions

 SDLPalette (SDL_Palette *palette)
 copy constructor
SDLPaletteoperator= (SDL_Palette *palette)
 assign operator
 operator const SDL_Palette * () const
 operator SDL_Palette * ()
int size () const
SDLColor operator[] (int i) const


Detailed Description

Note:
SDLPalette encapsulates a pointer and not the direct struct as opposed to SDLRect, SDLColor.


Member Enumeration Documentation

enum Wt::SDLPalette::Type

Enumerator:
Logical 
Physical 


Constructor & Destructor Documentation

Wt::SDLPalette::SDLPalette ( SDL_Palette *  palette  )  [inline]

copy constructor


Member Function Documentation

Wt::SDLPalette::operator const SDL_Palette * (  )  const [inline]

Wt::SDLPalette::operator SDL_Palette * (  )  [inline]

SDLPalette& Wt::SDLPalette::operator= ( SDL_Palette *  palette  )  [inline]

assign operator

SDLColor Wt::SDLPalette::operator[] ( int  i  )  const [inline]

int Wt::SDLPalette::size (  )  const [inline]


The documentation for this class was generated from the following file:

Generated Fri Jul 28 19:22:39 2006.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.