git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
143 lines
3.5 KiB
C++
143 lines
3.5 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: src/palmos/imaglist.cpp
|
|
// Purpose: wxImageList implementation for Palm OS
|
|
// Author: William Osborne - minimal working wxPalmOS port
|
|
// Modified by:
|
|
// Created: 10/13/04
|
|
// RCS-ID: $Id$
|
|
// Copyright: (c) William Osborne
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// ============================================================================
|
|
// declarations
|
|
// ============================================================================
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// headers
|
|
// ----------------------------------------------------------------------------
|
|
|
|
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
|
|
#pragma implementation "imaglist.h"
|
|
#endif
|
|
|
|
// For compilers that support precompilation, includes "wx.h".
|
|
#include "wx/wxprec.h"
|
|
|
|
#ifdef __BORLANDC__
|
|
#pragma hdrstop
|
|
#endif
|
|
|
|
#ifndef WX_PRECOMP
|
|
#include "wx/window.h"
|
|
#include "wx/icon.h"
|
|
#include "wx/dc.h"
|
|
#include "wx/string.h"
|
|
#include "wx/dcmemory.h"
|
|
#endif
|
|
|
|
#include "wx/log.h"
|
|
#include "wx/intl.h"
|
|
|
|
#include "wx/palmos/imaglist.h"
|
|
#include "wx/palmos/private.h"
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// wxWin macros
|
|
// ----------------------------------------------------------------------------
|
|
|
|
IMPLEMENT_DYNAMIC_CLASS(wxImageList, wxObject)
|
|
|
|
#define GetHImageList() ((HIMAGELIST)m_hImageList)
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// private functions
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// ============================================================================
|
|
// implementation
|
|
// ============================================================================
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// wxImageList creation/destruction
|
|
// ----------------------------------------------------------------------------
|
|
|
|
wxImageList::wxImageList()
|
|
{
|
|
}
|
|
|
|
// Creates an image list
|
|
bool wxImageList::Create(int width, int height, bool mask, int initial)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
wxImageList::~wxImageList()
|
|
{
|
|
}
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// wxImageList attributes
|
|
// ----------------------------------------------------------------------------
|
|
|
|
int wxImageList::GetImageCount() const
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
bool wxImageList::GetSize(int WXUNUSED(index), int &width, int &height) const
|
|
{
|
|
return false;
|
|
}
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// wxImageList operations
|
|
// ----------------------------------------------------------------------------
|
|
|
|
int wxImageList::Add(const wxBitmap& bitmap, const wxBitmap& mask)
|
|
|
|
return 0;
|
|
}
|
|
|
|
int wxImageList::Add(const wxBitmap& bitmap, const wxColour& maskColour)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int wxImageList::Add(const wxIcon& icon)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
bool wxImageList::Replace(int index,
|
|
const wxBitmap& bitmap, const wxBitmap& mask)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool wxImageList::Replace(int i, const wxIcon& icon)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool wxImageList::Remove(int index)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool wxImageList::RemoveAll()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool wxImageList::Draw(int index,
|
|
wxDC& dc,
|
|
int x, int y,
|
|
int flags,
|
|
bool solidBackground)
|
|
{
|
|
return false;
|
|
}
|
|
|