mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-13 18:30:02 +01:00
working on GL
This commit is contained in:
@@ -150,7 +150,7 @@ AC_MainWindow::AC_MainWindow(QWidget *parent) : QMainWindow(parent) {
|
||||
define_window = new DefineWindow(this);
|
||||
define_window->hide();
|
||||
define_window->main_window = this;
|
||||
|
||||
gl_display = new glDisplayWindow();
|
||||
/*
|
||||
QString arg = "http://lostsidedead.com/ac/version.txt";
|
||||
QUrl url = QUrl::fromEncoded(arg.toLocal8Bit());
|
||||
@@ -510,6 +510,10 @@ void AC_MainWindow::createMenu() {
|
||||
controls_showvideo->setShortcut(tr("Ctrl+V"));
|
||||
controls_menu->addAction(controls_showvideo);
|
||||
|
||||
show_glDisplay = new QAction(tr("Show OpenGL Display"), this);
|
||||
show_glDisplay->setShortcut(tr("Ctrl+G"));
|
||||
connect(show_glDisplay, SIGNAL(triggered()), this, SLOT(showGLDisplay()));
|
||||
controls_menu->addAction(show_glDisplay);
|
||||
show_fullscreen = new QAction(tr("Enter Full Screen"), this);
|
||||
show_image_window = new QAction(tr("Show Image Window"), this);
|
||||
controls_menu->addAction(show_fullscreen);
|
||||
@@ -1758,3 +1762,7 @@ void AC_MainWindow::prev_filter() {
|
||||
filters->setCurrentIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
void AC_MainWindow::showGLDisplay() {
|
||||
gl_display->show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user