wxPalette unified. Source cleaning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-10-06 14:37:43 +00:00
parent 2c01d33555
commit 88ef3a57a4
20 changed files with 173 additions and 176 deletions

View File

@@ -1,3 +1,14 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: palette.tex
%% Purpose: wxPalette docs
%% Author:
%% Modified by:
%% Created:
%% RCS-ID: $Id$
%% Copyright: (c) wxWidgets
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxPalette}}\label{wxpalette}
A palette is a table that maps pixel values to RGB colours. It allows the colours
@@ -100,8 +111,8 @@ Returns number of entries in palette.
\membersection{wxPalette::GetPixel}\label{wxpalettegetpixel}
\constfunc{int}{GetPixel}{\param{const unsigned char }{red}, \param{const unsigned char }{green},\rtfsp
\param{const unsigned char }{blue}}
\constfunc{int}{GetPixel}{\param{unsigned char }{red}, \param{unsigned char }{green},\rtfsp
\param{unsigned char }{blue}}
Returns a pixel value (index into the palette) for the given RGB values.
@@ -115,7 +126,7 @@ Returns a pixel value (index into the palette) for the given RGB values.
\wxheading{Return value}
The nearest palette index.
The nearest palette index or {\tt wxNOT\_FOUND} for unexpected errors.
\wxheading{See also}
@@ -177,5 +188,3 @@ fail the test.
Inequality operator. Two palettes are not equal if they contain pointers
to different underlying palette data. It does not compare each attribute.