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