Added GetIcon, GetBitmap to wxImageList
Tweaked DC and bitmap docs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5,6 +5,11 @@ wxWidgets 2.5 Change Log - For more verbose changes, see the manual
|
||||
2.5.5
|
||||
-----
|
||||
|
||||
All:
|
||||
|
||||
- Added GetIcon, GetBitmap to wxImageList. wxGenericImageList's original
|
||||
GetBitmap is renamed GetBitmapPtr.
|
||||
|
||||
wxPalmOS:
|
||||
|
||||
- native wxRadioBox implementation
|
||||
|
@@ -119,11 +119,11 @@ Its meaning is determined by the {\it type} parameter.}
|
||||
\twocolwidtha{5cm}
|
||||
\begin{twocollist}
|
||||
\twocolitem{\indexit{wxBITMAP\_TYPE\_BMP}}{Load a Windows bitmap file.}
|
||||
\twocolitem{\indexit{wxBITMAP\_TYPE\_BMP\_RESOURCE}}{Load a Windows bitmap from the resource database.}
|
||||
\twocolitem{\indexit{wxBITMAP\_TYPE\_BMP\_RESOURCE}}{Load a Windows bitmap resource from the executable. Windows only.}
|
||||
\twocolitem{\indexit{wxBITMAP\_TYPE\_PICT\_RESOURCE}}{Load a PICT image resource from the executable. Mac OS only.}
|
||||
\twocolitem{\indexit{wxBITMAP\_TYPE\_GIF}}{Load a GIF bitmap file.}
|
||||
\twocolitem{\indexit{wxBITMAP\_TYPE\_XBM}}{Load an X bitmap file.}
|
||||
\twocolitem{\indexit{wxBITMAP\_TYPE\_XPM}}{Load an XPM bitmap file.}
|
||||
\twocolitem{\indexit{wxBITMAP\_TYPE\_RESOURCE}}{Load a Windows resource name.}
|
||||
\end{twocollist}
|
||||
|
||||
The validity of these flags depends on the platform and wxWidgets configuration.
|
||||
@@ -422,7 +422,8 @@ The meaning of {\it name} is determined by the {\it type} parameter.}
|
||||
\twocolwidtha{5cm}
|
||||
\begin{twocollist}
|
||||
\twocolitem{{\bf wxBITMAP\_TYPE\_BMP}}{Load a Windows bitmap file.}
|
||||
\twocolitem{{\bf wxBITMAP\_TYPE\_BMP\_RESOURCE}}{Load a Windows bitmap from the resource database.}
|
||||
\twocolitem{{\bf wxBITMAP\_TYPE\_BMP\_RESOURCE}}{Load a Windows bitmap resource from the executable.}
|
||||
\twocolitem{{\bf wxBITMAP\_TYPE\_PICT\_RESOURCE}}{Load a PICT image resource from the executable. Mac OS only.}
|
||||
\twocolitem{{\bf wxBITMAP\_TYPE\_GIF}}{Load a GIF bitmap file.}
|
||||
\twocolitem{{\bf wxBITMAP\_TYPE\_XBM}}{Load an X bitmap file.}
|
||||
\twocolitem{{\bf wxBITMAP\_TYPE\_XPM}}{Load an XPM bitmap file.}
|
||||
|
@@ -504,12 +504,15 @@ the rectangle.
|
||||
|
||||
\membersection{wxDC::DrawSpline}\label{wxdcdrawspline}
|
||||
|
||||
\func{void}{DrawSpline}{\param{int }, \param{wxPoint }{points[]}}
|
||||
|
||||
Draws a spline between all given control points, using the current
|
||||
pen.
|
||||
|
||||
\func{void}{DrawSpline}{\param{wxList *}{points}}
|
||||
|
||||
Draws a spline between all given control points, using the current
|
||||
pen. Doesn't delete the wxList and contents. The spline is drawn
|
||||
using a series of lines, using an algorithm taken from the X drawing
|
||||
program `XFIG'.
|
||||
pen. Doesn't delete the wxList and contents.
|
||||
|
||||
\func{void}{DrawSpline}{\param{wxCoord}{ x1}, \param{wxCoord}{ y1}, \param{wxCoord}{ x2}, \param{wxCoord}{ y2}, \param{wxCoord}{ x3}, \param{wxCoord}{ y3}}
|
||||
|
||||
|
@@ -125,6 +125,18 @@ Draws a specified image onto a device context.
|
||||
\docparam{solidBackground}{For optimisation - drawing can be faster if the function is told
|
||||
that the background is solid.}
|
||||
|
||||
\membersection{wxImageList::GetBitmap}\label{wximagelistgetbitmap}
|
||||
|
||||
\constfunc{wxBitmap}{GetBitmap}{\param{int }{index}}
|
||||
|
||||
Returns the bitmap corresponding to the given index.
|
||||
|
||||
\membersection{wxImageList::GetIcon}\label{wximagelistgeticon}
|
||||
|
||||
\constfunc{wxIcon}{GetIcon}{\param{int }{index}}
|
||||
|
||||
Returns the icon corresponding to the given index.
|
||||
|
||||
\membersection{wxImageList::GetImageCount}\label{wximagelistgetimagecount}
|
||||
|
||||
\constfunc{int}{GetImageCount}{\void}
|
||||
|
Reference in New Issue
Block a user