]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/imaglist.cpp
cleanup - more reformatting; fixed bug introduced in prior commit
[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 #endif
34
35 #include "wx/log.h"
36 #include "wx/intl.h"
37
38 #include "wx/palmos/imaglist.h"
39 #include "wx/palmos/private.h"
40
41
42 // ----------------------------------------------------------------------------
43 // wxWin macros
44 // ----------------------------------------------------------------------------
45
46 IMPLEMENT_DYNAMIC_CLASS(wxImageList, wxObject)
47
48 #define GetHImageList() ((HIMAGELIST)m_hImageList)
49
50 // ----------------------------------------------------------------------------
51 // private functions
52 // ----------------------------------------------------------------------------
53
54 // ============================================================================
55 // implementation
56 // ============================================================================
57
58 // ----------------------------------------------------------------------------
59 // wxImageList creation/destruction
60 // ----------------------------------------------------------------------------
61
62 wxImageList::wxImageList()
63 {
64 }
65
66 // Creates an image list
67 bool wxImageList::Create(int width, int height, bool mask, int initial)
68 {
69 return false;
70 }
71
72 wxImageList::~wxImageList()
73 {
74 }
75
76 // ----------------------------------------------------------------------------
77 // wxImageList attributes
78 // ----------------------------------------------------------------------------
79
80 int wxImageList::GetImageCount() const
81 {
82 return 0;
83 }
84
85 bool wxImageList::GetSize(int WXUNUSED(index), int &width, int &height) const
86 {
87 return false;
88 }
89
90 // ----------------------------------------------------------------------------
91 // wxImageList operations
92 // ----------------------------------------------------------------------------
93
94 int wxImageList::Add(const wxBitmap& bitmap, const wxBitmap& mask)
95
96 return 0;
97 }
98
99 int wxImageList::Add(const wxBitmap& bitmap, const wxColour& maskColour)
100 {
101 return 0;
102 }
103
104 int wxImageList::Add(const wxIcon& icon)
105 {
106 return 0;
107 }
108
109 bool wxImageList::Replace(int index,
110 const wxBitmap& bitmap, const wxBitmap& mask)
111 {
112 return false;
113 }
114
115 bool wxImageList::Replace(int i, const wxIcon& icon)
116 {
117 return false;
118 }
119
120 bool wxImageList::Remove(int index)
121 {
122 return false;
123 }
124
125 bool wxImageList::RemoveAll()
126 {
127 return false;
128 }
129
130 bool wxImageList::Draw(int index,
131 wxDC& dc,
132 int x, int y,
133 int flags,
134 bool solidBackground)
135 {
136 return false;
137 }
138