]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/imaglist.cpp
#11259: Correction for bad help button on OSX
[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
6afc1b46 37#include "wx/imaglist.h"
ffecfa5a
JS
38
39// ----------------------------------------------------------------------------
40// wxWin macros
41// ----------------------------------------------------------------------------
42
43IMPLEMENT_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
59wxImageList::wxImageList()
60{
61}
62
63// Creates an image list
64bool wxImageList::Create(int width, int height, bool mask, int initial)
65{
66 return false;
67}
68
69wxImageList::~wxImageList()
70{
71}
72
73// ----------------------------------------------------------------------------
74// wxImageList attributes
75// ----------------------------------------------------------------------------
76
77int wxImageList::GetImageCount() const
78{
79 return 0;
80}
81
82bool wxImageList::GetSize(int WXUNUSED(index), int &width, int &height) const
83{
84 return false;
85}
86
87// ----------------------------------------------------------------------------
88// wxImageList operations
89// ----------------------------------------------------------------------------
90
91int wxImageList::Add(const wxBitmap& bitmap, const wxBitmap& mask)
6afc1b46 92{
ffecfa5a
JS
93 return 0;
94}
95
96int wxImageList::Add(const wxBitmap& bitmap, const wxColour& maskColour)
97{
98 return 0;
99}
100
101int wxImageList::Add(const wxIcon& icon)
102{
103 return 0;
104}
105
106bool wxImageList::Replace(int index,
107 const wxBitmap& bitmap, const wxBitmap& mask)
108{
109 return false;
110}
111
112bool wxImageList::Replace(int i, const wxIcon& icon)
113{
114 return false;
115}
116
117bool wxImageList::Remove(int index)
118{
119 return false;
120}
121
122bool wxImageList::RemoveAll()
123{
124 return false;
125}
126
127bool wxImageList::Draw(int index,
128 wxDC& dc,
129 int x, int y,
130 int flags,
131 bool solidBackground)
132{
133 return false;
134}