2008-03-08 13:52:38 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: iconloc.h
|
2008-03-10 15:24:38 +00:00
|
|
|
// Purpose: interface of wxIconLocation
|
2008-03-08 13:52:38 +00:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
2010-07-13 13:29:13 +00:00
|
|
|
// Licence: wxWindows licence
|
2008-03-08 13:52:38 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
@class wxIconLocation
|
2008-03-08 14:43:31 +00:00
|
|
|
|
2008-03-08 13:52:38 +00: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 14:43:31 +00:00
|
|
|
|
2008-03-08 13:52:38 +00: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 14:43:31 +00:00
|
|
|
|
2008-03-08 13:52:38 +00:00
|
|
|
@library{wxbase}
|
2008-10-15 15:36:15 +00:00
|
|
|
@category{gdi}
|
2008-03-08 14:43:31 +00:00
|
|
|
|
2008-03-10 15:24:38 +00:00
|
|
|
@see wxIcon, wxFileType::GetIcon
|
2008-03-08 13:52:38 +00:00
|
|
|
*/
|
2008-03-08 14:43:31 +00:00
|
|
|
class wxIconLocation
|
2008-03-08 13:52:38 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
2008-03-08 14:43:31 +00:00
|
|
|
Returns @true if the object is valid, i.e. was properly initialized, and
|
2008-03-08 13:52:38 +00:00
|
|
|
@false otherwise.
|
|
|
|
*/
|
2008-03-09 16:24:26 +00:00
|
|
|
bool IsOk() const;
|
2008-03-08 13:52:38 +00:00
|
|
|
};
|
2008-03-10 15:24:38 +00:00
|
|
|
|