Add option to show frame

This commit is contained in:
WarmUpTill
2021-07-18 18:05:31 +02:00
committed by WarmUpTill
parent 7cf7fd6112
commit 7200668158
3 changed files with 51 additions and 2 deletions

View File

@@ -50,6 +50,7 @@ private slots:
void MaxXChanged(int pos);
void MaxYChanged(int pos);
void UpdateCursorPos();
void ToggleFrame();
protected:
QSpinBox *_minX;
@@ -57,12 +58,15 @@ protected:
QSpinBox *_maxX;
QSpinBox *_maxY;
QComboBox *_conditions;
QPushButton *_frameToggle;
QLabel *_xPos;
QLabel *_yPos;
std::shared_ptr<MacroConditionCursor> _entryData;
private:
void SetRegionSelectionVisible(bool);
void SetupFrame();
QTimer _timer;
QFrame _frame;
bool _loading = true;
};