qvolray
view src/ui_xferview.cc @ 34:e7c006b774ed
icons
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 15 Apr 2012 00:11:38 +0300 |
parents | 93d889a3726a |
children | 6ca076bf5084 |
line source
1 #include "ui_xferview.h"
2 #include "volray.h"
4 XFerGLView::XFerGLView(QGLWidget *share_widget)
5 : QGLWidget(QGLFormat(QGL::DoubleBuffer), 0, share_widget)
6 {
7 }
9 QSize XFerGLView::minimumSizeHint() const
10 {
11 return QSize(160, 100);
12 }
14 void XFerGLView::initializeGL()
15 {
16 }
18 void XFerGLView::resizeGL(int xsz, int ysz)
19 {
20 glViewport(0, 0, xsz, ysz);
21 }
23 void XFerGLView::paintGL()
24 {
25 volray_draw_xfer();
26 }