Mercurial > hg > aimc
diff src/Modules/Output/Graphics/GraphicsViewTime.cc @ 121:3cdaa81c3aca
- Massive refactoring to make module tree stuff work. In theory we now support configuration files again. The graphics stuff is untested as yet.
author | tomwalters |
---|---|
date | Mon, 18 Oct 2010 04:42:28 +0000 |
parents | 18237d55e346 |
children | a9cb396529c2 |
line wrap: on
line diff
--- a/src/Modules/Output/Graphics/GraphicsViewTime.cc Sun Oct 17 02:42:12 2010 +0000 +++ b/src/Modules/Output/Graphics/GraphicsViewTime.cc Mon Oct 18 04:42:28 2010 +0000 @@ -36,6 +36,10 @@ GraphicsViewTime::GraphicsViewTime(Parameters *pParam) : GraphicsView(pParam) { + module_description_ = "Graphics output."; + module_identifier_ = "graphics_time"; + module_type_ = "output"; + module_version_ = "$Id: $"; } GraphicsViewTime *GraphicsViewTime::Clone(GraphicsOutputDevice *pDev) { @@ -75,11 +79,11 @@ m_pAxisFreq->m_pScale->getName()); m_pDev->gText2f(0.0025f, 0.35f, sTxt, true); snprintf(sTxt, sizeof(sTxt) / sizeof(sTxt[0]), - _S("%s [%.2f..%.2f ms, %s scale]"), - m_pAxisX->m_sLabel ? m_pAxisX->m_sLabel : "", - m_pAxisX->m_fMin, - m_pAxisX->m_fMax, - m_pAxisX->m_pScale->getName()); + _S("%s [%.2f..%.2f ms, %s scale]"), + m_pAxisX->m_sLabel ? m_pAxisX->m_sLabel : "", + m_pAxisX->m_fMin, + m_pAxisX->m_fMax, + m_pAxisX->m_pScale->getName()); m_pDev->gText2f(m_fMarginLeft, 0.0025f, sTxt, false);