]>
git.saurik.com Git - wxWidgets.git/blob - src/palmos/gdiimage.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/gdiimage.cpp
3 // Purpose: wxGDIImage implementation
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 // ============================================================================
14 // ============================================================================
16 // ----------------------------------------------------------------------------
18 // ----------------------------------------------------------------------------
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
28 #include "wx/string.h"
33 #include "wx/bitmap.h"
34 #include "wx/palmos/gdiimage.h"
37 #include "wx/palmos/dib.h"
42 #include "wx/listimpl.cpp"
43 WX_DEFINE_LIST(wxGDIImageHandlerList
)
45 // ----------------------------------------------------------------------------
46 // auxiliary functions
47 // ----------------------------------------------------------------------------
49 // ----------------------------------------------------------------------------
51 // ----------------------------------------------------------------------------
53 // ============================================================================
55 // ============================================================================
57 wxGDIImageHandlerList
wxGDIImage::ms_handlers
;
59 // ----------------------------------------------------------------------------
60 // wxGDIImage functions forwarded to wxGDIImageRefData
61 // ----------------------------------------------------------------------------
63 bool wxGDIImage::FreeResource(bool WXUNUSED(force
))
68 WXHANDLE
wxGDIImage::GetResourceHandle() const
73 // ----------------------------------------------------------------------------
74 // wxGDIImage handler stuff
75 // ----------------------------------------------------------------------------
77 void wxGDIImage::AddHandler(wxGDIImageHandler
*handler
)
81 void wxGDIImage::InsertHandler(wxGDIImageHandler
*handler
)
85 bool wxGDIImage::RemoveHandler(const wxString
& name
)
90 wxGDIImageHandler
*wxGDIImage::FindHandler(const wxString
& name
)
95 wxGDIImageHandler
*wxGDIImage::FindHandler(const wxString
& extension
,
101 wxGDIImageHandler
*wxGDIImage::FindHandler(long type
)
106 void wxGDIImage::CleanUpHandlers()
110 void wxGDIImage::InitStandardHandlers()