client & manager: Update icons for all client-side components.
|
@ -38,7 +38,7 @@ IDI_MAIN_ICON ICON "res\\ce.ico"
|
|||
#elif defined(_WCG)
|
||||
IDI_MAIN_ICON ICON "res\\wcg.ico"
|
||||
#else
|
||||
IDI_MAIN_ICON ICON "res\\icon.ico"
|
||||
IDI_MAIN_ICON ICON "res\\boinc.ico"
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -38,7 +38,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|||
#elif defined(_WCG)
|
||||
IDI_MAIN_ICON ICON "res\\wcg.ico"
|
||||
#else
|
||||
IDI_MAIN_ICON ICON "res\\icon.ico"
|
||||
IDI_MAIN_ICON ICON "res\\boinc.ico"
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -36,7 +36,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|||
#elif defined(_WCG)
|
||||
IDI_MAIN_ICON ICON "res\\wcg.ico"
|
||||
#else
|
||||
IDI_MAIN_ICON ICON "res\\icon.ico"
|
||||
IDI_MAIN_ICON ICON "res\\boinc.ico"
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 89 KiB |
|
@ -206,7 +206,7 @@ CAdvancedFrame::CAdvancedFrame() {
|
|||
}
|
||||
|
||||
|
||||
CAdvancedFrame::CAdvancedFrame(wxString title, wxIcon* icon, wxIcon* icon32, wxPoint position, wxSize size) :
|
||||
CAdvancedFrame::CAdvancedFrame(wxString title, wxIconBundle* icons, wxPoint position, wxSize size) :
|
||||
CBOINCBaseFrame((wxFrame *)NULL, ID_ADVANCEDFRAME, title, position, size, wxDEFAULT_FRAME_STYLE)
|
||||
{
|
||||
wxLogTrace(wxT("Function Start/End"), wxT("CAdvancedFrame::CAdvancedFrame - Function Begin"));
|
||||
|
@ -219,14 +219,7 @@ CAdvancedFrame::CAdvancedFrame(wxString title, wxIcon* icon, wxIcon* icon32, wxP
|
|||
m_strBaseTitle = title;
|
||||
|
||||
// Initialize Application
|
||||
#ifdef __WXMSW__
|
||||
SetIcons(wxICON(BOINCGUIAPP));
|
||||
#else
|
||||
wxIconBundle icons;
|
||||
icons.AddIcon(*icon);
|
||||
icons.AddIcon(*icon32);
|
||||
SetIcons(icons);
|
||||
#endif
|
||||
SetIcons(*icons);
|
||||
|
||||
// Create UI elements
|
||||
wxCHECK_RET(CreateMenu(), _T("Failed to create menu bar."));
|
||||
|
|
|
@ -54,7 +54,7 @@ class CAdvancedFrame : public CBOINCBaseFrame
|
|||
|
||||
public:
|
||||
CAdvancedFrame();
|
||||
CAdvancedFrame( wxString title, wxIcon* icon, wxIcon* icon32, wxPoint position, wxSize size );
|
||||
CAdvancedFrame( wxString title, wxIconBundle* icons, wxPoint position, wxSize size );
|
||||
|
||||
~CAdvancedFrame(void);
|
||||
|
||||
|
|
|
@ -418,17 +418,14 @@ bool CBOINCGUIApp::OnInit() {
|
|||
// Initialize the task bar icon
|
||||
m_pTaskBarIcon = new CTaskBarIcon(
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationName(),
|
||||
#ifdef __WXMSW__
|
||||
new wxIcon(wxICON(BOINCGUIAPP)),
|
||||
#else
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationIcon(),
|
||||
#endif
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationDisconnectedIcon(),
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationSnoozeIcon()
|
||||
#ifdef __WXMAC__
|
||||
, wxTBI_CUSTOM_STATUSITEM
|
||||
#endif
|
||||
);
|
||||
wxASSERT(m_pTaskBarIcon);
|
||||
#ifdef __WXMAC__
|
||||
m_pMacDockIcon = new CTaskBarIcon(
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationName(),
|
||||
|
@ -439,7 +436,6 @@ bool CBOINCGUIApp::OnInit() {
|
|||
);
|
||||
wxASSERT(m_pMacDockIcon);
|
||||
#endif
|
||||
wxASSERT(m_pTaskBarIcon);
|
||||
|
||||
// Startup the System Idle Detection code
|
||||
IdleTrackerAttach();
|
||||
|
@ -1049,7 +1045,6 @@ bool CBOINCGUIApp::SetActiveGUI(int iGUISelection, bool bShowWindow) {
|
|||
pNewFrame = new CAdvancedFrame(
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationName(),
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationIcon(),
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationIcon32(),
|
||||
wxPoint(iLeft, iTop),
|
||||
wxSize(iWidth, iHeight)
|
||||
);
|
||||
|
@ -1058,7 +1053,6 @@ bool CBOINCGUIApp::SetActiveGUI(int iGUISelection, bool bShowWindow) {
|
|||
pNewFrame = new CSimpleFrame(
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationName(),
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationIcon(),
|
||||
m_pSkinManager->GetAdvanced()->GetApplicationIcon32(),
|
||||
wxPoint(iLeft, iTop),
|
||||
wxSize(iWidth, iHeight)
|
||||
);
|
||||
|
|
|
@ -52,20 +52,21 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|||
// Icon
|
||||
//
|
||||
|
||||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
#if defined(_GRIDREPUBLIC)
|
||||
BOINCGUIAPP ICON "res\\gridrepublic.ico"
|
||||
boinc ICON "res\\gridrepublic.ico"
|
||||
#elif defined(_PROGRESSTHRUPROCESSORS)
|
||||
BOINCGUIAPP ICON "res\\progress.ico"
|
||||
boinc ICON "res\\progress.ico"
|
||||
#elif defined(_CHARITYENGINE)
|
||||
BOINCGUIAPP ICON "res\\ce.ico"
|
||||
boinc ICON "res\\ce.ico"
|
||||
#elif defined(_WCG)
|
||||
BOINCGUIAPP ICON "res\\wcg.ico"
|
||||
boinc ICON "res\\wcg.ico"
|
||||
#else
|
||||
BOINCGUIAPP ICON "res\\boincguiapp.ico"
|
||||
boinc ICON "res\\boinc.ico"
|
||||
#endif
|
||||
|
||||
boincdisconnect ICON "res\\boincdisconnect.ico"
|
||||
boincsnooze ICON "res\\boincsnooze.ico"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -76,7 +76,7 @@ BEGIN_EVENT_TABLE(CTaskBarIcon, wxTaskBarIconEx)
|
|||
END_EVENT_TABLE()
|
||||
|
||||
|
||||
CTaskBarIcon::CTaskBarIcon(wxString title, wxIcon* icon, wxIcon* iconDisconnected, wxIcon* iconSnooze
|
||||
CTaskBarIcon::CTaskBarIcon(wxString title, wxIconBundle* icon, wxIconBundle* iconDisconnected, wxIconBundle* iconSnooze
|
||||
#ifdef __WXMAC__
|
||||
, wxTaskBarIconType iconType
|
||||
#endif
|
||||
|
@ -87,9 +87,10 @@ CTaskBarIcon::CTaskBarIcon(wxString title, wxIcon* icon, wxIcon* iconDisconnecte
|
|||
wxTaskBarIconEx(wxT("BOINCManagerSystray"), 1)
|
||||
#endif
|
||||
{
|
||||
m_iconTaskBarNormal = *icon;
|
||||
m_iconTaskBarDisconnected = *iconDisconnected;
|
||||
m_iconTaskBarSnooze = *iconSnooze;
|
||||
wxSize size = wxSize(wxSystemSettings::GetMetric(wxSYS_SMALLICON_X), wxSystemSettings::GetMetric(wxSYS_SMALLICON_Y));
|
||||
m_iconTaskBarNormal = icon->GetIcon(size);
|
||||
m_iconTaskBarDisconnected = iconDisconnected->GetIcon(size);
|
||||
m_iconTaskBarSnooze = iconSnooze->GetIcon(size);
|
||||
m_SnoozeGPUMenuItem = NULL;
|
||||
|
||||
m_bTaskbarInitiatedShutdown = false;
|
||||
|
@ -349,9 +350,10 @@ void CTaskBarIcon::OnReloadSkin(CTaskbarEvent& WXUNUSED(event)) {
|
|||
wxASSERT(pSkinAdvanced);
|
||||
wxASSERT(wxDynamicCast(pSkinAdvanced, CSkinAdvanced));
|
||||
|
||||
m_iconTaskBarNormal = *pSkinAdvanced->GetApplicationIcon();
|
||||
m_iconTaskBarDisconnected = *pSkinAdvanced->GetApplicationDisconnectedIcon();
|
||||
m_iconTaskBarSnooze = *pSkinAdvanced->GetApplicationSnoozeIcon();
|
||||
wxSize size = wxSize(wxSystemSettings::GetMetric(wxSYS_SMALLICON_X), wxSystemSettings::GetMetric(wxSYS_SMALLICON_Y));
|
||||
m_iconTaskBarNormal = pSkinAdvanced->GetApplicationIcon()->GetIcon(size);
|
||||
m_iconTaskBarDisconnected = pSkinAdvanced->GetApplicationDisconnectedIcon()->GetIcon(size);
|
||||
m_iconTaskBarSnooze = pSkinAdvanced->GetApplicationSnoozeIcon()->GetIcon(size);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ class CTaskbarEvent;
|
|||
|
||||
class CTaskBarIcon : public wxTaskBarIconEx {
|
||||
public:
|
||||
CTaskBarIcon(wxString title, wxIcon* icon, wxIcon* iconDisconnected, wxIcon* iconSnooze
|
||||
CTaskBarIcon(wxString title, wxIconBundle* icon, wxIconBundle* iconDisconnected, wxIconBundle* iconSnooze
|
||||
#ifdef __WXMAC__
|
||||
, wxTaskBarIconType iconType
|
||||
#endif
|
||||
|
|
|
@ -84,7 +84,7 @@ CDlgAdvPreferences::CDlgAdvPreferences(wxWindow* parent) : CDlgAdvPreferencesBas
|
|||
iImageIndex = pImageList->Add(wxBitmap(usage_xpm));
|
||||
m_Notebook->SetPageImage(2,iImageIndex);
|
||||
|
||||
iImageIndex = pImageList->Add(*pSkinAdvanced->GetApplicationSnoozeIcon());
|
||||
iImageIndex = pImageList->Add(pSkinAdvanced->GetApplicationSnoozeIcon()->GetIcon(wxDefaultSize));
|
||||
m_Notebook->SetPageImage(3,iImageIndex);
|
||||
|
||||
//setting warning bitmap
|
||||
|
|
|
@ -221,10 +221,7 @@ bool CDlgEventLog::Create( wxWindow* parent, wxWindowID id, const wxString& capt
|
|||
SetTitle(strCaption);
|
||||
|
||||
// Initialize Application Icon
|
||||
wxIconBundle icons;
|
||||
icons.AddIcon(*pSkinAdvanced->GetApplicationIcon());
|
||||
icons.AddIcon(*pSkinAdvanced->GetApplicationIcon32());
|
||||
SetIcons(icons);
|
||||
SetIcons(*pSkinAdvanced->GetApplicationIcon());
|
||||
|
||||
CreateControls();
|
||||
|
||||
|
|
|
@ -43,7 +43,9 @@
|
|||
#include "res/boinc.xpm"
|
||||
#include "res/boinc32.xpm"
|
||||
#include "res/boincdisconnect.xpm"
|
||||
#include "res/boincdisconnect32.xpm"
|
||||
#include "res/boincsnooze.xpm"
|
||||
#include "res/boincsnooze32.xpm"
|
||||
#include "res/boinc_logo.xpm"
|
||||
////@end XPM images
|
||||
|
||||
|
@ -192,7 +194,6 @@ CSkinIcon::~CSkinIcon() {
|
|||
void CSkinIcon::Clear() {
|
||||
m_strDesiredIcon.Clear();
|
||||
m_strDesiredTransparencyMask.Clear();
|
||||
m_icoIcon = wxNullIcon;
|
||||
}
|
||||
|
||||
|
||||
|
@ -222,39 +223,93 @@ int CSkinIcon::Parse(MIOFILE& in) {
|
|||
}
|
||||
|
||||
|
||||
wxIcon* CSkinIcon::GetIcon() {
|
||||
int CSkinIcon::Parse32(MIOFILE& in) {
|
||||
char buf[256];
|
||||
std::string strBuffer;
|
||||
|
||||
while (in.fgets(buf, 256)) {
|
||||
if (match_tag(buf, "</image>")) break;
|
||||
else if (parse_str(buf, "<imagesrc>", strBuffer)) {
|
||||
if (strBuffer.length()) {
|
||||
m_strDesiredIcon32 = wxString(
|
||||
wxGetApp().GetSkinManager()->ConstructSkinPath() +
|
||||
wxString(strBuffer.c_str(), wxConvUTF8)
|
||||
);
|
||||
}
|
||||
continue;
|
||||
} else if (parse_str(buf, "<transparency_mask>", strBuffer)) {
|
||||
if (strBuffer.length()) {
|
||||
m_strDesiredTransparencyMask32 = wxString(strBuffer.c_str(), wxConvUTF8);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
return BOINC_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
wxIconBundle* CSkinIcon::GetIcon() {
|
||||
Validate();
|
||||
return &m_icoIcon;
|
||||
}
|
||||
|
||||
|
||||
bool CSkinIcon::SetDefaults(wxString strComponentName, const char** ppDefaultIcon) {
|
||||
bool CSkinIcon::SetDefaults(wxString strComponentName, wxString strIcon) {
|
||||
m_strComponentName = strComponentName;
|
||||
m_ppDefaultIcon = ppDefaultIcon;
|
||||
#ifdef _WIN32
|
||||
m_icoDefaultIcon.AddIcon(wxIcon(strIcon, wxICON_DEFAULT_TYPE, 16, 16));
|
||||
m_icoDefaultIcon.AddIcon(wxIcon(strIcon, wxICON_DEFAULT_TYPE, 32, 32));
|
||||
m_icoDefaultIcon.AddIcon(wxIcon(strIcon, wxICON_DEFAULT_TYPE, 48, 48));
|
||||
m_icoDefaultIcon.AddIcon(wxIcon(strIcon, wxICON_DEFAULT_TYPE, 64, 64));
|
||||
m_icoDefaultIcon.AddIcon(wxIcon(strIcon, wxICON_DEFAULT_TYPE, 128, 128));
|
||||
m_icoDefaultIcon.AddIcon(wxIcon(strIcon, wxICON_DEFAULT_TYPE, 256, 256));
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool CSkinIcon::SetDefaults(wxString strComponentName, const char** m_ppIcon, const char** m_ppIcon32) {
|
||||
m_strComponentName = strComponentName;
|
||||
m_icoDefaultIcon.AddIcon(wxIcon(m_ppIcon));
|
||||
m_icoDefaultIcon.AddIcon(wxIcon(m_ppIcon32));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool CSkinIcon::Validate() {
|
||||
if (!m_strDesiredIcon.IsEmpty()) {
|
||||
// Configure bitmap object with optional transparency mask
|
||||
wxImage img = wxImage(m_strDesiredIcon, wxBITMAP_TYPE_ANY);
|
||||
wxBitmap bmp = wxBitmap(img);
|
||||
// If PNG file has alpha channel use it as mask & ignore <transparency_mask> tag
|
||||
if (!(m_strDesiredTransparencyMask.IsEmpty() || img.HasAlpha())) {
|
||||
bmp.SetMask(new wxMask(bmp, ParseColor(m_strDesiredTransparencyMask)));
|
||||
}
|
||||
// Now set the icon object using the newly created bitmap with optional transparency mask
|
||||
wxIcon ico;
|
||||
ico.CopyFromBitmap(bmp);
|
||||
m_icoIcon.AddIcon(ico);
|
||||
}
|
||||
if (!m_strDesiredIcon32.IsEmpty()) {
|
||||
// Configure bitmap object with optional transparency mask
|
||||
wxImage img32 = wxImage(m_strDesiredIcon32, wxBITMAP_TYPE_ANY);
|
||||
wxBitmap bmp32 = wxBitmap(img32);
|
||||
// If PNG file has alpha channel use it as mask & ignore <transparency_mask> tag
|
||||
if (!(m_strDesiredTransparencyMask32.IsEmpty() || img32.HasAlpha())) {
|
||||
bmp32.SetMask(new wxMask(bmp32, ParseColor(m_strDesiredTransparencyMask32)));
|
||||
}
|
||||
// Now set the icon object using the newly created bitmap with optional transparency mask
|
||||
wxIcon ico32;
|
||||
ico32.CopyFromBitmap(bmp32);
|
||||
m_icoIcon.AddIcon(ico32);
|
||||
}
|
||||
if (!m_icoIcon.Ok()) {
|
||||
if (!m_strDesiredIcon.IsEmpty()) {
|
||||
// Configure bitmap object with optional transparency mask
|
||||
wxImage img = wxImage(m_strDesiredIcon, wxBITMAP_TYPE_ANY);
|
||||
wxBitmap bmp = wxBitmap(img);
|
||||
// If PNG file has alpha channel use it as mask & ignore <transparency_mask> tag
|
||||
if (!(m_strDesiredTransparencyMask.IsEmpty() || img.HasAlpha())) {
|
||||
bmp.SetMask(new wxMask(bmp, ParseColor(m_strDesiredTransparencyMask)));
|
||||
}
|
||||
// Now set the icon object using the newly created bitmap with optional transparency mask
|
||||
m_icoIcon.CopyFromBitmap(bmp);
|
||||
}
|
||||
if (!m_icoIcon.Ok()) {
|
||||
if (show_error_msgs) {
|
||||
fprintf(stderr, "Skin Manager: Failed to load '%s' icon. Using default.\n", (const char *)m_strComponentName.mb_str());
|
||||
}
|
||||
m_icoIcon = wxIcon(m_ppDefaultIcon);
|
||||
wxASSERT(m_icoIcon.Ok());
|
||||
if (show_error_msgs) {
|
||||
fprintf(stderr, "Skin Manager: Failed to load '%s' icon. Using default.\n", (const char *)m_strComponentName.mb_str());
|
||||
}
|
||||
m_icoIcon = m_icoDefaultIcon;
|
||||
wxASSERT(m_icoIcon.Ok());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -375,7 +430,6 @@ void CSkinAdvanced::Clear() {
|
|||
m_strApplicationName = wxEmptyString;
|
||||
m_strApplicationShortName = wxEmptyString;
|
||||
m_iconApplicationIcon.Clear();
|
||||
m_iconApplicationIcon32.Clear();
|
||||
m_iconApplicationDisconnectedIcon.Clear();
|
||||
m_iconApplicationSnoozeIcon.Clear();
|
||||
m_bitmapApplicationLogo = wxNullBitmap;
|
||||
|
@ -405,7 +459,7 @@ int CSkinAdvanced::Parse(MIOFILE& in) {
|
|||
m_iconApplicationIcon.Parse(in);
|
||||
continue;
|
||||
} else if (match_tag(buf, "<application_icon32>")) {
|
||||
m_iconApplicationIcon32.Parse(in);
|
||||
m_iconApplicationIcon.Parse32(in);
|
||||
continue;
|
||||
} else if (match_tag(buf, "<application_disconnected_icon>")) {
|
||||
m_iconApplicationDisconnectedIcon.Parse(in);
|
||||
|
@ -451,7 +505,7 @@ int CSkinAdvanced::Parse(MIOFILE& in) {
|
|||
wxString CSkinAdvanced::GetApplicationName() {
|
||||
wxString strApplicationName = m_strApplicationName;
|
||||
#ifdef BOINC_PRERELEASE
|
||||
strApplicationName += wxT(" (Pre-release)");
|
||||
strApplicationName += wxT(" (Pre-release)");
|
||||
#endif
|
||||
return strApplicationName;
|
||||
}
|
||||
|
@ -462,20 +516,17 @@ wxString CSkinAdvanced::GetApplicationShortName() {
|
|||
}
|
||||
|
||||
|
||||
wxIcon* CSkinAdvanced::GetApplicationIcon() {
|
||||
wxIconBundle* CSkinAdvanced::GetApplicationIcon() {
|
||||
return m_iconApplicationIcon.GetIcon();
|
||||
}
|
||||
|
||||
wxIcon* CSkinAdvanced::GetApplicationIcon32() {
|
||||
return m_iconApplicationIcon32.GetIcon();
|
||||
}
|
||||
|
||||
wxIcon* CSkinAdvanced::GetApplicationDisconnectedIcon() {
|
||||
wxIconBundle* CSkinAdvanced::GetApplicationDisconnectedIcon() {
|
||||
return m_iconApplicationDisconnectedIcon.GetIcon();
|
||||
}
|
||||
|
||||
|
||||
wxIcon* CSkinAdvanced::GetApplicationSnoozeIcon() {
|
||||
wxIconBundle* CSkinAdvanced::GetApplicationSnoozeIcon() {
|
||||
return m_iconApplicationSnoozeIcon.GetIcon();
|
||||
}
|
||||
|
||||
|
@ -530,10 +581,15 @@ bool CSkinAdvanced::InitializeDelayedValidation() {
|
|||
m_strApplicationShortName = wxT("BOINC");
|
||||
wxASSERT(!m_strApplicationShortName.IsEmpty());
|
||||
}
|
||||
m_iconApplicationIcon.SetDefaults(wxT("application"), (const char**)boinc_xpm);
|
||||
m_iconApplicationIcon32.SetDefaults(wxT("application"), (const char**)boinc32_xpm);
|
||||
m_iconApplicationDisconnectedIcon.SetDefaults(wxT("application disconnected"), (const char**)boincdisconnect_xpm);
|
||||
m_iconApplicationSnoozeIcon.SetDefaults(wxT("application snooze"), (const char**)boincsnooze_xpm);
|
||||
#ifdef _WIN32
|
||||
m_iconApplicationIcon.SetDefaults(wxT("application"), wxString("boinc"));
|
||||
m_iconApplicationDisconnectedIcon.SetDefaults(wxT("application disconnected"), wxString("boincdisconnect"));
|
||||
m_iconApplicationSnoozeIcon.SetDefaults(wxT("application snooze"), wxString("boincsnooze"));
|
||||
#else
|
||||
m_iconApplicationIcon.SetDefaults(wxT("application"), wxICON(boinc), wxICON(boinc32));
|
||||
m_iconApplicationDisconnectedIcon.SetDefaults(wxT("application disconnected"), wxICON(boincdisconnect), wxICON(boincdisconnect32));
|
||||
m_iconApplicationSnoozeIcon.SetDefaults(wxT("application snooze"), wxICON(boincsnooze), wxICON(boincsnooze32));
|
||||
#endif
|
||||
if (!m_bitmapApplicationLogo.Ok()) {
|
||||
if (show_error_msgs) {
|
||||
fprintf(stderr, "Skin Manager: Failed to load application logo. Using default.\n");
|
||||
|
|
|
@ -83,12 +83,19 @@ public:
|
|||
|
||||
void Clear();
|
||||
int Parse(MIOFILE& in);
|
||||
int Parse32(MIOFILE& in);
|
||||
|
||||
wxIcon* GetIcon();
|
||||
wxIconBundle* GetIcon();
|
||||
|
||||
bool SetDefaults(
|
||||
wxString strComponentName,
|
||||
const char** ppDefaultIcon
|
||||
wxString strIcon
|
||||
);
|
||||
|
||||
bool SetDefaults(
|
||||
wxString strComponentName,
|
||||
const char** m_ppIcon,
|
||||
const char** m_ppIcon32
|
||||
);
|
||||
|
||||
bool Validate();
|
||||
|
@ -97,8 +104,11 @@ private:
|
|||
wxString m_strComponentName;
|
||||
wxString m_strDesiredIcon;
|
||||
wxString m_strDesiredTransparencyMask;
|
||||
const char** m_ppDefaultIcon;
|
||||
wxIcon m_icoIcon;
|
||||
wxIconBundle m_icoDefaultIcon;
|
||||
wxString m_strDesiredIcon32;
|
||||
wxString m_strDesiredTransparencyMask32;
|
||||
wxIconBundle m_icoDefaultIcon32;
|
||||
wxIconBundle m_icoIcon;
|
||||
};
|
||||
|
||||
|
||||
|
@ -158,35 +168,34 @@ public:
|
|||
|
||||
bool InitializeDelayedValidation();
|
||||
|
||||
wxString GetApplicationName();
|
||||
wxString GetApplicationShortName();
|
||||
wxIcon* GetApplicationIcon();
|
||||
wxIcon* GetApplicationIcon32();
|
||||
wxIcon* GetApplicationDisconnectedIcon();
|
||||
wxIcon* GetApplicationSnoozeIcon();
|
||||
wxBitmap* GetApplicationLogo();
|
||||
wxString GetOrganizationName();
|
||||
wxString GetOrganizationWebsite();
|
||||
wxString GetOrganizationHelpUrl();
|
||||
int GetDefaultTab();
|
||||
wxString GetExitMessage();
|
||||
bool IsBranded();
|
||||
wxString GetApplicationName();
|
||||
wxString GetApplicationShortName();
|
||||
wxIconBundle* GetApplicationIcon();
|
||||
wxIconBundle* GetApplicationDisconnectedIcon();
|
||||
wxIconBundle* GetApplicationSnoozeIcon();
|
||||
wxBitmap* GetApplicationLogo();
|
||||
wxString GetOrganizationName();
|
||||
wxString GetOrganizationWebsite();
|
||||
wxString GetOrganizationHelpUrl();
|
||||
int GetDefaultTab();
|
||||
wxString GetExitMessage();
|
||||
bool IsBranded();
|
||||
|
||||
private:
|
||||
bool m_bIsBranded;
|
||||
wxString m_strApplicationName;
|
||||
wxString m_strApplicationShortName;
|
||||
CSkinIcon m_iconApplicationIcon;
|
||||
CSkinIcon m_iconApplicationIcon32;
|
||||
CSkinIcon m_iconApplicationDisconnectedIcon;
|
||||
CSkinIcon m_iconApplicationSnoozeIcon;
|
||||
wxBitmap m_bitmapApplicationLogo;
|
||||
wxString m_strOrganizationName;
|
||||
wxString m_strOrganizationWebsite;
|
||||
wxString m_strOrganizationHelpUrl;
|
||||
bool m_bDefaultTabSpecified;
|
||||
int m_iDefaultTab;
|
||||
wxString m_strExitMessage;
|
||||
bool m_bIsBranded;
|
||||
wxString m_strApplicationName;
|
||||
wxString m_strApplicationShortName;
|
||||
CSkinIcon m_iconApplicationIcon;
|
||||
CSkinIcon m_iconApplicationIcon32;
|
||||
CSkinIcon m_iconApplicationDisconnectedIcon;
|
||||
CSkinIcon m_iconApplicationSnoozeIcon;
|
||||
wxBitmap m_bitmapApplicationLogo;
|
||||
wxString m_strOrganizationName;
|
||||
wxString m_strOrganizationWebsite;
|
||||
wxString m_strOrganizationHelpUrl;
|
||||
bool m_bDefaultTabSpecified;
|
||||
int m_iDefaultTab;
|
||||
wxString m_strExitMessage;
|
||||
};
|
||||
|
||||
|
||||
|
|
Before Width: | Height: | Size: 278 KiB |
After Width: | Height: | Size: 42 KiB |
|
@ -1,38 +1,65 @@
|
|||
/* XPM */
|
||||
static const char *boinc_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 16 10 1",
|
||||
"@ c #F8BC1A",
|
||||
"+ c #293F64",
|
||||
". c None",
|
||||
"O c #ED9D00",
|
||||
"$ c #FFD93E",
|
||||
"% c #FFD824",
|
||||
"o c #203C66",
|
||||
"X c #174A78",
|
||||
" c #0E588A",
|
||||
"# c #FFDE49",
|
||||
"16 16 37 1",
|
||||
"6 c #FFCC33",
|
||||
"o c None",
|
||||
"8 c #FFC62E",
|
||||
"9 c #FFC32B",
|
||||
"w c #FFC32C",
|
||||
"# c #1E4D78",
|
||||
"u c #1E4D79",
|
||||
"X c #1E4A74",
|
||||
"$ c #1E4A75",
|
||||
"% c #1E4770",
|
||||
"@ c #1E4771",
|
||||
"O c #1E446D",
|
||||
"> c #1E446E",
|
||||
", c #1E4169",
|
||||
"< c #1E3E66",
|
||||
"0 c #FFCB32",
|
||||
"4 c #FFC52D",
|
||||
"7 c #FFC52E",
|
||||
"3 c #FFC22B",
|
||||
"2 c #FFBF28",
|
||||
". c #1E4C77",
|
||||
"t c #1E4C78",
|
||||
"i c #1E4974",
|
||||
"; c #1E466F",
|
||||
"+ c #1E4670",
|
||||
"e c #1E436C",
|
||||
"& c #1E436D",
|
||||
"r c #1E4068",
|
||||
"- c #1E4069",
|
||||
": c #1E3D65",
|
||||
"= c #1E3D66",
|
||||
"5 c #FFCA31",
|
||||
"q c #FFCA32",
|
||||
"1 c #FFBE28",
|
||||
" c #1E4E79",
|
||||
"y c #1E456F",
|
||||
"* c #1E3C64",
|
||||
/* pixels */
|
||||
" ............ ",
|
||||
" XX..........XX ",
|
||||
".Xoo..oooo..ooX.",
|
||||
"..ooooooo..ooo..",
|
||||
"...ooo....ooo...",
|
||||
"....o..OO..++...",
|
||||
"..o...O@@O..oo..",
|
||||
"..oo.O@##@O.oo..",
|
||||
"..oo.O@$%@O.oo..",
|
||||
"..oo..O@@O...o..",
|
||||
"...++..OO..o....",
|
||||
"...ooo....+oo...",
|
||||
"..ooo..ooo+ooo..",
|
||||
".ooo..oooo..ooX.",
|
||||
" oo..........XX ",
|
||||
" ............ "
|
||||
" .XooooooooooO+@",
|
||||
"#$%&oo****oo=-&;",
|
||||
"$@&-*********:-&",
|
||||
"o>,:**********:o",
|
||||
"oo<****11o****oo",
|
||||
"o<:**234431****o",
|
||||
"o<**o356653o***o",
|
||||
"o=**17666641***o",
|
||||
"o=**18666671***o",
|
||||
"o<**o9066q3o***o",
|
||||
"o<***2w8832****o",
|
||||
"oo:***o11o****oo",
|
||||
"oO-:***********o",
|
||||
"$@er*********:re",
|
||||
"tX+eo******o:-ey",
|
||||
"u.ioooooooooo&;+"
|
||||
};
|
||||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// Copyright (C) 2013 University of California
|
||||
// Copyright (C) 2013-2014 University of California
|
||||
//
|
||||
// BOINC is free software; you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License
|
||||
|
|
|
@ -1,501 +1,102 @@
|
|||
/* XPM */
|
||||
static const char * boinc32_xpm[] = {
|
||||
"32 32 460 2",
|
||||
" c None",
|
||||
". c #597C9E",
|
||||
"+ c #174876",
|
||||
"@ c #3E6790",
|
||||
"# c #8BA1B8",
|
||||
"$ c #225C96",
|
||||
"% c #174674",
|
||||
"& c #375E88",
|
||||
"* c #90A2B7",
|
||||
"= c #123965",
|
||||
"- c #163D68",
|
||||
"; c #173D67",
|
||||
"> c #1A4875",
|
||||
", c #1B4674",
|
||||
"' c #194370",
|
||||
") c #2B527C",
|
||||
"! c #F9FDFF",
|
||||
"~ c #F5FAFF",
|
||||
"{ c #EAF0F9",
|
||||
"] c #DBE3EE",
|
||||
"^ c #C9D3E2",
|
||||
"/ c #C4CFDF",
|
||||
"( c #CAD5E5",
|
||||
"_ c #DBE4F3",
|
||||
": c #96A5B8",
|
||||
"< c #123461",
|
||||
"[ c #173862",
|
||||
"} c #17375F",
|
||||
"| c #24538B",
|
||||
"1 c #255C95",
|
||||
"2 c #1B4471",
|
||||
"3 c #1D4470",
|
||||
"4 c #1A416C",
|
||||
"5 c #234772",
|
||||
"6 c #A1B4CD",
|
||||
"7 c #FBFEFF",
|
||||
"8 c #F9F9FB",
|
||||
"9 c #8592A8",
|
||||
"0 c #48658D",
|
||||
"a c #31486E",
|
||||
"b c #203A64",
|
||||
"c c #193460",
|
||||
"d c #1A3560",
|
||||
"e c #233D66",
|
||||
"f c #2A436B",
|
||||
"g c #4A6184",
|
||||
"h c #E6EFFB",
|
||||
"i c #98A4B6",
|
||||
"j c #14315C",
|
||||
"k c #18355E",
|
||||
"l c #17335A",
|
||||
"m c #224E86",
|
||||
"n c #225993",
|
||||
"o c #1B416C",
|
||||
"p c #1E416C",
|
||||
"q c #1C3E69",
|
||||
"r c #203F6B",
|
||||
"s c #879CBB",
|
||||
"t c #D1DBE7",
|
||||
"u c #8A98AB",
|
||||
"v c #395B89",
|
||||
"w c #204270",
|
||||
"x c #0E305E",
|
||||
"y c #122E5B",
|
||||
"z c #14305D",
|
||||
"A c #15305D",
|
||||
"B c #142F56",
|
||||
"C c #ECF2F7",
|
||||
"D c #E8F2FE",
|
||||
"E c #E9F3FF",
|
||||
"F c #99A5B8",
|
||||
"G c #15315C",
|
||||
"H c #19325B",
|
||||
"I c #193056",
|
||||
"J c #164077",
|
||||
"K c #265991",
|
||||
"L c #1B3D69",
|
||||
"M c #1F3E69",
|
||||
"N c #1C3863",
|
||||
"O c #253F68",
|
||||
"P c #243F67",
|
||||
"Q c #152F5A",
|
||||
"R c #0F315F",
|
||||
"S c #17345B",
|
||||
"T c #1C3E6C",
|
||||
"U c #234573",
|
||||
"V c #224472",
|
||||
"W c #153765",
|
||||
"X c #203A57",
|
||||
"Y c #F6F9FA",
|
||||
"Z c #EFF9FF",
|
||||
"` c #E8F2FF",
|
||||
" . c #F6FCFF",
|
||||
".. c #99A6B7",
|
||||
"+. c #183460",
|
||||
"@. c #1B365F",
|
||||
"#. c #1A3157",
|
||||
"$. c #103569",
|
||||
"%. c #225087",
|
||||
"&. c #1F3962",
|
||||
"*. c #1A355D",
|
||||
"=. c #103260",
|
||||
"-. c #183A68",
|
||||
";. c #7592B9",
|
||||
">. c #FCFFFF",
|
||||
",. c #F6FBFE",
|
||||
"'. c #C7D9EE",
|
||||
"). c #E0EDFB",
|
||||
"!. c #F5FBFF",
|
||||
"~. c #F1F8FF",
|
||||
"{. c #F6F7F1",
|
||||
"]. c #9CA4AB",
|
||||
"^. c #173460",
|
||||
"/. c #1C3963",
|
||||
"(. c #1F3860",
|
||||
"_. c #0E366C",
|
||||
":. c #B5CBE5",
|
||||
"<. c #1A467D",
|
||||
"[. c #163460",
|
||||
"}. c #143664",
|
||||
"|. c #294B79",
|
||||
"1. c #6A8CBA",
|
||||
"2. c #1B3760",
|
||||
"3. c #18335F",
|
||||
"4. c #213C65",
|
||||
"5. c #163664",
|
||||
"6. c #A1B8D5",
|
||||
"7. c #EFF7FF",
|
||||
"8. c #C0D4EA",
|
||||
"9. c #174984",
|
||||
"0. c #315381",
|
||||
"a. c #BCD5F5",
|
||||
"b. c #436593",
|
||||
"c. c #1B3660",
|
||||
"d. c #19325C",
|
||||
"e. c #1B3862",
|
||||
"f. c #6B7F9F",
|
||||
"g. c #E8F1FE",
|
||||
"h. c #E9F4FF",
|
||||
"i. c #F3FAFF",
|
||||
"j. c #CFE0F2",
|
||||
"k. c #385A88",
|
||||
"l. c #FDECB3",
|
||||
"m. c #FDE193",
|
||||
"n. c #FCDA73",
|
||||
"o. c #FBD265",
|
||||
"p. c #FBCE54",
|
||||
"q. c #FCDA6E",
|
||||
"r. c #BFD8F8",
|
||||
"s. c #3A5C8A",
|
||||
"t. c #1F3C67",
|
||||
"u. c #1C3B67",
|
||||
"v. c #C0CDE0",
|
||||
"w. c #2A4268",
|
||||
"x. c #EBF2F8",
|
||||
"y. c #F8FCFF",
|
||||
"z. c #FEE9A9",
|
||||
"A. c #FFF9E5",
|
||||
"B. c #FFFEFB",
|
||||
"C. c #FFFBEF",
|
||||
"D. c #FFF5D0",
|
||||
"E. c #FEE99C",
|
||||
"F. c #FEDA68",
|
||||
"G. c #F8C43C",
|
||||
"H. c #83A5D3",
|
||||
"I. c #264571",
|
||||
"J. c #1C3A69",
|
||||
"K. c #1A3B6B",
|
||||
"L. c #677FA1",
|
||||
"M. c #DFEAFB",
|
||||
"N. c #112D54",
|
||||
"O. c #0C2852",
|
||||
"P. c #FEE38C",
|
||||
"Q. c #FFF2C7",
|
||||
"R. c #FFF9E3",
|
||||
"S. c #FFEFB7",
|
||||
"T. c #FEEA9D",
|
||||
"U. c #FEE484",
|
||||
"V. c #FDD659",
|
||||
"W. c #F8C238",
|
||||
"X. c #4F719F",
|
||||
"Y. c #2C558B",
|
||||
"Z. c #265085",
|
||||
"`. c #1E3F6C",
|
||||
" + c #B9CCE6",
|
||||
".+ c #0B2750",
|
||||
"++ c #0E2A52",
|
||||
"@+ c #1B3860",
|
||||
"#+ c #FDDF7F",
|
||||
"$+ c #FFEAA6",
|
||||
"%+ c #FFF2C5",
|
||||
"&+ c #FFF0BA",
|
||||
"*+ c #FFEDAB",
|
||||
"=+ c #FEECA7",
|
||||
"-+ c #FEEBA3",
|
||||
";+ c #FEE99B",
|
||||
">+ c #FEE588",
|
||||
",+ c #FDDF71",
|
||||
"'+ c #F9C12A",
|
||||
")+ c #F7C751",
|
||||
"!+ c #9EB7D7",
|
||||
"~+ c #48668B",
|
||||
"{+ c #2C4975",
|
||||
"]+ c #153360",
|
||||
"^+ c #C0CDDF",
|
||||
"/+ c #7992B7",
|
||||
"(+ c #0B2850",
|
||||
"_+ c #0F2B54",
|
||||
":+ c #314D72",
|
||||
"<+ c #C4D7EF",
|
||||
"[+ c #FBD25A",
|
||||
"}+ c #FEE58D",
|
||||
"|+ c #FEECA6",
|
||||
"1+ c #FEE78E",
|
||||
"2+ c #FEE589",
|
||||
"3+ c #FDDF7B",
|
||||
"4+ c #FCD55A",
|
||||
"5+ c #FBCC3E",
|
||||
"6+ c #FAC42B",
|
||||
"7+ c #F4B10E",
|
||||
"8+ c #F0B227",
|
||||
"9+ c #324764",
|
||||
"0+ c #2A4168",
|
||||
"a+ c #17325B",
|
||||
"b+ c #A1B0C6",
|
||||
"c+ c #7488A4",
|
||||
"d+ c #203E6A",
|
||||
"e+ c #597595",
|
||||
"f+ c #F8BF33",
|
||||
"g+ c #FDD75D",
|
||||
"h+ c #FDD759",
|
||||
"i+ c #FDCF44",
|
||||
"j+ c #FCCA36",
|
||||
"k+ c #FBC528",
|
||||
"l+ c #FBC01B",
|
||||
"m+ c #FABB12",
|
||||
"n+ c #F8B70D",
|
||||
"o+ c #F6B50A",
|
||||
"p+ c #F0AC06",
|
||||
"q+ c #EDA613",
|
||||
"r+ c #1A3050",
|
||||
"s+ c #0E254E",
|
||||
"t+ c #092149",
|
||||
"u+ c #93A2BC",
|
||||
"v+ c #7F90AA",
|
||||
"w+ c #486383",
|
||||
"x+ c #F6B923",
|
||||
"y+ c #F6B60F",
|
||||
"z+ c #F9BC13",
|
||||
"A+ c #F9BD14",
|
||||
"B+ c #F9BD16",
|
||||
"C+ c #F9BD17",
|
||||
"D+ c #F8BB14",
|
||||
"E+ c #F6B60E",
|
||||
"F+ c #F4B308",
|
||||
"G+ c #F4B207",
|
||||
"H+ c #EFAB06",
|
||||
"I+ c #F0A412",
|
||||
"J+ c #1B3352",
|
||||
"K+ c #10264F",
|
||||
"L+ c #071D46",
|
||||
"M+ c #95A7C5",
|
||||
"N+ c #7587A4",
|
||||
"O+ c #152C53",
|
||||
"P+ c #13294F",
|
||||
"Q+ c #143056",
|
||||
"R+ c #E59D00",
|
||||
"S+ c #EDA803",
|
||||
"T+ c #F4B50C",
|
||||
"U+ c #F5B60E",
|
||||
"V+ c #F5B40B",
|
||||
"W+ c #F4B208",
|
||||
"X+ c #F3B106",
|
||||
"Y+ c #F3B207",
|
||||
"Z+ c #F4B50E",
|
||||
"`+ c #F0AC0D",
|
||||
" @ c #F5AC26",
|
||||
".@ c #0D2342",
|
||||
"+@ c #0F254D",
|
||||
"@@ c #09224C",
|
||||
"#@ c #A6B9D5",
|
||||
"$@ c #132A50",
|
||||
"%@ c #062651",
|
||||
"&@ c #A3B2C1",
|
||||
"*@ c #FDFEFF",
|
||||
"=@ c #EBBC4D",
|
||||
"-@ c #F0B008",
|
||||
";@ c #F2AF05",
|
||||
">@ c #F3B30B",
|
||||
",@ c #F3B510",
|
||||
"'@ c #F7C027",
|
||||
")@ c #F7C332",
|
||||
"!@ c #F4AE16",
|
||||
"~@ c #F7C361",
|
||||
"{@ c #163658",
|
||||
"]@ c #0D2148",
|
||||
"^@ c #0D2A58",
|
||||
"/@ c #C2D2E9",
|
||||
"(@ c #A8B6CE",
|
||||
"_@ c #1C355E",
|
||||
":@ c #13294E",
|
||||
"<@ c #0B2853",
|
||||
"[@ c #294363",
|
||||
"}@ c #E4A00A",
|
||||
"|@ c #EBA707",
|
||||
"1@ c #F3B310",
|
||||
"2@ c #F7BE22",
|
||||
"3@ c #F6BB1E",
|
||||
"4@ c #FAC430",
|
||||
"5@ c #FCCB3E",
|
||||
"6@ c #FBD25B",
|
||||
"7@ c #F8B52D",
|
||||
"8@ c #0B356D",
|
||||
"9@ c #16386B",
|
||||
"0@ c #F0F7FE",
|
||||
"a@ c #3C5D8C",
|
||||
"b@ c #0E254C",
|
||||
"c@ c #09264E",
|
||||
"d@ c #AEBDCD",
|
||||
"e@ c #E7A309",
|
||||
"f@ c #F5BB26",
|
||||
"g@ c #FAC438",
|
||||
"h@ c #FCD256",
|
||||
"i@ c #FCD763",
|
||||
"j@ c #FAD150",
|
||||
"k@ c #F8BA37",
|
||||
"l@ c #F1F9FF",
|
||||
"m@ c #FDFFFF",
|
||||
"n@ c #6C90C0",
|
||||
"o@ c #AEC1DB",
|
||||
"p@ c #102C59",
|
||||
"q@ c #19365B",
|
||||
"r@ c #EFBA3A",
|
||||
"s@ c #F8C455",
|
||||
"t@ c #5072A0",
|
||||
"u@ c #9BB4D7",
|
||||
"v@ c #EAF4FF",
|
||||
"w@ c #EEF6FD",
|
||||
"x@ c #0E2A57",
|
||||
"y@ c #294669",
|
||||
"z@ c #7A9CCA",
|
||||
"A@ c #14305C",
|
||||
"B@ c #184278",
|
||||
"C@ c #A9C1DE",
|
||||
"D@ c #C8D3E1",
|
||||
"E@ c #173058",
|
||||
"F@ c #0B2857",
|
||||
"G@ c #334D63",
|
||||
"H@ c #FEFEFF",
|
||||
"I@ c #698BB9",
|
||||
"J@ c #122F5C",
|
||||
"K@ c #16315E",
|
||||
"L@ c #18335D",
|
||||
"M@ c #174279",
|
||||
"N@ c #B7CCE5",
|
||||
"O@ c #4A6283",
|
||||
"P@ c #132A51",
|
||||
"Q@ c #122A52",
|
||||
"R@ c #123B6F",
|
||||
"S@ c #A3B9D4",
|
||||
"T@ c #FAFEFF",
|
||||
"U@ c #E3EDF8",
|
||||
"V@ c #D2DFEE",
|
||||
"W@ c #F5FAFA",
|
||||
"X@ c #F2F8FE",
|
||||
"Y@ c #DDE5E4",
|
||||
"Z@ c #81A3D1",
|
||||
"`@ c #335583",
|
||||
" # c #0B2758",
|
||||
".# c #142C56",
|
||||
"+# c #183057",
|
||||
"@# c #1B345B",
|
||||
"## c #19335C",
|
||||
"$# c #18457C",
|
||||
"%# c #607794",
|
||||
"&# c #142F57",
|
||||
"*# c #10366A",
|
||||
"=# c #A3BCDC",
|
||||
"-# c #F2FBFF",
|
||||
";# c #F2FAFF",
|
||||
"># c #16355D",
|
||||
",# c #2A4665",
|
||||
"'# c #3F5871",
|
||||
")# c #465F78",
|
||||
"!# c #3E5874",
|
||||
"~# c #214371",
|
||||
"{# c #092B59",
|
||||
"]# c #0D2755",
|
||||
"^# c #162C52",
|
||||
"/# c #112A53",
|
||||
"(# c #0F2952",
|
||||
"_# c #172E54",
|
||||
":# c #1A3158",
|
||||
"<# c #19325A",
|
||||
"[# c #1A4378",
|
||||
"}# c #67809D",
|
||||
"|# c #0C325E",
|
||||
"1# c #143767",
|
||||
"2# c #F0F9FF",
|
||||
"3# c #0B254E",
|
||||
"4# c #102851",
|
||||
"5# c #112851",
|
||||
"6# c #14294E",
|
||||
"7# c #102953",
|
||||
"8# c #0D3165",
|
||||
"9# c #5376A5",
|
||||
"0# c #6C83A5",
|
||||
"a# c #0B2147",
|
||||
"b# c #13284C",
|
||||
"c# c #162B51",
|
||||
"d# c #193159",
|
||||
"e# c #113B6F",
|
||||
"f# c #607E9E",
|
||||
"g# c #0D3665",
|
||||
"h# c #193A67",
|
||||
"i# c #DFE9F8",
|
||||
"j# c #4B6E9F",
|
||||
"k# c #193D74",
|
||||
"l# c #0E2D5D",
|
||||
"m# c #0C2652",
|
||||
"n# c #0C254F",
|
||||
"o# c #0C2651",
|
||||
"p# c #103367",
|
||||
"q# c #1B4783",
|
||||
"r# c #4974AB",
|
||||
"s# c #ADC4E2",
|
||||
"t# c #081D44",
|
||||
"u# c #112548",
|
||||
"v# c #152D53",
|
||||
"w# c #1B4271",
|
||||
"x# c #5C7FA0",
|
||||
"y# c #0D3B6A",
|
||||
"z# c #163E6A",
|
||||
"A# c #204675",
|
||||
"B# c #D1E0F5",
|
||||
"C# c #ABC2E3",
|
||||
"D# c #8CA9D2",
|
||||
"E# c #7C9CCA",
|
||||
"F# c #7C9ECD",
|
||||
"G# c #8EAEDA",
|
||||
"H# c #ADC7EB",
|
||||
"I# c #D2E2F8",
|
||||
"J# c #122A4F",
|
||||
"K# c #17355D",
|
||||
"L# c #1A3C66",
|
||||
"M# c #487097",
|
||||
"N# c #104272",
|
||||
"O# c #16426E",
|
||||
"P# c #153C67",
|
||||
"Q# c #27548C",
|
||||
"R# c #1D4173",
|
||||
"S# c #143158",
|
||||
"T# c #163962",
|
||||
"U# c #183F6A",
|
||||
"V# c #1C416D",
|
||||
"W# c #275A94",
|
||||
"X# c #15426F",
|
||||
"Y# c #224D83",
|
||||
"Z# c #13365F",
|
||||
"`# c #2A5283",
|
||||
" . + ",
|
||||
" @ + @ # + + ",
|
||||
"$ + + % & * = - ; + ",
|
||||
" $ > , ' ) ! ~ { ] ^ / ( _ : < [ } | ",
|
||||
" 1 2 3 4 5 6 7 8 9 0 a b c d e f g h i j k l m ",
|
||||
" n o p q r s t u v w x y z z A z B C D E F G H I J ",
|
||||
" K L M N O P Q R R S T U V W X Y Z ` ...+.@.#.$. ",
|
||||
" %.N &.*.=.R -.;.>.,.>.>.'.).!.~.{.].^./.(._. ",
|
||||
" :.<.[.}.R |.>.>.>.>.>.>.>.>.>.>.1.2.3.4.5.6. ",
|
||||
" 7.8.9.x 0.>.>.>.>.>.>.>.>.>.>.>.a.b.c.d.e.f. ",
|
||||
" g.h.i.j.k.>.>.>.>.l.m.n.o.p.q.>.>.>.r.s.c t.u.v. ",
|
||||
" w.x. .y.>.>.>.>.z.A.B.C.D.E.F.G.>.>.>.H.I.J.K.L. ",
|
||||
" M.N.O.>.y.>.>.>.P.Q.R.R.D.S.T.U.V.W.>.>.>.X.Y.Z.`. ",
|
||||
" +.+++@+).>.>.#+$+%+&+*+=+-+;+>+,+'+)+>.>.!+~+{+]+^+ ",
|
||||
" /+(+_+:+<+>.>.[+}+|+1+2+}+3+4+5+6+7+8+>.>.>.9+0+a+b+ ",
|
||||
" c+[.d+e+>.>.>.f+g+h+i+j+k+l+m+n+o+p+q+>.>.>.r+s+t+u+ ",
|
||||
" v+d+d+w+>.>.>.x+y+z+A+B+C+D+E+F+G+H+I+>.>.>.J+K+L+M+ ",
|
||||
" N+O+P+Q+>.>.>.R+S+T+U+E+V+W+X+Y+Z+`+ @>.>.<+.@+@@@#@ ",
|
||||
" /+$@P+%@&@*@>.=@R+-@X+;@X+>@,@'@)@!@~@>.>.).{@]@^@/@ ",
|
||||
" (@_@:@<@[@*@>.>.}@|@1@2@3@4@5@,+6@7@>.>.>.y.>.8@9@ ",
|
||||
" 0@a@b@c@c@d@>.>.>.e@f@g@h@i@,+j@k@>.>.>.>.y.l@m@n@ ",
|
||||
" o@p@c@c@q@>.>.>.>.r@,@,@,@,@s@>.>.>.>.t@u@i.v@ ",
|
||||
" w@a@c@c@x@y@>.>.>.>.>.>.>.>.>.>.>.>.z@A@B@C@~. ",
|
||||
" D@E@c@c@F@G@>.>.>.>.>.>.H@H@H@>.I@J@K@L@M@N@ ",
|
||||
" O@P@P@Q@R@S@T@T@>.U@V@W@X@Y@Z@`@ #.#+#@###$# ",
|
||||
" %#&#&#P@*#=#-#;#m@>#,#'#)#!#~#{#]#^#/#(#_#:#<#[# ",
|
||||
" }#|#|## 2#D 3#4#c@c@c@c@5#6#7#8#9#0#a#b#c#d#e# ",
|
||||
" f#g#g#|#h# i#j#k#l#m#n#o#c@p#q#r#s# t#u#v#@+w# ",
|
||||
" x#y#z#g#A# B#C#D#E#F#G#H#I# x@J#K#L#2 ",
|
||||
"M#N#O#P#Q# R#S#T#U#V#",
|
||||
" W#X#W# Y#Z#S# ",
|
||||
" W# `# "};
|
||||
/* XPM */
|
||||
static const char *boinc32_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"32 32 58 1",
|
||||
"h c #FFCC33",
|
||||
" c None",
|
||||
"c c #FFC930",
|
||||
"s c #FFC931",
|
||||
"f c #FFC62E",
|
||||
"m c #FFC32C",
|
||||
"v c #FFC029",
|
||||
"u c #FFC02A",
|
||||
"X c #1E4D78",
|
||||
". c #1E4D79",
|
||||
"@ c #1E4A74",
|
||||
"> c #1E4A75",
|
||||
"& c #1E4771",
|
||||
"# c #1E446D",
|
||||
"9 c #1E446E",
|
||||
"- c #1E4169",
|
||||
"q c #1E416A",
|
||||
"e c #1E3E66",
|
||||
"8 c #1E3E67",
|
||||
"g c #FFCB32",
|
||||
"a c #FFC82F",
|
||||
"l c #FFC830",
|
||||
"k c #FFC52D",
|
||||
"n c #FFC52E",
|
||||
"z c #FFC22B",
|
||||
"i c #FFBF28",
|
||||
"t c #FFBF29",
|
||||
": c #1E4C77",
|
||||
"5 c #1E4973",
|
||||
"V c #1E4974",
|
||||
"7 c #1E466F",
|
||||
"% c #1E4670",
|
||||
"B c #1E436C",
|
||||
", c #1E436D",
|
||||
"N c #1E4068",
|
||||
"3 c #1E4069",
|
||||
"6 c #1E3D65",
|
||||
"1 c #1E3D66",
|
||||
"x c #FFCA31",
|
||||
"j c #FFCA32",
|
||||
"d c #FFC72F",
|
||||
"p c #FFC42D",
|
||||
"y c #FFC12A",
|
||||
"b c #FFC12B",
|
||||
"r c #FFBE28",
|
||||
"O c #1E4E79",
|
||||
"* c #1E4E7A",
|
||||
"+ c #1E4B76",
|
||||
"o c #1E4872",
|
||||
"= c #1E4873",
|
||||
"4 c #1E456E",
|
||||
"$ c #1E456F",
|
||||
"; c #1E426B",
|
||||
"0 c #1E426C",
|
||||
"2 c #1E3F67",
|
||||
"w c #1E3F68",
|
||||
"< c #1E3C64",
|
||||
"M c #1E3C65",
|
||||
/* pixels */
|
||||
" .X o ",
|
||||
" OX+@ #$%& ",
|
||||
"*X+@=% -;#$%&",
|
||||
".:>=%$, <<<<<<<< 123;,4%",
|
||||
":>5&$,;3 <<<<<<<<<<<<< <<623;,$",
|
||||
" 5&7#;38<<<<<<<<<<<<<< <<<<683; ",
|
||||
" 79;326<<<<<<<<<<<<< <<<<<<62 ",
|
||||
" 0qw6<<<<<<<<<<<<< <<<<<<<< ",
|
||||
" we<<<<<<< <<<<<<< ",
|
||||
" <<<<<< rr <<<<<<< ",
|
||||
" <<< rtyyyutr <<<<<< ",
|
||||
" e6 < iypassdpur <<<<<< ",
|
||||
" e<<< ryfghhhhjfur <<<<< ",
|
||||
" e<<< tkghhhhhhgpt <<<<< ",
|
||||
" 1<<< rylhhhhhhhhlur <<<<< ",
|
||||
" 21<<< rzxhhhhhhhhszr <<<<< ",
|
||||
" 21<<< rzxhhhhhhhhxzr <<<<< ",
|
||||
" 21<<< rychhhhhhhhlyr <<<<< ",
|
||||
" 1<<<< vfghhhhhhgkt <<<< ",
|
||||
" e<<<< rbdghhhhgdyr <<<< ",
|
||||
" e6<<<< ibfsjjcnyi < <<< ",
|
||||
" e6<<<<< ivbmmyvr <<< ",
|
||||
" 1<<<<<< rrrr <<<<< ",
|
||||
" w1<<<<< <<<<<<<< ",
|
||||
" 0-26<<<< <<<<<<<<<<<<<<<< ",
|
||||
" 7#;38M<< <<<<<<<<<<<<<<<<<e ",
|
||||
" 5&$,qNe< <<<<<<<<<<<<<<<<<eNq ",
|
||||
":>=%4BqN <<<<<<<<<<<<< <<6eNqB4",
|
||||
"X+@o%4B <<<<<<<<<< 623qB4%",
|
||||
"OX+Vo% 3;,4%%",
|
||||
" .:+V ,$%% ",
|
||||
" XX %& "
|
||||
};
|
||||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// Copyright (C) 2013 University of California
|
||||
// Copyright (C) 2013-2014 University of California
|
||||
//
|
||||
// BOINC is free software; you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License
|
||||
|
|
After Width: | Height: | Size: 43 KiB |
|
@ -1,39 +1,84 @@
|
|||
/* XPM */
|
||||
static const char *boincdisconnect_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 16 11 1",
|
||||
"@ c #F8BC1A",
|
||||
"+ c #293F64",
|
||||
". c None",
|
||||
"O c #ED9D00",
|
||||
"$ c #FFD93E",
|
||||
"& c #FF0000",
|
||||
"% c #FFD824",
|
||||
"o c #203C66",
|
||||
"X c #174A78",
|
||||
" c #0E588A",
|
||||
"# c #FFDE49",
|
||||
"16 16 56 1",
|
||||
"4 c #FFCC33",
|
||||
"o c None",
|
||||
"z c #B80306",
|
||||
"u c #990408",
|
||||
"s c #6E0000",
|
||||
"7 c #FFC62E",
|
||||
"e c #FFC32B",
|
||||
"p c #FFC32C",
|
||||
"c c #1A273F",
|
||||
"@ c #1E4D78",
|
||||
"M c #1E4D79",
|
||||
"X c #1E4A74",
|
||||
"# c #1E4A75",
|
||||
"$ c #1E4770",
|
||||
"+ c #1E4771",
|
||||
"f c #1E446D",
|
||||
"; c #1E446E",
|
||||
"n c #790000",
|
||||
": c #1E4169",
|
||||
"t c #810E03",
|
||||
"b c #070F19",
|
||||
"> c #1E3E66",
|
||||
"9 c #71380D",
|
||||
"r c #FFCB32",
|
||||
"q c #3C060B",
|
||||
"1 c #FFC52D",
|
||||
"6 c #FFC52E",
|
||||
"h c #730000",
|
||||
"< c #FFC22B",
|
||||
", c #FFBF28",
|
||||
"8 c #E7B82E",
|
||||
"g c #49060A",
|
||||
". c #1E4C77",
|
||||
"v c #1E4C78",
|
||||
"N c #1E4974",
|
||||
"= c #1E466F",
|
||||
"d c #800000",
|
||||
"O c #1E4670",
|
||||
"l c #162C4A",
|
||||
"j c #1E436C",
|
||||
"% c #1E436D",
|
||||
"i c #11223A",
|
||||
"k c #1E4068",
|
||||
"* c #1E4069",
|
||||
"- c #1E3D65",
|
||||
"5 c #1E3D66",
|
||||
"y c #FF0000",
|
||||
"3 c #FFCA31",
|
||||
"m c #192137",
|
||||
"a c #540000",
|
||||
"2 c #FFBE28",
|
||||
" c #1E4E79",
|
||||
"0 c #4E0000",
|
||||
"x c #CF0305",
|
||||
"& c #1E3C64",
|
||||
"w c #193254",
|
||||
/* pixels */
|
||||
" ............ ",
|
||||
" XX..........XX ",
|
||||
".Xoo..oooo..ooX.",
|
||||
"..ooooooo..ooo..",
|
||||
"...ooo....ooo...",
|
||||
"....o..OO..++...",
|
||||
"..o...O@@O..oo..",
|
||||
"..oo.O@##@......",
|
||||
"..oo.O@$%.&&&&..",
|
||||
"..oo..O@.&&&&&&.",
|
||||
"...++...&&&OO&&&",
|
||||
"...ooo..&&O$$O&&",
|
||||
"..ooo...&&O$$O&&",
|
||||
".ooo..o.&&&OO&&&",
|
||||
" oo......&&&&&&.",
|
||||
" ........&&&&.."
|
||||
" .XoooooooooooO+",
|
||||
"@#$%oo&&&&ooo*%=",
|
||||
"#+%*&&&&&&&o&-*%",
|
||||
"o;:-&&&&&&&&&&-o",
|
||||
"oo>&&&&ooo&&&&oo",
|
||||
"o>-&&,<11<2&&&&o",
|
||||
"o>&&o<3443<o&&&o",
|
||||
"o5&&26444412&&&o",
|
||||
"o5&&27444890qw&o",
|
||||
"o>&&oer48tyyyuio",
|
||||
"o>&&&,p79yyyyyao",
|
||||
"oo-&&&o2syyyyydo",
|
||||
"of*-&&&&gyyyyyho",
|
||||
"#+jk&&&&lzyyyxcj",
|
||||
"vXOjoo&&&bsdnmj=",
|
||||
"M.Noooooooooo%=O"
|
||||
};
|
||||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// Copyright (C) 2013 University of California
|
||||
// Copyright (C) 2013-2014 University of California
|
||||
//
|
||||
// BOINC is free software; you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License
|
||||
|
|
|
@ -0,0 +1,163 @@
|
|||
/* XPM */
|
||||
static const char *boincdisconnect32_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"32 32 109 2",
|
||||
"f c #FFCC33",
|
||||
" c None",
|
||||
"_ c #000001",
|
||||
"v c #FFC930",
|
||||
"p c #FFC931",
|
||||
"s c #FFC62E",
|
||||
"W c #0F0601",
|
||||
"D c #EF0000",
|
||||
"R c #FFC32C",
|
||||
"C c #FFC029",
|
||||
"r c #FFC02A",
|
||||
"! c #49360B",
|
||||
"-. c #0B1827",
|
||||
"[ c #200000",
|
||||
"O c #1E4D78",
|
||||
". c #1E4D79",
|
||||
"B c #09121F",
|
||||
"@ c #1E4A74",
|
||||
": c #1E4A75",
|
||||
"/ c #680000",
|
||||
"% c #1E4771",
|
||||
"$. c #11263E",
|
||||
"P c #9F0000",
|
||||
"- c #1E446D",
|
||||
"7 c #1E446E",
|
||||
"O. c #100102",
|
||||
") c #1E4169",
|
||||
"9 c #1E416A",
|
||||
"J c #090305",
|
||||
"q c #1E3E66",
|
||||
"6 c #1E3E67",
|
||||
"M c #400000",
|
||||
"d c #FFCB32",
|
||||
"*. c #BF0000",
|
||||
"&. c #180000",
|
||||
"o. c #172E4E",
|
||||
"i c #FFC82F",
|
||||
"k c #FFC830",
|
||||
"j c #FFC52D",
|
||||
"l c #FFC22B",
|
||||
"` c #600000",
|
||||
"y c #FFBF28",
|
||||
"e c #FFBF29",
|
||||
" . c #010306",
|
||||
"b c #E7B82E",
|
||||
"+. c #DF0000",
|
||||
"; c #1E4C77",
|
||||
":. c #1E4C78",
|
||||
"3 c #1E4973",
|
||||
">. c #1E4974",
|
||||
"c c #1B365B",
|
||||
"5 c #1E466F",
|
||||
"( c #800000",
|
||||
"$ c #1E4670",
|
||||
"n c #685113",
|
||||
"X. c #1E436C",
|
||||
"> c #1E436D",
|
||||
"@. c #EE0000",
|
||||
"{ c #1E4068",
|
||||
"1 c #1E4069",
|
||||
"4 c #1E3D65",
|
||||
"h c #1E3D66",
|
||||
"A c #201906",
|
||||
"m c #070501",
|
||||
";. c #0F2237",
|
||||
"F c #FF0000",
|
||||
".. c #0A1523",
|
||||
"H c #8F0000",
|
||||
"%. c #0A1524",
|
||||
"} c #050B12",
|
||||
"x c #2D2207",
|
||||
"z c #FFCA31",
|
||||
"g c #FFCA32",
|
||||
"=. c #D70000",
|
||||
"a c #FFC72F",
|
||||
"#. c #300000",
|
||||
"u c #FFC42D",
|
||||
"Z c #DFB22C",
|
||||
"t c #FFC12A",
|
||||
"L c #FFC12B",
|
||||
"] c #1A3457",
|
||||
"w c #FFBE28",
|
||||
"S c #780000",
|
||||
"| c #AF0000",
|
||||
"N c #080000",
|
||||
"U c #080001",
|
||||
"Y c #604B12",
|
||||
"K c #132742",
|
||||
"G c #F70000",
|
||||
"o c #1E4E79",
|
||||
"& c #1E4E7A",
|
||||
"~ c #500000",
|
||||
"+ c #1E4B76",
|
||||
"X c #1E4872",
|
||||
"* c #1E4873",
|
||||
"2 c #1E456E",
|
||||
"# c #1E456F",
|
||||
"= c #1E426B",
|
||||
"8 c #1E426C",
|
||||
"I c #CF0000",
|
||||
"< c #1E3F67",
|
||||
"0 c #1E3F68",
|
||||
"Q c #280000",
|
||||
"E c #EFB629",
|
||||
", c #1E3C64",
|
||||
"' c #1E3C65",
|
||||
"V c #193254",
|
||||
"^ c #700000",
|
||||
"T c #A70000",
|
||||
/* pixels */
|
||||
" . X ",
|
||||
" o O + @ # $ % ",
|
||||
"& O + @ * $ = - # $ $ ",
|
||||
". ; : * $ # > , , , , , , , , < 1 = > 2 $ ",
|
||||
"; : 3 % # > = 1 , , , , , , , , , , , , , , 4 < 1 = > # ",
|
||||
" 3 % 5 - = 1 6 , , , , , , , , , , , , , , , , , 4 6 1 = ",
|
||||
" 5 7 8 1 < 4 , , , , , , , , , , , , , , , , , , 4 < ",
|
||||
" 8 9 < 4 , , , , , , , , , , , , , , , , , , , , ",
|
||||
" 0 q , , , , , , , , , , , , , , ",
|
||||
" , , , , , , , , , , , , ",
|
||||
" , , , w e r t t r e w , , , , , , ",
|
||||
" q 4 , y t u i p p a u r w , , , , , , ",
|
||||
" q , , , w t s d f f f f g s r w , , , , , ",
|
||||
" h , , , e j d f f f f f f d u e , , , , , ",
|
||||
" h , , , t k f f f f f f f f k r , , , , ",
|
||||
" < h , , , w l z f f f f f f f f z l w , , , , , ",
|
||||
" < h , , , w l z f f f f f f f f z l x c , , , , ",
|
||||
" h , , , w t v f f f f f f f b n m M M M N B V , ",
|
||||
" h , , , , C s d f f f f f Z A S D F F F G H J K ",
|
||||
" q , , , , w L a d f f f b A P F F F F F F F I U ",
|
||||
" q 4 , , , , y L s p g g Y S F F F F F F F F F T ",
|
||||
" 4 , , , , w C L R E W G F F F F F F F F F F Q ",
|
||||
" h , , , , , , w w ! ~ F F F F F F F F F F F ^ ",
|
||||
" 0 h , , , , , / F F F F F F F F F F F ( ",
|
||||
" 8 ) < 4 , , , , , , , _ ` F F F F F F F F F F F S ",
|
||||
" 5 - = 1 6 ' , , , , , , ] [ F F F F F F F F F F F M ",
|
||||
" 3 % # > 9 { q , , , , , , , } | F F F F F F F F F I ... ",
|
||||
"; : * $ 2 X.9 { , , , , , , , o.O.+.F F F F F F F @.#.$.X.2 ",
|
||||
"O + @ X $ 2 X. , , , , , , %.&.*.F F F F F =.#.-.X.2 $ ",
|
||||
"o O + @ X $ M ( ( ( ~ ;.> 2 $ $ ",
|
||||
" . :.+ >. > # $ $ ",
|
||||
" O O $ % "
|
||||
};
|
||||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// Copyright (C) 2013-2014 University of California
|
||||
//
|
||||
// BOINC is free software; you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License
|
||||
// as published by the Free Software Foundation,
|
||||
// either version 3 of the License, or (at your option) any later version.
|
||||
//
|
||||
// BOINC is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
// See the GNU Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
After Width: | Height: | Size: 40 KiB |
|
@ -1,35 +1,67 @@
|
|||
/* XPM */
|
||||
static const char *boincsnooze_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"16 16 7 1",
|
||||
"@ c #F8BC1A",
|
||||
"+ c #293F64",
|
||||
". c None",
|
||||
"O c #ED9D00",
|
||||
"o c #203C66",
|
||||
"X c #174A78",
|
||||
" c #0E588A",
|
||||
"16 16 39 1",
|
||||
"4 c #FFCC33",
|
||||
"o c None",
|
||||
"7 c #FFC62E",
|
||||
"8 c #FFC32B",
|
||||
"w c #FFC32C",
|
||||
"@ c #1E4D78",
|
||||
"p c #1E4D79",
|
||||
"X c #1E4A74",
|
||||
"# c #1E4A75",
|
||||
"$ c #1E4770",
|
||||
"+ c #1E4771",
|
||||
"r c #1E446D",
|
||||
"; c #1E446E",
|
||||
": c #1E4169",
|
||||
"> c #1E3E66",
|
||||
"q c #32485E",
|
||||
"9 c #FFCB32",
|
||||
"0 c #948649",
|
||||
"1 c #FFC52D",
|
||||
"6 c #FFC52E",
|
||||
"< c #FFC22B",
|
||||
", c #FFBF28",
|
||||
". c #1E4C77",
|
||||
"u c #1E4C78",
|
||||
"a c #1E4974",
|
||||
"= c #1E466F",
|
||||
"O c #1E4670",
|
||||
"t c #1E436C",
|
||||
"% c #1E436D",
|
||||
"i c #8E834B",
|
||||
"y c #1E4068",
|
||||
"* c #1E4069",
|
||||
"- c #1E3D65",
|
||||
"5 c #1E3D66",
|
||||
"3 c #FFCA31",
|
||||
"2 c #FFBE28",
|
||||
"e c #A99645",
|
||||
" c #1E4E79",
|
||||
"& c #1E3C64",
|
||||
/* pixels */
|
||||
" ............ ",
|
||||
" XX..........XX ",
|
||||
".Xoo..oooo..ooX.",
|
||||
"..ooooooo..ooo..",
|
||||
"...ooo....ooo...",
|
||||
"....o..OO..++...",
|
||||
"..o...O@@O..oo..",
|
||||
"..oo.O@.........",
|
||||
"..oo.O@.ooooooo.",
|
||||
"..oo..O.ooooooo.",
|
||||
"...++...oo@o@oo.",
|
||||
"...ooo..oo@o@oo.",
|
||||
"..ooo...oo@o@oo.",
|
||||
".ooo..o.oo@o@oo.",
|
||||
" oo.....ooooooo.",
|
||||
" ......ooooooo."
|
||||
" .XoooooooooooO+",
|
||||
"@#$%oo&&&&ooo*%=",
|
||||
"#+%*&&&&&&&o&-*%",
|
||||
"o;:-&&&&&&&&&&-o",
|
||||
"oo>&&&&ooo&&&&oo",
|
||||
"o>-&&,<11<2&&&&o",
|
||||
"o>&&o<3443<o&&&o",
|
||||
"o5&&26444412&&&o",
|
||||
"o5&&27444462&&&o",
|
||||
"o>&&o89440q&&&&&",
|
||||
"o>&&&,w77q&e&e&&",
|
||||
"oo-&&&o22&&4&4&&",
|
||||
"or*-&&&&&&&4&4&&",
|
||||
"#+ty&&&&&&&4&4&&",
|
||||
"uXOtoo&&&&&i&i&&",
|
||||
"p.aoooooo&&&&&&&"
|
||||
};
|
||||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// Copyright (C) 2013 University of California
|
||||
// Copyright (C) 2013-2014 University of California
|
||||
//
|
||||
// BOINC is free software; you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License
|
||||
|
|
|
@ -0,0 +1,130 @@
|
|||
/* XPM */
|
||||
static const char *boincsnooze32_xpm[] = {
|
||||
/* columns rows colors chars-per-pixel */
|
||||
"32 32 76 1",
|
||||
"f c #FFCC33",
|
||||
" c Black",
|
||||
"m c #213D63",
|
||||
"x c #FFC930",
|
||||
"p c #FFC931",
|
||||
"s c #FFC62E",
|
||||
"V c #FFC32C",
|
||||
"v c #FFC029",
|
||||
"t c #FFC02A",
|
||||
"B c #4C5859",
|
||||
"I c #9C8C47",
|
||||
"U c #223E63",
|
||||
"Z c #7C774E",
|
||||
"O c #1E4D78",
|
||||
". c #1E4D79",
|
||||
"@ c #1E4A74",
|
||||
": c #1E4A75",
|
||||
"% c #1E4771",
|
||||
"Y c #2A4361",
|
||||
"- c #1E446D",
|
||||
"7 c #1E446E",
|
||||
"S c #1E4169",
|
||||
"9 c #1E416A",
|
||||
"q c #1E3E66",
|
||||
"6 c #1E3E67",
|
||||
"c c #1E3B63",
|
||||
"d c #FFCB32",
|
||||
"i c #FFC82F",
|
||||
"k c #FFC830",
|
||||
"h c #FFC52D",
|
||||
"M c #FFC52E",
|
||||
"C c #E4BA38",
|
||||
"l c #FFC22B",
|
||||
"y c #FFBF28",
|
||||
"e c #FFBF29",
|
||||
"A c #8D824B",
|
||||
"G c #ECBF36",
|
||||
"H c #817A4D",
|
||||
"; c #1E4C77",
|
||||
"3 c #1E4973",
|
||||
"E c #1E4974",
|
||||
"5 c #1E466F",
|
||||
"$ c #1E4670",
|
||||
"P c #525C57",
|
||||
"J c #1E436C",
|
||||
"> c #1E436D",
|
||||
"N c #8E834B",
|
||||
"F c #1E4068",
|
||||
"1 c #1E4069",
|
||||
"4 c #1E3D65",
|
||||
"j c #1E3D66",
|
||||
"R c #2D4660",
|
||||
"T c #213E63",
|
||||
"z c #FFCA31",
|
||||
"g c #FFCA32",
|
||||
"a c #FFC72F",
|
||||
"u c #FFC42D",
|
||||
"r c #FFC12A",
|
||||
"b c #FFC12B",
|
||||
"w c #FFBE28",
|
||||
"o c #1E4E79",
|
||||
"& c #1E4E7A",
|
||||
"+ c #1E4B76",
|
||||
"n c #2A4460",
|
||||
"X c #1E4872",
|
||||
"* c #1E4873",
|
||||
"2 c #1E456E",
|
||||
"# c #1E456F",
|
||||
"= c #1E426B",
|
||||
"8 c #1E426C",
|
||||
"< c #1E3F67",
|
||||
"0 c #1E3F68",
|
||||
"K c #1E3C63",
|
||||
", c #1E3C64",
|
||||
"D c #1E3C65",
|
||||
"L c #9B8B47",
|
||||
/* pixels */
|
||||
" . X ",
|
||||
" oO+@ #$% ",
|
||||
"&O+@*$ =-#$%",
|
||||
".;:*$#> ,,,,,,,, <1=>2$",
|
||||
";:3%#>=1 ,,,,,,,,,,,, ,,4<1=>#",
|
||||
" 3%5-=16,,,,,,,,,,,,, ,,,,461= ",
|
||||
" 57=1<4,,,,,,,,,,,, ,,,,,,4< ",
|
||||
" 8904,,,,,,,,,,,, ,,,,,,,, ",
|
||||
" 0q,,,,,,, ,,,,,,, ",
|
||||
" ,,,,, ,,,,,,, ",
|
||||
" ,,, werrrtew ,,,,,, ",
|
||||
" q4 , yruippautw ,,,,,, ",
|
||||
" q,,, wrsdffffgstw ,,,,, ",
|
||||
" q,,, ehdffffffdue ,,,,, ",
|
||||
" j,,, rkffffffffkt ,,,, ",
|
||||
" <j,,, wlzffffffffplw ,,,,, ",
|
||||
" <j,,, wlzffffffffzlw ,,,,, ",
|
||||
" j,,, wrxffffffffk,,,,,,,,,,c",
|
||||
" j,,,, vsdffffffd,,,,,,,,,,,,",
|
||||
" q,,,, wbadffffda,,,,nm,nm,,,",
|
||||
" q4,,,, ybspggxMr,,,,NB,NB,,,",
|
||||
" 4,,,, yvbVVrvw,,,,CZ,CZ,,,",
|
||||
" j,,,,,, wwww ,,,,fA,fA,,,",
|
||||
" 0j,,,,, ,,,,fN,fN,,,",
|
||||
" 8S<4,,,, ,,,,,,,,,,,fN,fN,,,",
|
||||
" 5-=16D,, ,,,,,,,,,,,,fA,fA,,,",
|
||||
" 3%#>9Fq, ,,,,,,,,,,,,,GH,GH,,,",
|
||||
";:*$2J9F ,,,,,,,,,,,,,KLP,IP,,,",
|
||||
"O+@X$2J ,,,,,,,,,,,UYT,RU,,,",
|
||||
"oO+EX$ ,,,,,,,,,,,,",
|
||||
" .;+E ,,,,,,,,,, ",
|
||||
" OO "
|
||||
};
|
||||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// Copyright (C) 2013-2014 University of California
|
||||
//
|
||||
// BOINC is free software; you can redistribute it and/or modify it
|
||||
// under the terms of the GNU Lesser General Public License
|
||||
// as published by the Free Software Foundation,
|
||||
// either version 3 of the License, or (at your option) any later version.
|
||||
//
|
||||
// BOINC is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
// See the GNU Lesser General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public License
|
||||
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
|
@ -88,21 +88,14 @@ CSimpleFrame::CSimpleFrame() {
|
|||
}
|
||||
|
||||
|
||||
CSimpleFrame::CSimpleFrame(wxString title, wxIcon* icon, wxIcon* icon32, wxPoint position, wxSize size) :
|
||||
CSimpleFrame::CSimpleFrame(wxString title, wxIconBundle* icons, wxPoint position, wxSize size) :
|
||||
CBOINCBaseFrame((wxFrame *)NULL, ID_SIMPLEFRAME, title, position, size,
|
||||
wxMINIMIZE_BOX | wxSYSTEM_MENU | wxCAPTION | wxCLOSE_BOX | wxCLIP_CHILDREN)
|
||||
{
|
||||
wxLogTrace(wxT("Function Start/End"), wxT("CSimpleFrame:: - Overloaded Constructor Function Begin"));
|
||||
|
||||
// Initialize Application
|
||||
#ifdef __WXMSW__
|
||||
SetIcons(wxICON(BOINCGUIAPP));
|
||||
#else
|
||||
wxIconBundle icons;
|
||||
icons.AddIcon(*icon);
|
||||
icons.AddIcon(*icon32);
|
||||
SetIcons(icons);
|
||||
#endif
|
||||
SetIcons(*icons);
|
||||
|
||||
CSkinAdvanced* pSkinAdvanced = wxGetApp().GetSkinManager()->GetAdvanced();
|
||||
wxString strMenuName;
|
||||
|
@ -567,7 +560,7 @@ void CSimpleFrame::OnReloadSkin(CFrameEvent& WXUNUSED(event)) {
|
|||
|
||||
m_pBackgroundPanel->ReskinInterface();
|
||||
SetTitle(pSkinAdvanced->GetApplicationName());
|
||||
SetIcon(*pSkinAdvanced->GetApplicationIcon());
|
||||
SetIcon(pSkinAdvanced->GetApplicationIcon()->GetIcon(wxDefaultSize));
|
||||
|
||||
wxLogTrace(wxT("Function Start/End"), wxT("CSimpleFrame::OnReloadSkin - Function End"));
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ class CSimpleFrame : public CBOINCBaseFrame
|
|||
|
||||
public:
|
||||
CSimpleFrame();
|
||||
CSimpleFrame(wxString title, wxIcon* icon, wxIcon* icon32, wxPoint position, wxSize size);
|
||||
CSimpleFrame(wxString title, wxIconBundle* icons, wxPoint position, wxSize size);
|
||||
|
||||
~CSimpleFrame();
|
||||
|
||||
|
|
|
@ -391,10 +391,7 @@ bool CDlgMessages::Create( wxWindow* parent, wxWindowID id, const wxString& capt
|
|||
SetTitle(strCaption);
|
||||
|
||||
// Initialize Application Icon
|
||||
wxIconBundle icons;
|
||||
icons.AddIcon(*pSkinAdvanced->GetApplicationIcon());
|
||||
icons.AddIcon(*pSkinAdvanced->GetApplicationIcon32());
|
||||
SetIcons(icons);
|
||||
SetIcons(*pSkinAdvanced->GetApplicationIcon());
|
||||
|
||||
Freeze();
|
||||
|
||||
|
|
|
@ -948,10 +948,7 @@ bool CDlgPreferences::Create( wxWindow* parent, wxWindowID id, const wxString& c
|
|||
SetTitle(strCaption);
|
||||
|
||||
// Initialize Application Icon
|
||||
wxIconBundle icons;
|
||||
icons.AddIcon(*pSkinAdvanced->GetApplicationIcon());
|
||||
icons.AddIcon(*pSkinAdvanced->GetApplicationIcon32());
|
||||
SetIcons(icons);
|
||||
SetIcons(*pSkinAdvanced->GetApplicationIcon());
|
||||
|
||||
Freeze();
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ IDI_MAIN_ICON ICON "res\\ce.ico"
|
|||
#elif defined(_WCG)
|
||||
IDI_MAIN_ICON ICON "res\\wcg.ico"
|
||||
#else
|
||||
IDI_MAIN_ICON ICON "res\\icon.ico"
|
||||
IDI_MAIN_ICON ICON "res\\boinc.ico"
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -36,7 +36,7 @@ IDI_MAIN_ICON ICON "res\\ce.ico"
|
|||
#elif defined(_WCG)
|
||||
IDI_MAIN_ICON ICON "res\\wcg.ico"
|
||||
#else
|
||||
IDI_MAIN_ICON ICON "res\\icon.ico"
|
||||
IDI_MAIN_ICON ICON "res\\boinc.ico"
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 89 KiB |
|
@ -288,6 +288,9 @@
|
|||
<Message>Checking boincmgr.exe dependencies</Message>
|
||||
<Command>"$(ProjectDir)\buildenv.cmd" devenvdir "$(DevEnvDir)" type "$(Configuration)" platform "$(Platform)" exec updatedepends.cmd</Command>
|
||||
</PostBuildEvent>
|
||||
<Manifest>
|
||||
<EnableDPIAwareness>false</EnableDPIAwareness>
|
||||
</Manifest>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\clientgui\res\BOINCGUIApp.ico" />
|
||||
|
|