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
8dd66a63
Commit
8dd66a63
authored
Aug 18, 2011
by
Sebastian Eichelbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DOC] - cleaned some doc
parent
df877080
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
src/modules/colormapper/WMColormapper.cpp
src/modules/colormapper/WMColormapper.cpp
+1
-4
src/qt4gui/qt4/WQtGLWidget.cpp
src/qt4gui/qt4/WQtGLWidget.cpp
+1
-2
No files found.
src/modules/colormapper/WMColormapper.cpp
View file @
8dd66a63
...
...
@@ -183,12 +183,9 @@ void WMColormapper::moduleMain()
boost
::
shared_ptr
<
WDataSetSingle
>
dataSet
=
m_input
->
getData
();
// add a colorbar
(HACK!)
// add a colorbar
if
(
dataSet
&&
dataSet
->
isTexture
()
)
{
// TODO(ebaum): this is not the best possible solution. Actually, its a hack.
// A nice solution would be some more abstract "widget" system
// create camera oriented 2d projection
m_barProjection
=
new
osg
::
Projection
();
m_barProjection
->
addUpdateCallback
(
new
WGENodeMaskCallback
(
m_showColorbar
)
);
...
...
src/qt4gui/qt4/WQtGLWidget.cpp
View file @
8dd66a63
...
...
@@ -264,7 +264,6 @@ void WQtGLWidget::keyReleaseEvent( QKeyEvent* event )
case
Qt
::
Key_2
:
setCameraManipulator
(
TWO_D
);
break
;
// TODO( ebaum ): replace this
case
Qt
::
Key_F12
:
makeScreenshot
();
break
;
...
...
@@ -381,7 +380,7 @@ void WQtGLWidget::changeBGColor()
void
WQtGLWidget
::
makeScreenshot
()
{
// TODO(
ebaum ): replace this
// TODO(
ebaum): replace this with the better screenshotter which resides in my branch
// grab content first to avoid making a screenshot of the file dialog :)
QPixmap
q
=
QPixmap
::
grabWindow
(
this
->
winId
()
);
...
...
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