Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
381165db
Commit
381165db
authored
Aug 04, 2010
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ADD] icon for WMContourTree
parent
2ca25853
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
0 deletions
+48
-0
src/modules/contourTree/WMContourTree.cpp
src/modules/contourTree/WMContourTree.cpp
+6
-0
src/modules/contourTree/WMContourTree.h
src/modules/contourTree/WMContourTree.h
+5
-0
src/modules/contourTree/contourTree.xpm
src/modules/contourTree/contourTree.xpm
+37
-0
No files found.
src/modules/contourTree/WMContourTree.cpp
View file @
381165db
...
...
@@ -35,6 +35,7 @@
#include "../../dataHandler/datastructures/WJoinContourTree.h"
#include "../../kernel/WKernel.h"
#include "WMContourTree.h"
#include "contourTree.xpm"
// This line is needed by the module loader to actually find your module.
W_LOADABLE_MODULE
(
WMContourTree
)
...
...
@@ -53,6 +54,11 @@ boost::shared_ptr< WModule > WMContourTree::factory() const
return
boost
::
shared_ptr
<
WModule
>
(
new
WMContourTree
()
);
}
const
char
**
WMContourTree
::
getXPMIcon
()
const
{
return
contourTree_xpm
;
}
const
std
::
string
WMContourTree
::
getName
()
const
{
return
"Contour Tree"
;
...
...
src/modules/contourTree/WMContourTree.h
View file @
381165db
...
...
@@ -77,6 +77,11 @@ public:
*/
virtual
boost
::
shared_ptr
<
WModule
>
factory
()
const
;
/**
* Get the icon for this module in XPM format.
*/
virtual
const
char
**
getXPMIcon
()
const
;
protected:
/**
* Entry point after loading the module. Runs in separate thread.
...
...
src/modules/contourTree/contourTree.xpm
0 → 100644
View file @
381165db
/* XPM */
static const char * contourTree_xpm[] = {
"32 32 2 1",
" c None",
". c #000000",
" ",
" ... ",
" ..... ",
" ..... ",
" ..... ",
" .... ",
" . . ",
" .. . ",
" . ..... ",
" .. .... ",
" . .... ",
" .. .... ",
" ... ... ",
" ..... . . ",
" ..... . . ",
" ..... ... .. ",
" ... ..... . ",
" . . ..... . ",
" .. .. ..... .. ",
" . . ... . ",
" . .. . ",
" .. . .. ",
" . .... .... ",
" ... .... .... ",
" ..... .... .... ",
" ..... .... .... ",
" ..... .. ",
" ... ",
" ",
" ",
" ",
" "};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment