]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/imaglist.cpp
wxOS2 warning fixes after daily build log.
[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"
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
46IMPLEMENT_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
62wxImageList::wxImageList()
63{
64}
65
66// Creates an image list
67bool wxImageList::Create(int width, int height, bool mask, int initial)
68{
69 return false;
70}
71
72wxImageList::~wxImageList()
73{
74}
75
76// ----------------------------------------------------------------------------
77// wxImageList attributes
78// ----------------------------------------------------------------------------
79
80int wxImageList::GetImageCount() const
81{
82 return 0;
83}
84
85bool wxImageList::GetSize(int WXUNUSED(index), int &width, int &height) const
86{
87 return false;
88}
89
90// ----------------------------------------------------------------------------
91// wxImageList operations
92// ----------------------------------------------------------------------------
93
94int wxImageList::Add(const wxBitmap& bitmap, const wxBitmap& mask)
95
96 return 0;
97}
98
99int wxImageList::Add(const wxBitmap& bitmap, const wxColour& maskColour)
100{
101 return 0;
102}
103
104int wxImageList::Add(const wxIcon& icon)
105{
106 return 0;
107}
108
109bool wxImageList::Replace(int index,
110 const wxBitmap& bitmap, const wxBitmap& mask)
111{
112 return false;
113}
114
115bool wxImageList::Replace(int i, const wxIcon& icon)
116{
117 return false;
118}
119
120bool wxImageList::Remove(int index)
121{
122 return false;
123}
124
125bool wxImageList::RemoveAll()
126{
127 return false;
128}
129
130bool wxImageList::Draw(int index,
131 wxDC& dc,
132 int x, int y,
133 int flags,
134 bool solidBackground)
135{
136 return false;
137}
138