qvolray

diff src/ui_xferview.cc @ 30:40df2cdc6323

transfer function window
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 14 Apr 2012 22:10:30 +0300
parents 93d889a3726a
children 6ca076bf5084
line diff
     1.1 --- a/src/ui_xferview.cc	Sat Apr 14 20:52:53 2012 +0300
     1.2 +++ b/src/ui_xferview.cc	Sat Apr 14 22:10:30 2012 +0300
     1.3 @@ -1,26 +1,26 @@
     1.4  #include "ui_xferview.h"
     1.5  #include "volray.h"
     1.6  
     1.7 -XFerView::XFerView(QGLWidget *share_widget)
     1.8 +XFerGLView::XFerGLView(QGLWidget *share_widget)
     1.9  	: QGLWidget(QGLFormat(QGL::DoubleBuffer), 0, share_widget)
    1.10  {
    1.11  }
    1.12  
    1.13 -QSize XFerView::minimumSizeHint() const
    1.14 +QSize XFerGLView::minimumSizeHint() const
    1.15  {
    1.16  	return QSize(160, 100);
    1.17  }
    1.18  
    1.19 -void XFerView::initializeGL()
    1.20 +void XFerGLView::initializeGL()
    1.21  {
    1.22  }
    1.23  
    1.24 -void XFerView::resizeGL(int xsz, int ysz)
    1.25 +void XFerGLView::resizeGL(int xsz, int ysz)
    1.26  {
    1.27  	glViewport(0, 0, xsz, ysz);
    1.28  }
    1.29  
    1.30 -void XFerView::paintGL()
    1.31 +void XFerGLView::paintGL()
    1.32  {
    1.33  	volray_draw_xfer();
    1.34  }