summaryrefslogtreecommitdiff
path: root/rbutil/rbutil.h
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2007-06-22 23:46:47 +0000
committerDominik Wenger <domonoky@googlemail.com>2007-06-22 23:46:47 +0000
commit84f5939d5f534265695f6bf576e5dff7fb05dbb9 (patch)
treec7ef6ff08daef66560b9e290efcedd6530c472be /rbutil/rbutil.h
parentf5936c062f7ffe99d1503860397d9637caff3f05 (diff)
downloadrockbox-84f5939d5f534265695f6bf576e5dff7fb05dbb9.tar.gz
rockbox-84f5939d5f534265695f6bf576e5dff7fb05dbb9.zip
rbutil: Add nice Buttons (FS 7294, heavily modified). Buttons are from the gnome-icon-theme (GPL) and are in png format. In rbutil/icons there is bin2c.c which can convert those pngs to *.c and *.h. Call it with bin2c *.png (shell expansion). The Makefile (Linux/ Mac) needs updates to use this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13690 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutil.h')
-rw-r--r--rbutil/rbutil.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rbutil/rbutil.h b/rbutil/rbutil.h
index f8a88d4e8d..3c61bd0c4e 100644
--- a/rbutil/rbutil.h
+++ b/rbutil/rbutil.h
@@ -59,6 +59,7 @@
59#include <wx/notebook.h> 59#include <wx/notebook.h>
60#include <wx/html/htmlwin.h> 60#include <wx/html/htmlwin.h>
61#include <wx/hyperlink.h> 61#include <wx/hyperlink.h>
62#include <wx/mstream.h>
62 63
63#ifdef __WXMSW__ 64#ifdef __WXMSW__
64#define PATH_SEP "\\" 65#define PATH_SEP "\\"
@@ -132,6 +133,7 @@ public:
132 133
133extern GlobalVars* gv; 134extern GlobalVars* gv;
134 135
136
135wxString wxFindAppPath(const wxString& argv0, const wxString& cwd, 137wxString wxFindAppPath(const wxString& argv0, const wxString& cwd,
136 const wxString& appVariableName); 138 const wxString& appVariableName);
137int DownloadURL(wxString src, wxString dest); 139int DownloadURL(wxString src, wxString dest);
@@ -143,6 +145,8 @@ bool checkZip(wxString zipname);
143wxString stream_err_str(int errnum); 145wxString stream_err_str(int errnum);
144bool rm_rf(wxString file); 146bool rm_rf(wxString file);
145 147
148wxBitmap wxGetBitmapFromMemory(const unsigned char *data,int length);
149
146 150
147#define ERR_DIALOG(msg, title) \ 151#define ERR_DIALOG(msg, title) \
148 wxLogError(wxT("%s: %s"), ((wxString) title).c_str(), ((wxString) msg).c_str()) 152 wxLogError(wxT("%s: %s"), ((wxString) title).c_str(), ((wxString) msg).c_str())