mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
switched Want Delta menu to use new Qt menus
This commit is contained in:
parent
a1902e3dc9
commit
43e190fe3c
2 changed files with 7 additions and 0 deletions
|
@ -1035,6 +1035,10 @@ void Application::setWantsMonochrome(bool wantsMonochrome) {
|
|||
void Application::setWantsResIn(bool wantsResIn) {
|
||||
_myAvatar.setWantResIn(wantsResIn);
|
||||
}
|
||||
|
||||
void Application::setWantsDelta(bool wantsDelta) {
|
||||
_myAvatar.setWantDelta(wantsDelta);
|
||||
}
|
||||
|
||||
void Application::initMenu() {
|
||||
QMenuBar* menuBar = new QMenuBar();
|
||||
|
@ -1096,10 +1100,12 @@ void Application::initMenu() {
|
|||
debugMenu->addAction("Calculate Tree Stats", this, SLOT(doTreeStats()), Qt::SHIFT | Qt::Key_S);
|
||||
debugMenu->addAction("Wants Res-In", this, SLOT(setWantsResIn(bool)))->setCheckable(true);
|
||||
debugMenu->addAction("Wants Monochrome", this, SLOT(setWantsMonochrome(bool)))->setCheckable(true);
|
||||
debugMenu->addAction("Wants View Delta Sending", this, SLOT(setWantsDelta(bool)))->setCheckable(true);
|
||||
}
|
||||
|
||||
void Application::updateFrustumRenderModeAction() {
|
||||
switch (_frustumDrawingMode) {
|
||||
default:
|
||||
case FRUSTUM_DRAW_MODE_ALL:
|
||||
_frustumRenderModeAction->setText("Render Mode - All");
|
||||
break;
|
||||
|
|
|
@ -87,6 +87,7 @@ private slots:
|
|||
void doTreeStats();
|
||||
void setWantsMonochrome(bool wantsMonochrome);
|
||||
void setWantsResIn(bool wantsResIn);
|
||||
void setWantsDelta(bool wantsDelta);
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Reference in a new issue