]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/imaglist.cpp
Fix compilo under MINGW32
[wxWidgets.git] / src / palmos / imaglist.cpp
CommitLineData
ffecfa5a
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/palmos/imaglist.cpp
3// Purpose: wxImageList implementation for Palm OS
e2731512 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10/13/04
e2731512 7// RCS-ID: $Id$
ffecfa5a
JS
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12// ============================================================================
13// declarations
14// ============================================================================
15
16// ----------------------------------------------------------------------------
17// headers
18// ----------------------------------------------------------------------------
19
ffecfa5a
JS
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"
88a7a4e1 33 #include "wx/intl.h"
e4db172a 34 #include "wx/log.h"
ffecfa5a
JS
35#endif
36
ffecfa5a
JS
37#include "wx/palmos/imaglist.h"
38#include "wx/palmos/private.h"
39
40
41// ----------------------------------------------------------------------------
42// wxWin macros
43// ----------------------------------------------------------------------------
44
45IMPLEMENT_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
61wxImageList::wxImageList()
62{
63}
64
65// Creates an image list
66bool wxImageList::Create(int width, int height, bool mask, int initial)
67{
68 return false;
69}
70
71wxImageList::~wxImageList()
72{
73}
74
75// ----------------------------------------------------------------------------
76// wxImageList attributes
77// ----------------------------------------------------------------------------
78
79int wxImageList::GetImageCount() const
80{
81 return 0;
82}
83
84bool wxImageList::GetSize(int WXUNUSED(index), int &width, int &height) const
85{
86 return false;
87}
88
89// ----------------------------------------------------------------------------
90// wxImageList operations
91// ----------------------------------------------------------------------------
92
93int wxImageList::Add(const wxBitmap& bitmap, const wxBitmap& mask)
94
95 return 0;
96}
97
98int wxImageList::Add(const wxBitmap& bitmap, const wxColour& maskColour)
99{
100 return 0;
101}
102
103int wxImageList::Add(const wxIcon& icon)
104{
105 return 0;
106}
107
108bool wxImageList::Replace(int index,
109 const wxBitmap& bitmap, const wxBitmap& mask)
110{
111 return false;
112}
113
114bool wxImageList::Replace(int i, const wxIcon& icon)
115{
116 return false;
117}
118
119bool wxImageList::Remove(int index)
120{
121 return false;
122}
123
124bool wxImageList::RemoveAll()
125{
126 return false;
127}
128
129bool wxImageList::Draw(int index,
130 wxDC& dc,
131 int x, int y,
132 int flags,
133 bool solidBackground)
134{
135 return false;
136}