1 /* Reverse Engineer's Hex Editor
2  * Copyright (C) 2020 Daniel Collins <solemnwarning@solemnwarning.net>
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License version 2 as published by
6  * the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
11  * more details.
12  *
13  * You should have received a copy of the GNU General Public License along with
14  * this program; if not, write to the Free Software Foundation, Inc., 51
15  * Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
16 */
17 
18 #ifndef REHEX_ARTPROVIDER_HPP
19 #define REHEX_ARTPROVIDER_HPP
20 
21 #include <wx/artprov.h>
22 #include <wx/wx.h>
23 
24 namespace REHex
25 {
26 	extern const wxArtID ART_ASCII_ICON;
27 	extern const wxArtID ART_DIFF_FOLD_ICON;
28 	extern const wxArtID ART_OFFSETS_ICON;
29 
30 	class ArtProvider: public wxArtProvider
31 	{
32 		public:
33 			static void init();
34 
35 		protected:
36 			virtual wxBitmap CreateBitmap(const wxArtID &id, const wxArtClient &client, const wxSize &size) override;
37 	};
38 }
39 
40 #endif /* !REHEX_ARTPROVIDER_HPP */
41