diff --git a/Source/Fractorium/Fractorium.cpp b/Source/Fractorium/Fractorium.cpp
index a75172c..637fa5e 100644
--- a/Source/Fractorium/Fractorium.cpp
+++ b/Source/Fractorium/Fractorium.cpp
@@ -234,7 +234,7 @@ Fractorium::~Fractorium()
{
SyncSequenceSettings();
m_VarDialog->SyncSettings();
- m_Settings->ShowXforms(ui.ActionDrawPreAffines->isChecked() || ui.ActionDrawPostAffines->isChecked());
+ m_Settings->ShowXforms(ui.ActionDrawPreAffines->isChecked() || ui.ActionDrawPostAffines->isChecked());
m_Settings->ShowGrid(ui.ActionDrawGrid->isChecked());
m_Settings->setValue("windowState", saveState());
m_Settings->sync();
@@ -487,6 +487,10 @@ bool Fractorium::eventFilter(QObject* o, QEvent* e)
return true;
}
+ else if (!DrawXforms())//Everything below this must be for editing xforms via key press.
+ {
+ return true;
+ }
else if (ke->key() == Qt::Key_W)
{
wcount++;
@@ -1079,8 +1083,6 @@ void Fractorium::SetTabOrders()
w = SetTabOrder(this, w, ui.PreScaleCombo);
w = SetTabOrder(this, w, ui.PreScaleUpButton);
w = SetTabOrder(this, w, ui.PreRandomButton);
- w = SetTabOrder(this, w, ui.ShowPreAffineSelectedRadio);
- w = SetTabOrder(this, w, ui.ShowPreAffineAllRadio);
w = SetTabOrder(this, w, ui.SwapAffinesButton);
w = SetTabOrder(this, w, ui.PostAffineGroupBox);
w = SetTabOrder(this, w, m_PostX1Spin);
@@ -1108,8 +1110,6 @@ void Fractorium::SetTabOrders()
w = SetTabOrder(this, w, ui.PostScaleCombo);
w = SetTabOrder(this, w, ui.PostScaleUpButton);
w = SetTabOrder(this, w, ui.PostRandomButton);
- w = SetTabOrder(this, w, ui.ShowPostAffineSelectedRadio);
- w = SetTabOrder(this, w, ui.ShowPostAffineAllRadio);
w = SetTabOrder(this, w, ui.PolarAffineCheckBox);
w = SetTabOrder(this, w, ui.LocalPivotRadio);
w = SetTabOrder(this, w, ui.WorldPivotRadio);
diff --git a/Source/Fractorium/Fractorium.h b/Source/Fractorium/Fractorium.h
index 51a6455..5117e44 100644
--- a/Source/Fractorium/Fractorium.h
+++ b/Source/Fractorium/Fractorium.h
@@ -16,7 +16,7 @@
#include "PaletteEditor/PaletteEditor.h"
///
-/// An enum representing the type of edit being done.
+/// An enum representing the affines being shown.
///
enum class eAffineState : int { PRE, ALL_PRE, POST, ALL_POST };
@@ -121,8 +121,8 @@ public:
void CurrentXform(uint i);
//Xforms Affine.
- bool DrawPreAffines();
- bool DrawPostAffines();
+ bool DrawPreAffines();
+ bool DrawPostAffines();
bool DrawSelectedPre();
bool DrawAllPre();
bool DrawSelectedPost();
@@ -181,8 +181,8 @@ public slots:
void OnActionDP(bool checked);
void OnActionStyle(bool checked);
void OnActionStartStopRenderer(bool checked);
- void OnActionDrawAffines(bool checked);
- void OnActionDrawAllAffines(bool checked);
+ void OnActionDrawAffines(bool checked);
+ void OnActionDrawAllAffines(bool checked);
void OnActionDrawImage(bool checked);
void OnActionDrawGrid(bool checked);
@@ -420,8 +420,8 @@ private:
bool HaveFinal();
//Toolbar.
- void SaveAffineState();
- void SyncAffineStateToToolbar();
+ void SaveAffineState();
+ void SyncAffineStateToToolbar();
void SyncOptionsToToolbar();
//Library.
@@ -602,7 +602,7 @@ private:
QColor m_VariationTreeBgColorNonZero, m_VariationTreeBgColorZero;
vector m_Docks;
- bool m_PreviousAffineState[4];
+ bool m_PreviousAffineState[4];
int m_FontSize;
int m_VarSortMode;
int m_PaletteSortMode;
diff --git a/Source/Fractorium/Fractorium.ui b/Source/Fractorium/Fractorium.ui
index 331f559..3917fd2 100644
--- a/Source/Fractorium/Fractorium.ui
+++ b/Source/Fractorium/Fractorium.ui
@@ -80,8 +80,8 @@
0
0
- 1213
- 978
+ 1277
+ 985
@@ -173,7 +173,7 @@
0
0
230
- 928
+ 934
@@ -263,30 +263,30 @@
false
-
- 35
-
145
false
+
+ 35
+
true
false
-
- 22
-
22
false
+
+ 22
+
false
@@ -455,30 +455,30 @@
false
-
- 15
-
15
false
+
+ 15
+
true
false
-
- 15
-
15
false
+
+ 15
+
Geometry
@@ -536,30 +536,30 @@
false
-
- 15
-
15
false
+
+ 15
+
true
false
-
- 15
-
15
false
+
+ 15
+
Iteration
@@ -636,30 +636,30 @@
false
-
- 15
-
15
false
+
+ 15
+
true
false
-
- 15
-
15
false
+
+ 15
+
Filter
@@ -773,30 +773,30 @@
false
-
- 35
-
120
false
+
+ 35
+
true
false
-
- 22
-
22
false
+
+ 22
+
false
@@ -1123,30 +1123,30 @@
false
-
- 35
-
145
false
+
+ 35
+
true
false
-
- 22
-
22
false
+
+ 22
+
false
@@ -1299,30 +1299,30 @@
false
-
- 15
-
15
false
+
+ 15
+
true
false
-
- 15
-
15
false
+
+ 15
+
Animation
@@ -1408,30 +1408,30 @@
false
-
- 35
-
145
false
+
+ 35
+
true
false
-
- 22
-
22
false
+
+ 22
+
Interpolation
@@ -1572,30 +1572,30 @@
false
-
- 35
-
120
false
+
+ 35
+
true
false
-
- 22
-
22
false
+
+ 22
+
false
@@ -1821,30 +1821,30 @@
false
-
- 15
-
15
false
+
+ 15
+
true
false
-
- 16
-
16
false
+
+ 16
+
Color
@@ -2093,27 +2093,27 @@
false
-
- 35
-
35
false
+
+ 35
+
false
-
- 22
-
22
false
+
+ 22
+
-
@@ -2216,10 +2216,10 @@
false
-
+
35
-
+
35
@@ -2231,10 +2231,10 @@
false
-
+
22
-
+
22
@@ -2290,17 +2290,14 @@
true
-
- 35
-
35
false
-
- 22
+
+ 35
22
@@ -2308,6 +2305,9 @@
false
+
+ 22
+
@@ -2370,8 +2370,8 @@
0
0
- 389
- 690
+ 285
+ 675
@@ -2474,10 +2474,10 @@
false
-
+
62
-
+
62
@@ -2486,15 +2486,15 @@
false
-
- 22
-
22
false
+
+ 22
+
@@ -2713,10 +2713,10 @@
false
-
+
20
-
+
20
@@ -2825,15 +2825,15 @@
false
-
- 16
-
16
false
+
+ 16
+
false
@@ -3059,8 +3059,8 @@
0
0
- 277
- 880
+ 291
+ 876
@@ -3409,30 +3409,30 @@
false
-
- 27
-
110
false
+
+ 27
+
true
false
-
- 21
-
21
false
+
+ 21
+
@@ -3502,7 +3502,7 @@
QTabWidget::Triangular
- 1
+ 2
@@ -3627,27 +3627,27 @@
false
-
- 27
-
false
+
+ 27
+
true
false
-
- 21
-
21
false
+
+ 21
+
false
@@ -3963,30 +3963,30 @@
false
-
- 27
-
125
false
+
+ 27
+
true
false
-
- 22
-
22
false
+
+ 22
+
false
@@ -4219,7 +4219,7 @@
false
- false
+ true
3
@@ -4230,15 +4230,15 @@
false
-
- 40
-
100
false
+
+ 40
+
true
@@ -4248,15 +4248,15 @@
false
-
- 22
-
22
false
+
+ 22
+
false
@@ -4897,62 +4897,6 @@
- -
-
-
- <html><head/><body><p>Show current only draws the current xform’s pre affine transform.</p><p>Show all draws all xforms’ pre affine transforms. This can sometimes clutter the view if the flame contains many xforms.</p></body></html>
-
-
- false
-
-
- Show
-
-
- Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
-
-
- false
-
-
- false
-
-
-
- 6
-
-
- 6
-
-
- 2
-
-
- 6
-
-
- 6
-
-
-
-
-
- Selected
-
-
-
- -
-
-
- All
-
-
- true
-
-
-
-
-
-
@@ -5080,7 +5024,7 @@
false
- false
+ true
3
@@ -5091,15 +5035,15 @@
false
-
- 40
-
100
false
+
+ 40
+
true
@@ -5109,15 +5053,15 @@
false
-
- 22
-
22
false
+
+ 22
+
false
@@ -5791,56 +5735,6 @@
- -
-
-
- true
-
-
- <html><head/><body><p>Show current only draws the current xform’s post affine transform.</p><p>Show all draws all xforms’ post affine transforms. This can sometimes clutter the view if the flame contains many xforms.</p></body></html>
-
-
- false
-
-
- Show
-
-
-
- 6
-
-
- 2
-
-
- 6
-
-
- 6
-
-
-
-
-
- Selected
-
-
- true
-
-
-
- -
-
-
- true
-
-
- All
-
-
-
-
-
-
@@ -6061,15 +5955,15 @@
3
-
- 10
-
70
true
+
+ 10
+
true
@@ -6293,8 +6187,8 @@
0
0
- 253
- 646
+ 267
+ 670
@@ -6424,7 +6318,7 @@
0
0
291
- 854
+ 856
@@ -6554,10 +6448,10 @@
false
-
+
22
-
+
22
@@ -6569,10 +6463,10 @@
false
-
+
21
-
+
21
@@ -6689,12 +6583,12 @@
false
-
- 30
-
100
+
+ 30
+
false
@@ -7093,30 +6987,30 @@
false
-
- 27
-
110
false
+
+ 27
+
true
false
-
- 22
-
22
false
+
+ 22
+
false
@@ -7302,7 +7196,7 @@
0
0
1712
- 22
+ 20