X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..48b4e3029f55911772a7f8d16a3e3599d068285f:/docs/latex/wx/imaglist.tex diff --git a/docs/latex/wx/imaglist.tex b/docs/latex/wx/imaglist.tex index 87eea4dea7..a1f79912d9 100644 --- a/docs/latex/wx/imaglist.tex +++ b/docs/latex/wx/imaglist.tex @@ -24,8 +24,8 @@ wxImageList is used principally in conjunction with \helpref{wxTreeCtrl}{wxtreec Default constructor. -\func{}{wxImageList}{\param{const int }{width}, \param{const int }{height}, \param{const bool }{mask = TRUE},\rtfsp -\param{const int }{initialCount = 1}} +\func{}{wxImageList}{\param{int }{width}, \param{int }{height}, \param{const bool }{mask = TRUE},\rtfsp +\param{int }{initialCount = 1}} Constructor specifying the image size, whether image masks should be created, and the initial size of the list. @@ -53,7 +53,7 @@ Adds a new image using a bitmap and optional mask bitmap. Adds a new image using a bitmap and mask colour. -\func{int}{Add}{\param{const wxBitmap\&}{ icon}} +\func{int}{Add}{\param{const wxIcon\&}{ icon}} Adds a new image using an icon. @@ -77,15 +77,15 @@ The original bitmap or icon is not affected by the {\bf Add} operation, and can \membersection{wxImageList::Create}\label{wximagelistcreate} -\func{bool}{Create}{\param{const int }{width}, \param{const int }{height}, \param{const bool }{mask = TRUE},\rtfsp -\param{const int }{initialCount = 1}} +\func{bool}{Create}{\param{int }{width}, \param{int }{height}, \param{const bool }{mask = TRUE},\rtfsp +\param{int }{initialCount = 1}} Initializes the list. See \helpref{wxImageList::wxImageList}{wximagelistconstr} for details. \membersection{wxImageList::Draw}\label{wximagelistdraw} -\func{bool}{Draw}{\param{const int}{ index}, \param{wxDC\&}{ dc}, \param{const int }{x},\rtfsp -\param{const int }{x}, \param{const int }{flags = wxIMAGELIST\_DRAW\_NORMAL},\rtfsp +\func{bool}{Draw}{\param{int}{ index}, \param{wxDC\&}{ dc}, \param{int }{x},\rtfsp +\param{int }{x}, \param{int }{flags = wxIMAGELIST\_DRAW\_NORMAL},\rtfsp \param{const bool }{solidBackground = FALSE}} Draws a specified image onto a device context. @@ -121,7 +121,7 @@ Returns the number of images in the list. \membersection{wxImageList::Remove}\label{wximagelistremove} -\func{bool}{Remove}{\param{const int}{ index}} +\func{bool}{Remove}{\param{int}{ index}} Removes the image at the given position. @@ -133,11 +133,11 @@ Removes all the images in the list. \membersection{wxImageList::Replace}\label{wximagelistreplace} -\func{bool}{Replace}{\param{const int}{ index}, \param{const wxBitmap\&}{ bitmap}, \param{const wxBitmap\&}{ mask = wxNullBitmap}} +\func{bool}{Replace}{\param{int}{ index}, \param{const wxBitmap\&}{ bitmap}, \param{const wxBitmap\&}{ mask = wxNullBitmap}} Replaces the existing image with the new image. -\func{bool}{Replace}{\param{const int}{ index}, \param{const wxIcon\&}{ icon}} +\func{bool}{Replace}{\param{int}{ index}, \param{const wxIcon\&}{ icon}} Replaces the existing image with the new image.