mirror of https://github.com/BOINC/boinc.git
Fixing ProjectInfoPage changes requested by @JuhaSointusalo
Commented out the unused first generation icons Fixed nvidia detection bug Updated copyright and licensing for all files touched by this PR
This commit is contained in:
parent
719a26b770
commit
e7fc8ff72e
|
@ -1,6 +1,6 @@
|
|||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// Copyright (C) 2008 University of California
|
||||
// https://boinc.berkeley.edu
|
||||
// Copyright (C) 2018 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
|
||||
|
@ -13,7 +13,7 @@
|
|||
// 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/>.
|
||||
// along with BOINC. If not, see <https://www.gnu.org/licenses/>.
|
||||
//
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma implementation "ProjectInfoPage.h"
|
||||
|
@ -45,9 +45,9 @@
|
|||
#include "res/androidicon.xpm"
|
||||
#include "res/freebsdicon.xpm"
|
||||
#include "res/linuxarmicon2.xpm"
|
||||
#include "res/atiicon.xpm"
|
||||
// #include "res/atiicon.xpm"
|
||||
#include "res/amdicon2.xpm"
|
||||
#include "res/nvidiaicon.xpm"
|
||||
// #include "res/nvidiaicon.xpm"
|
||||
#include "res/nvidiaicon2.xpm"
|
||||
#include "res/intelgpuicon2.xpm"
|
||||
#include "res/virtualboxicon.xpm"
|
||||
|
@ -465,21 +465,21 @@ wxBitmap CProjectInfoPage::GetBitmapResource( const wxString& name )
|
|||
wxBitmap bitmap(linuxarmicon2_xpm);
|
||||
return bitmap;
|
||||
}
|
||||
else if (name == wxT("atiicon.xpm"))
|
||||
{
|
||||
wxBitmap bitmap(atiicon_xpm);
|
||||
return bitmap;
|
||||
}
|
||||
// else if (name == wxT("atiicon.xpm"))
|
||||
// {
|
||||
// wxBitmap bitmap(atiicon_xpm);
|
||||
// return bitmap;
|
||||
// }
|
||||
else if (name == wxT("amdicon2.xpm"))
|
||||
{
|
||||
wxBitmap bitmap(amdicon2_xpm);
|
||||
return bitmap;
|
||||
}
|
||||
else if (name == wxT("nvidiaicon.xpm"))
|
||||
{
|
||||
wxBitmap bitmap(nvidiaicon_xpm);
|
||||
return bitmap;
|
||||
}
|
||||
// else if (name == wxT("nvidiaicon.xpm"))
|
||||
// {
|
||||
// wxBitmap bitmap(nvidiaicon_xpm);
|
||||
// return bitmap;
|
||||
// }
|
||||
else if (name == wxT("nvidiaicon2.xpm"))
|
||||
{
|
||||
wxBitmap bitmap(nvidiaicon2_xpm);
|
||||
|
@ -724,7 +724,7 @@ void CProjectInfoPage::OnPageChanged( wxWizardExEvent& event ) {
|
|||
}
|
||||
|
||||
if (strProjectPlanClass.Find(_T("nvidia")) != wxNOT_FOUND) {
|
||||
pProjectInfo->m_bProjectSupportsIntelGPU = true;
|
||||
pProjectInfo->m_bProjectSupportsCUDA = true;
|
||||
if (!pDoc->state.host_info.coprocs.have_nvidia()) continue;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// Copyright (C) 2008 University of California
|
||||
// https://boinc.berkeley.edu
|
||||
// Copyright (C) 2018 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
|
||||
|
@ -13,7 +13,7 @@
|
|||
// 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/>.
|
||||
// along with BOINC. If not, see <https://www.gnu.org/licenses/>.
|
||||
//
|
||||
#ifndef BOINC_PROJECTINFOPAGE_H
|
||||
#define BOINC_PROJECTINFOPAGE_H
|
||||
|
|
|
@ -291,7 +291,7 @@ static char *amdicon2_xpm[] = {
|
|||
"o+p+q+r+s+t+u+v+w+x+y+z+A+B+C+D+E+F+G+",
|
||||
"H+I+J+K+L+M+N+O+P+Q+R+S+T+a+U+V+W+X+H+"};
|
||||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// https://boinc.berkeley.edu
|
||||
// Copyright (C) 2018 University of California
|
||||
//
|
||||
// BOINC is free software; you can redistribute it and/or modify it
|
||||
|
@ -305,4 +305,4 @@ static char *amdicon2_xpm[] = {
|
|||
// 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/>.
|
||||
// along with BOINC. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
|
|
@ -157,7 +157,7 @@ static char *intelgpuicon2_xpm[] = {
|
|||
"6.7.M 8.9.0.a.b.8.M M 7.c.",
|
||||
"d.e.f.f.f.f.f.f.f.f.f.g.h."};
|
||||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// https://boinc.berkeley.edu
|
||||
// Copyright (C) 2018 University of California
|
||||
//
|
||||
// BOINC is free software; you can redistribute it and/or modify it
|
||||
|
@ -171,4 +171,4 @@ static char *intelgpuicon2_xpm[] = {
|
|||
// 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/>.
|
||||
// along with BOINC. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
|
|
@ -170,7 +170,7 @@ static char *linuxarmicon2_xpm[] = {
|
|||
"h.i.j.k.l.m.. n.o.p.. q.r.s.t.u.",
|
||||
" % "};
|
||||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// https://boinc.berkeley.edu
|
||||
// Copyright (C) 2018 University of California
|
||||
//
|
||||
// BOINC is free software; you can redistribute it and/or modify it
|
||||
|
@ -184,4 +184,4 @@ static char *linuxarmicon2_xpm[] = {
|
|||
// 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/>.
|
||||
// along with BOINC. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
|
|
@ -188,7 +188,7 @@ static char *nvidiaicon2_xpm[] = {
|
|||
"'.2.i.j.2.k.l.m.8.9.0.a.n.o.~.e.p.q.r.s.t.u.",
|
||||
"v.w.x.y. z.A.B.C.D.E.v.A.d.F.G.H.I.J.K.L.M."};
|
||||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// https://boinc.berkeley.edu
|
||||
// Copyright (C) 2018 University of California
|
||||
//
|
||||
// BOINC is free software; you can redistribute it and/or modify it
|
||||
|
@ -202,4 +202,4 @@ static char *nvidiaicon2_xpm[] = {
|
|||
// 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/>.
|
||||
// along with BOINC. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// https://boinc.berkeley.edu
|
||||
// Copyright (C) 2018 University of California
|
||||
//
|
||||
// BOINC is free software; you can redistribute it and/or modify it
|
||||
|
@ -13,7 +13,7 @@
|
|||
// 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/>.
|
||||
// along with BOINC. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
// a C++ interface to BOINC GUI RPC
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// This file is part of BOINC.
|
||||
// http://boinc.berkeley.edu
|
||||
// https://boinc.berkeley.edu
|
||||
// Copyright (C) 2018 University of California
|
||||
//
|
||||
// BOINC is free software; you can redistribute it and/or modify it
|
||||
|
@ -13,7 +13,7 @@
|
|||
// 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/>.
|
||||
// along with BOINC. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
// This file contains:
|
||||
// 1) functions to clear and parse the various structs
|
||||
|
|
Loading…
Reference in New Issue