mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-16 13:14:51 -04:00
--User changes
-Add a new dialog for editing QSS stylesheets. Allow for saving, reloading and setting styles as default. --Include a dark style with the installation called dark.qss. --Also add support for themes such as Fusion. --Resize some controls to better fit with the new style. -Add an option to specify the number of random embers generated on startup. 1 is the minimum and the default. --Bug fixes -Properly enable/disable thread priority label in final render dialog in response to enable/disable of the OpenCL checkbox. -Remove all inline stylesheets. -Show xaos spinners with 6 decimal places. --Code changes -Remove redundant comparisons to nullptr, use ! instead; -Give some controls valid names instead of the auto generated ones. -DoubleSpinBoxTableItemDelegate.h: Add virtual keyword to overridden functions.
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
#define OPENCLDEFILTER "render/opencldefilter"
|
||||
#define CPUSUBBATCH "render/cpusubbatch"
|
||||
#define OPENCLSUBBATCH "render/openclsubbatch"
|
||||
#define RANDOMCOUNT "render/randomcount"
|
||||
|
||||
#define FINALEARLYCLIP "finalrender/earlyclip"
|
||||
#define FINALYAXISUP "finalrender/finalyaxisup"
|
||||
@ -60,6 +61,8 @@
|
||||
|
||||
#define UIVARIATIONS "ui/variations"
|
||||
|
||||
#define STYLETHEME "style/theme"
|
||||
|
||||
/// <summary>
|
||||
/// Class for preserving various program options between
|
||||
/// runs of Fractorium. Each of these generally corresponds
|
||||
@ -111,6 +114,9 @@ public:
|
||||
uint OpenCLSubBatch();
|
||||
void OpenCLSubBatch(uint i);
|
||||
|
||||
uint RandomCount();
|
||||
void RandomCount(uint i);
|
||||
|
||||
bool FinalEarlyClip();
|
||||
void FinalEarlyClip(bool b);
|
||||
|
||||
@ -206,4 +212,7 @@ public:
|
||||
|
||||
QMap<QString, QVariant> Variations();
|
||||
void Variations(const QMap<QString, QVariant>& m);
|
||||
|
||||
QString Theme();
|
||||
void Theme(const QString& s);
|
||||
};
|
||||
|
Reference in New Issue
Block a user