]>
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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
21 #pragma implementation "gdiimage.h"
24 // For compilers that support precompilation, includes "wx.h".
25 #include "wx/wxprec.h"
32 #include "wx/string.h"
38 #include "wx/bitmap.h"
39 #include "wx/palmos/gdiimage.h"
42 #include "wx/palmos/dib.h"
47 #include "wx/listimpl.cpp"
48 WX_DEFINE_LIST(wxGDIImageHandlerList
);
50 // ----------------------------------------------------------------------------
51 // auxiliary functions
52 // ----------------------------------------------------------------------------
54 // ----------------------------------------------------------------------------
56 // ----------------------------------------------------------------------------
58 // ============================================================================
60 // ============================================================================
62 wxGDIImageHandlerList
wxGDIImage::ms_handlers
;
64 // ----------------------------------------------------------------------------
65 // wxGDIImage functions forwarded to wxGDIImageRefData
66 // ----------------------------------------------------------------------------
68 bool wxGDIImage::FreeResource(bool WXUNUSED(force
))
73 WXHANDLE
wxGDIImage::GetResourceHandle() const
78 // ----------------------------------------------------------------------------
79 // wxGDIImage handler stuff
80 // ----------------------------------------------------------------------------
82 void wxGDIImage::AddHandler(wxGDIImageHandler
*handler
)
86 void wxGDIImage::InsertHandler(wxGDIImageHandler
*handler
)
90 bool wxGDIImage::RemoveHandler(const wxString
& name
)
95 wxGDIImageHandler
*wxGDIImage::FindHandler(const wxString
& name
)
100 wxGDIImageHandler
*wxGDIImage::FindHandler(const wxString
& extension
,
106 wxGDIImageHandler
*wxGDIImage::FindHandler(long type
)
111 void wxGDIImage::CleanUpHandlers()
115 void wxGDIImage::InitStandardHandlers()