]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/gdiimage.cpp
Fixed test for button style - styles contain other style bits
[wxWidgets.git] / src / palmos / gdiimage.cpp
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/gdiimage.cpp
3 // Purpose: wxGDIImage implementation
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
21 #pragma implementation "gdiimage.h"
22 #endif
23
24 // For compilers that support precompilation, includes "wx.h".
25 #include "wx/wxprec.h"
26
27 #ifdef __BORLANDC__
28 #pragma hdrstop
29 #endif
30
31 #ifndef WX_PRECOMP
32 #include "wx/string.h"
33 #include "wx/log.h"
34 #endif // WX_PRECOMP
35
36 #include "wx/app.h"
37
38 #include "wx/bitmap.h"
39 #include "wx/palmos/gdiimage.h"
40
41 #if wxUSE_WXDIB
42 #include "wx/palmos/dib.h"
43 #endif
44
45 #include "wx/file.h"
46
47 #include "wx/listimpl.cpp"
48 WX_DEFINE_LIST(wxGDIImageHandlerList);
49
50 // ----------------------------------------------------------------------------
51 // auxiliary functions
52 // ----------------------------------------------------------------------------
53
54 // ----------------------------------------------------------------------------
55 // private classes
56 // ----------------------------------------------------------------------------
57
58 // ============================================================================
59 // implementation
60 // ============================================================================
61
62 wxGDIImageHandlerList wxGDIImage::ms_handlers;
63
64 // ----------------------------------------------------------------------------
65 // wxGDIImage functions forwarded to wxGDIImageRefData
66 // ----------------------------------------------------------------------------
67
68 bool wxGDIImage::FreeResource(bool WXUNUSED(force))
69 {
70 return false;
71 }
72
73 WXHANDLE wxGDIImage::GetResourceHandle() const
74 {
75 return NULL;
76 }
77
78 // ----------------------------------------------------------------------------
79 // wxGDIImage handler stuff
80 // ----------------------------------------------------------------------------
81
82 void wxGDIImage::AddHandler(wxGDIImageHandler *handler)
83 {
84 }
85
86 void wxGDIImage::InsertHandler(wxGDIImageHandler *handler)
87 {
88 }
89
90 bool wxGDIImage::RemoveHandler(const wxString& name)
91 {
92 return false;
93 }
94
95 wxGDIImageHandler *wxGDIImage::FindHandler(const wxString& name)
96 {
97 return NULL;
98 }
99
100 wxGDIImageHandler *wxGDIImage::FindHandler(const wxString& extension,
101 long type)
102 {
103 return NULL;
104 }
105
106 wxGDIImageHandler *wxGDIImage::FindHandler(long type)
107 {
108 return NULL;
109 }
110
111 void wxGDIImage::CleanUpHandlers()
112 {
113 }
114
115 void wxGDIImage::InitStandardHandlers()
116 {
117 }
118
119