]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/imaglist.cpp
Patch from Hartwig for wxMac implementation
[wxWidgets.git] / src / palmos / imaglist.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/imaglist.cpp
3 // Purpose: wxImageList implementation for Palm OS
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 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 #ifndef WX_PRECOMP
28 #include "wx/window.h"
29 #include "wx/icon.h"
30 #include "wx/dc.h"
31 #include "wx/string.h"
32 #include "wx/dcmemory.h"
33 #include "wx/intl.h"
34 #include "wx/log.h"
35 #endif
36
37 #include "wx/palmos/imaglist.h"
38 #include "wx/palmos/private.h"
39
40
41 // ----------------------------------------------------------------------------
42 // wxWin macros
43 // ----------------------------------------------------------------------------
44
45 IMPLEMENT_DYNAMIC_CLASS(wxImageList, wxObject)
46
47 #define GetHImageList() ((HIMAGELIST)m_hImageList)
48
49 // ----------------------------------------------------------------------------
50 // private functions
51 // ----------------------------------------------------------------------------
52
53 // ============================================================================
54 // implementation
55 // ============================================================================
56
57 // ----------------------------------------------------------------------------
58 // wxImageList creation/destruction
59 // ----------------------------------------------------------------------------
60
61 wxImageList::wxImageList()
62 {
63 }
64
65 // Creates an image list
66 bool wxImageList::Create(int width, int height, bool mask, int initial)
67 {
68 return false;
69 }
70
71 wxImageList::~wxImageList()
72 {
73 }
74
75 // ----------------------------------------------------------------------------
76 // wxImageList attributes
77 // ----------------------------------------------------------------------------
78
79 int wxImageList::GetImageCount() const
80 {
81 return 0;
82 }
83
84 bool wxImageList::GetSize(int WXUNUSED(index), int &width, int &height) const
85 {
86 return false;
87 }
88
89 // ----------------------------------------------------------------------------
90 // wxImageList operations
91 // ----------------------------------------------------------------------------
92
93 int wxImageList::Add(const wxBitmap& bitmap, const wxBitmap& mask)
94
95 return 0;
96 }
97
98 int wxImageList::Add(const wxBitmap& bitmap, const wxColour& maskColour)
99 {
100 return 0;
101 }
102
103 int wxImageList::Add(const wxIcon& icon)
104 {
105 return 0;
106 }
107
108 bool wxImageList::Replace(int index,
109 const wxBitmap& bitmap, const wxBitmap& mask)
110 {
111 return false;
112 }
113
114 bool wxImageList::Replace(int i, const wxIcon& icon)
115 {
116 return false;
117 }
118
119 bool wxImageList::Remove(int index)
120 {
121 return false;
122 }
123
124 bool wxImageList::RemoveAll()
125 {
126 return false;
127 }
128
129 bool wxImageList::Draw(int index,
130 wxDC& dc,
131 int x, int y,
132 int flags,
133 bool solidBackground)
134 {
135 return false;
136 }