qvolray

annotate src/ui_xferview.cc @ 29:93d889a3726a

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 14 Apr 2012 20:52:53 +0300
parents
children 40df2cdc6323
rev   line source
nuclear@29 1 #include "ui_xferview.h"
nuclear@29 2 #include "volray.h"
nuclear@29 3
nuclear@29 4 XFerView::XFerView(QGLWidget *share_widget)
nuclear@29 5 : QGLWidget(QGLFormat(QGL::DoubleBuffer), 0, share_widget)
nuclear@29 6 {
nuclear@29 7 }
nuclear@29 8
nuclear@29 9 QSize XFerView::minimumSizeHint() const
nuclear@29 10 {
nuclear@29 11 return QSize(160, 100);
nuclear@29 12 }
nuclear@29 13
nuclear@29 14 void XFerView::initializeGL()
nuclear@29 15 {
nuclear@29 16 }
nuclear@29 17
nuclear@29 18 void XFerView::resizeGL(int xsz, int ysz)
nuclear@29 19 {
nuclear@29 20 glViewport(0, 0, xsz, ysz);
nuclear@29 21 }
nuclear@29 22
nuclear@29 23 void XFerView::paintGL()
nuclear@29 24 {
nuclear@29 25 volray_draw_xfer();
nuclear@29 26 }