History

Add new help.html info window

Ryan Huffman committed 10 years ago

Commit 26545b21 parent 476ccad5 files · +72 −0Browse files

Showing the changes to interface/src/Application.cpp (1 of 5 files). Show all

Unified · Split

interface/src/Application.cpp+4−3
@@ -198,8 +198,9 @@ static const float MIRROR_FIELD_OF_VIEW = 30.0f; · 197 unmodified lines
198 198
199static const quint64 TOO_LONG_SINCE_LAST_SEND_DOWNSTREAM_AUDIO_STATS = 1 * USECS_PER_SECOND;199static const quint64 TOO_LONG_SINCE_LAST_SEND_DOWNSTREAM_AUDIO_STATS = 1 * USECS_PER_SECOND;
200 200
201static const QString INFO_HELP_PATH = "html/interface-welcome.html";201static const QString INFO_WELCOME_PATH = "html/interface-welcome.html";
202static const QString INFO_EDIT_ENTITIES_PATH = "html/edit-commands.html";202static const QString INFO_EDIT_ENTITIES_PATH = "html/edit-commands.html";
203static const QString INFO_HELP_PATH = "html/help.html";
203 204
204static const unsigned int THROTTLED_SIM_FRAMERATE = 15;205static const unsigned int THROTTLED_SIM_FRAMERATE = 15;
205static const int THROTTLED_SIM_FRAME_PERIOD_MS = MSECS_PER_SECOND / THROTTLED_SIM_FRAMERATE;206static const int THROTTLED_SIM_FRAME_PERIOD_MS = MSECS_PER_SECOND / THROTTLED_SIM_FRAMERATE;
@@ -1999,11 +2000,11 @@ void Application::setFieldOfView(float fov) { · 1793 unmodified lines
1999}2000}
2000 2001
2001void Application::aboutApp() {2002void Application::aboutApp() {
2002 InfoView::show(INFO_HELP_PATH);2003 InfoView::show(INFO_WELCOME_PATH);
2003}2004}
2004 2005
2005void Application::showHelp() {2006void Application::showHelp() {
2006 InfoView::show(INFO_EDIT_ENTITIES_PATH);2007 InfoView::show(INFO_HELP_PATH);
2007}2008}
2008 2009
2009void Application::resizeEvent(QResizeEvent* event) {2010void Application::resizeEvent(QResizeEvent* event) {