2008-03-08 08:52:38 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: iconloc.h
|
2008-03-10 11:24:38 -04:00
|
|
|
// Purpose: interface of wxIconLocation
|
2008-03-08 08:52:38 -05:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Licence: wxWindows license
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
@class wxIconLocation
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
wxIconLocation is a tiny class describing the location of an (external, i.e.
|
|
|
|
not embedded into the application resources) icon. For most platforms it simply
|
|
|
|
contains the file name but under some others (notably Windows) the same file
|
|
|
|
may contain multiple icons and so this class also stores the index of the icon
|
|
|
|
inside the file.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
In any case, its details should be of no interest to the application code and
|
|
|
|
most of them are not even documented here (on purpose) as it is only meant to
|
|
|
|
be used as an opaque class: the application may get the object of this class
|
|
|
|
from somewhere and the only reasonable thing to do with it later is to create
|
|
|
|
a wxIcon from it.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@library{wxbase}
|
|
|
|
@category{FIXME}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-10 11:24:38 -04:00
|
|
|
@see wxIcon, wxFileType::GetIcon
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
2008-03-08 09:43:31 -05:00
|
|
|
class wxIconLocation
|
2008-03-08 08:52:38 -05:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
2008-03-08 09:43:31 -05:00
|
|
|
Returns @true if the object is valid, i.e. was properly initialized, and
|
2008-03-08 08:52:38 -05:00
|
|
|
@false otherwise.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
bool IsOk() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
};
|
2008-03-10 11:24:38 -04:00
|
|
|
|