mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-17 05:34:50 -04:00
--User changes -Add pre/post in Toolbar
This commit is contained in:
@ -15,6 +15,11 @@
|
||||
#include "DoubleSpinBoxTableItemDelegate.h"
|
||||
#include "PaletteEditor/PaletteEditor.h"
|
||||
|
||||
/// <summary>
|
||||
/// An enum representing the type of edit being done.
|
||||
/// </summary>
|
||||
enum class eAffineState : int { PRE, ALL_PRE, POST, ALL_POST };
|
||||
|
||||
/// <summary>
|
||||
/// Fractorium class.
|
||||
/// </summary>
|
||||
@ -116,6 +121,8 @@ public:
|
||||
void CurrentXform(uint i);
|
||||
|
||||
//Xforms Affine.
|
||||
bool DrawPreAffines();
|
||||
bool DrawPostAffines();
|
||||
bool DrawSelectedPre();
|
||||
bool DrawAllPre();
|
||||
bool DrawSelectedPost();
|
||||
@ -174,7 +181,8 @@ public slots:
|
||||
void OnActionDP(bool checked);
|
||||
void OnActionStyle(bool checked);
|
||||
void OnActionStartStopRenderer(bool checked);
|
||||
void OnActionDrawXforms(bool checked);
|
||||
void OnActionDrawAffines(bool checked);
|
||||
void OnActionDrawAllAffines(bool checked);
|
||||
void OnActionDrawImage(bool checked);
|
||||
void OnActionDrawGrid(bool checked);
|
||||
|
||||
@ -412,6 +420,8 @@ private:
|
||||
bool HaveFinal();
|
||||
|
||||
//Toolbar.
|
||||
void SaveAffineState();
|
||||
void SyncAffineStateToToolbar();
|
||||
void SyncOptionsToToolbar();
|
||||
|
||||
//Library.
|
||||
@ -592,6 +602,7 @@ private:
|
||||
QColor m_VariationTreeBgColorNonZero, m_VariationTreeBgColorZero;
|
||||
vector<QDockWidget*> m_Docks;
|
||||
|
||||
bool m_PreviousAffineState[4];
|
||||
int m_FontSize;
|
||||
int m_VarSortMode;
|
||||
int m_PaletteSortMode;
|
||||
|
Reference in New Issue
Block a user