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