]> git.saurik.com Git - wxWidgets.git/blame - samples/artprov/artbrows.h
Do a little less anti-alias so it looks better on dark backgrounds
[wxWidgets.git] / samples / artprov / artbrows.h
CommitLineData
ccb42cc5
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: artbrows.h
3// Purpose: wxArtProvider demo - art browser dialog
4// Author: Vaclav Slavik
5// Modified by:
6// Created: 2002/04/05
7// RCS-ID: $Id$
8// Copyright: (c) Vaclav Slavik
9// Licence: wxWindows license
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef __ARTBROWS_H__
13#define __ARTBROWS_H__
14
788233da 15#if defined(__GNUG__) && !defined(__APPLE__)
ccb42cc5
VS
16#pragma interface "artbrows.h"
17#endif
18
19#include "wx/dialog.h"
20#include "wx/artprov.h"
21
22class WXDLLEXPORT wxListCtrl;
23class WXDLLEXPORT wxListEvent;
24class WXDLLEXPORT wxStaticBitmap;
25
26class wxArtBrowserDialog : public wxDialog
27{
28public:
29 wxArtBrowserDialog(wxWindow *parent);
30
31 void SetArtClient(const wxArtClient& client);
e53a95bc 32 void SetArtBitmap(const wxArtID& id, const wxArtClient& client, const wxSize& size = wxDefaultSize);
ccb42cc5
VS
33
34private:
35 void OnSelectItem(wxListEvent &event);
36 void OnChooseClient(wxCommandEvent &event);
37
38 wxListCtrl *m_list;
39 wxStaticBitmap *m_canvas;
e53a95bc 40 wxStaticText *m_text;
ccb42cc5
VS
41 wxString m_client;
42
43 DECLARE_EVENT_TABLE()
44};
45
46#endif // __ARTBROWS_H__
47