Commit eecb9f2c authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[CHANGE #538] improved icons

parent 3712bb3a
......@@ -39,7 +39,6 @@
#include "WCenterlineParameterization.h"
#include "WIntegrationParameterization.h"
#include "WMVoxelizer.h"
#include "WMVoxelizer.xpm"
#include "WRasterAlgorithm.h"
#include "core/common/WColor.h"
#include "core/common/WLogger.h"
......@@ -81,11 +80,6 @@ std::shared_ptr< WModule > WMVoxelizer::factory() const
return std::shared_ptr< WModule >( new WMVoxelizer() );
}
const char** WMVoxelizer::getXPMIcon() const
{
return voxelizer_xpm;
}
void WMVoxelizer::properties()
{
m_antialiased = m_properties->addProperty( "Antialiasing", "Enable/disable antialiased rasterization of voxels.", true, m_fullUpdate );
......
......@@ -86,12 +86,6 @@ public:
*/
virtual std::shared_ptr< WModule > factory() const;
/**
* Get the icon for this module in XPM format.
* \return The icon.
*/
virtual const char** getXPMIcon() const;
protected:
/**
* Entry point after loading the module. Runs in separate thread.
......
/* XPM */
static const char * voxelizer_xpm[] = {
"16 16 4 1",
" c None",
". c #FFFFFF",
"+ c #000000",
"@ c #A0A0A0",
".........+++++++",
".........+@@+@@+",
".........+@@+@@+",
"......++++++++++",
"......+@@+@@+...",
"......+@@+@@+...",
"...++++++++++...",
"...+@@+..+@@+...",
"...+@@+..+@@+...",
"+++++++..+++++++",
"+@@+.....+@@+@@+",
"+@@+.....+@@+@@+",
"++++.....+++++++",
"+@@+............",
"+@@+............",
"++++............"};
//---------------------------------------------------------------------------
//
// Project: OpenWalnut ( http://www.openwalnut.org )
//
// Copyright 2021 OpenWalnut Community
// For more information see http://www.openwalnut.org/copying
//
// This file is part of OpenWalnut.
//
// OpenWalnut 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.
//
// OpenWalnut 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 OpenWalnut. If not, see <http://www.gnu.org/licenses/>.
//
//---------------------------------------------------------------------------
// Provide additional material and descriptions for your module. You can
// provide this for multiple modules if you like.
// NOTE: everything but the module name is optional, even if this makes no
// sense at all.
"Voxelizer"
{
icon="WMVoxelizer.png";
};
//---------------------------------------------------------------------------
//
// Project: OpenWalnut ( http://www.openwalnut.org )
//
// Copyright 2013 OpenWalnut Community, BSV@Uni-Leipzig and CNCF@MPI-CBS
// For more information see http://www.openwalnut.org/copying
//
// This file is part of OpenWalnut.
//
// OpenWalnut 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.
//
// OpenWalnut 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 OpenWalnut. If not, see <http://www.gnu.org/licenses/>.
//
//---------------------------------------------------------------------------
// Provide additional material and descriptions for your module. You can
// provide this for multiple modules if you like.
// NOTE: everything but the module name is optional, even if this makes no
// sense at all.
"Filter Proton Data"
{
icon="proton_module_icon2.png";
};
"common"
{
pdgnames = "PDGEncodingNameMap.txt";
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment