Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oliver Behnke
graphicsframework
Commits
85c6dc28
Commit
85c6dc28
authored
May 05, 2011
by
Oliver Bock
Browse files
Use generic label for power spectrum visualization
parent
a19beb8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/starsphere/StarsphereRadio.cpp
View file @
85c6dc28
...
...
@@ -66,7 +66,7 @@ void StarsphereRadio::initialize(const int width, const int height, const Resour
m_PowerSpectrumAxesWidth
=
2.0
;
m_PowerSpectrumBinWidth
=
3.0
;
m_PowerSpectrumBinDistance
=
2.0
;
m_PowerSpectrumLabelXOffset
=
(
m_PowerSpectrumWidth
-
1
2
0.0
)
/
2
;
m_PowerSpectrumLabelXOffset
=
(
m_PowerSpectrumWidth
-
1
5
0.0
)
/
2
;
m_PowerSpectrumLabelYOffset
=
15.0
;
m_PowerSpectrumLabelXPos
=
m_PowerSpectrumXPos
+
m_PowerSpectrumLabelXOffset
;
m_PowerSpectrumLabelYPos
=
m_PowerSpectrumYPos
-
m_PowerSpectrumLabelYOffset
;
...
...
@@ -227,7 +227,7 @@ void StarsphereRadio::renderSearchInformation()
m_FontText
->
draw
(
m_XStartPosRight
,
m_Y6StartPosBottom
,
m_WUTemplateOrbitalPhase
.
c_str
());
// power spectrum label
m_FontText
->
draw
(
m_PowerSpectrumLabelXPos
,
m_PowerSpectrumLabelYPos
,
"
Arecibo
Power Spectrum"
);
m_FontText
->
draw
(
m_PowerSpectrumLabelXPos
,
m_PowerSpectrumLabelYPos
,
"
Radio Signal
Power Spectrum"
);
// disable opt-in quality feature for power spectrum
if
(
m_QualitySetting
==
BOINCClientAdapter
::
HighGraphicsQualitySetting
)
{
...
...
Write
Preview
Supports
Markdown
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