много исправлений
This commit is contained in:
20
glwidget.cpp
20
glwidget.cpp
@@ -35,11 +35,6 @@ GLWidget::GLWidget(QWidget *parent) : QWidget(parent) {
|
||||
}
|
||||
|
||||
|
||||
QColor GLWidget::backColor() const {
|
||||
return view_->backColor();
|
||||
}
|
||||
|
||||
|
||||
qreal GLWidget::lineWidth() const {
|
||||
return view_->lineWidth();
|
||||
}
|
||||
@@ -55,11 +50,6 @@ qreal GLWidget::depthStart() const {
|
||||
}
|
||||
|
||||
|
||||
QColor GLWidget::ambientColor() const {
|
||||
return view_->ambientColor();
|
||||
}
|
||||
|
||||
|
||||
bool GLWidget::isLightEnabled() const {
|
||||
return view_->isLightEnabled();
|
||||
}
|
||||
@@ -146,11 +136,6 @@ void GLWidget::start(float freq) {
|
||||
}
|
||||
|
||||
|
||||
void GLWidget::setBackColor(const QColor & c) {
|
||||
view_->setBackColor(c);
|
||||
}
|
||||
|
||||
|
||||
void GLWidget::setLineWidth(const qreal & arg) {
|
||||
view_->setLineWidth(arg);
|
||||
}
|
||||
@@ -166,11 +151,6 @@ void GLWidget::setDepthStart(const qreal & arg) {
|
||||
}
|
||||
|
||||
|
||||
void GLWidget::setAmbientColor(const QColor & arg) {
|
||||
view_->setAmbientColor(arg);
|
||||
}
|
||||
|
||||
|
||||
void GLWidget::setLightEnabled(const bool & arg) {
|
||||
view_->setLightEnabled(arg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user