]>
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"
34 #include "wx/bitmap.h"
35 #include "wx/palmos/gdiimage.h"
38 #include "wx/palmos/dib.h"
43 #include "wx/listimpl.cpp"
44 WX_DEFINE_LIST(wxGDIImageHandlerList
)
46 // ----------------------------------------------------------------------------
47 // auxiliary functions
48 // ----------------------------------------------------------------------------
50 // ----------------------------------------------------------------------------
52 // ----------------------------------------------------------------------------
54 // ============================================================================
56 // ============================================================================
58 wxGDIImageHandlerList
wxGDIImage::ms_handlers
;
60 // ----------------------------------------------------------------------------
61 // wxGDIImage functions forwarded to wxGDIImageRefData
62 // ----------------------------------------------------------------------------
64 bool wxGDIImage::FreeResource(bool WXUNUSED(force
))
69 WXHANDLE
wxGDIImage::GetResourceHandle() const
74 // ----------------------------------------------------------------------------
75 // wxGDIImage handler stuff
76 // ----------------------------------------------------------------------------
78 void wxGDIImage::AddHandler(wxGDIImageHandler
*handler
)
82 void wxGDIImage::InsertHandler(wxGDIImageHandler
*handler
)
86 bool wxGDIImage::RemoveHandler(const wxString
& name
)
91 wxGDIImageHandler
*wxGDIImage::FindHandler(const wxString
& name
)
96 wxGDIImageHandler
*wxGDIImage::FindHandler(const wxString
& extension
,
102 wxGDIImageHandler
*wxGDIImage::FindHandler(long type
)
107 void wxGDIImage::CleanUpHandlers()
111 void wxGDIImage::InitStandardHandlers()