imaglist.cpp

来自「A*算法 A*算法 A*算法 A*算法A*算法A*算法」· C++ 代码 · 共 143 行

CPP
143
字号
/////////////////////////////////////////////////////////////////////////////
// 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: imaglist.cpp,v 1.2 2005/01/21 21:04:02 ABX Exp $
// 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;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?