Added the return address information in the call stack
[clinton/Virtual-Jaguar-Rx.git] / src / debugger / VideoWin.cpp
1 //
2 // VideoWin.cpp: Windows video display
3 //
4 // by Jean-Paul Mari
5 //
6 // JPM = Jean-Paul Mari <djipi.mari@gmail.com>
7 //
8 // WHO WHEN WHAT
9 // --- ---------- ------------------------------------------------------------
10 // JPM 06/23/2016 Created this file
11
12 #include "VideoWin.h"
13 //#include "mainwin.h"
14
15
16 //
17 VideoOutputWindow::VideoOutputWindow(QWidget * parent/*= 0*/) : QWidget(parent),
18 layout(new QHBoxLayout), text(new QLabel)
19 {
20 setWindowTitle(tr("Video windows"));
21 //setCentralWidget(videoWidget);
22
23 // QFont fixedFont("Lucida Console", 8, QFont::Normal);
24 // QFont fixedFont("", 8, QFont::Normal);
25 // fixedFont.setStyleHint(QFont::TypeWriter);
26 // text->setFont(fixedFont);
27 // setLayout(layout);
28
29 // layout->addWidget(text);
30
31 QWidget* myWidget = new QWidget;
32 myWidget->setStyleSheet("QWidget{ background: red; }");
33
34 GLWidget *glWidget = new GLWidget;
35 //QHBoxLayout *mainLayout = new QHBoxLayout;
36 layout->addWidget(myWidget);
37 layout->setContentsMargins(100, 100, 100, 100);
38 setLayout(layout);
39 }
40
41
42 // Refresh / Display the window contents
43 void VideoOutputWindow::RefreshContents(GLWidget *Lt)
44 {
45 layout->addWidget(Lt);
46 setLayout(layout);
47 // QString memDump;
48
49 // memDump += QString("Test");
50
51 // text->clear();
52 // text->setText(memDump);
53 }
54
55
56 //
57 VideoOutputWindow::~VideoOutputWindow()
58 {
59 }