a1784c5cf8
git-svn-id: svn://10.65.10.50/branches/R_10_00@23238 c028cbd2-c16b-5b4b-a496-9718f37d4682
44 lines
1.2 KiB
C++
44 lines
1.2 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: artbrows.h
|
|
// Purpose: wxArtProvider demo - art browser dialog
|
|
// Author: Vaclav Slavik
|
|
// Modified by:
|
|
// Created: 2002/04/05
|
|
// RCS-ID: $Id: artbrows.h 51246 2008-01-16 12:56:37Z VZ $
|
|
// Copyright: (c) Vaclav Slavik
|
|
// Licence: wxWindows license
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __ARTBROWS_H__
|
|
#define __ARTBROWS_H__
|
|
|
|
#include "wx/dialog.h"
|
|
#include "wx/artprov.h"
|
|
|
|
class WXDLLIMPEXP_FWD_CORE wxListCtrl;
|
|
class WXDLLIMPEXP_FWD_CORE wxListEvent;
|
|
class WXDLLIMPEXP_FWD_CORE wxStaticBitmap;
|
|
|
|
class wxArtBrowserDialog : public wxDialog
|
|
{
|
|
public:
|
|
wxArtBrowserDialog(wxWindow *parent);
|
|
|
|
void SetArtClient(const wxArtClient& client);
|
|
void SetArtBitmap(const wxArtID& id, const wxArtClient& client, const wxSize& size = wxDefaultSize);
|
|
|
|
private:
|
|
void OnSelectItem(wxListEvent &event);
|
|
void OnChooseClient(wxCommandEvent &event);
|
|
|
|
wxListCtrl *m_list;
|
|
wxStaticBitmap *m_canvas;
|
|
wxStaticText *m_text;
|
|
wxString m_client;
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
#endif // __ARTBROWS_H__
|
|
|