Settings Added

This commit is contained in:
mwalker33 committed 2020-04-10 15:04:11 +10:00
1 parent 070636f196
commit 1b8b8f0128
5 files changed
+143 -112

No files matched your search

+6 -1
View File
@@ -26,6 +26,7 @@
#include <string.h>
#include "proxgui.h"
#include <QtGui>
#include "ui.h"
extern "C" {
#include "util_darwin.h"
@@ -168,7 +169,11 @@ void ProxWidget::vchange_dthr_down(int v) {
}
ProxWidget::ProxWidget(QWidget *parent, ProxGuiQT *master) : QWidget(parent) {
this->master = master;
resize(800, 400);
// Set the initail postion and size from settings
if (session.settings_loaded)
setGeometry (session.window_plot_xpos,session.window_plot_ypos,session.window_plot_wsize,session.window_plot_hsize);
else
resize(800, 400);
// Setup the controller widget
controlWidget = new QWidget();