mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-06 00:06:00 -04:00
--User changes
-Add toolbar buttons to switch some rendering options without having to open the options dialog. --Bug fixes -Only update summary on render completion, no need to constantly update it. -Properly handle cancel even on variations dialog. --Code changes -Add small function ShutdownAndRecreateFromOptions() to wrap shutting down the timer and recreating the renderer. -Use the overridden accept() and reject() functions more consistently across dialogs.
This commit is contained in:
@ -145,6 +145,10 @@ public slots:
|
||||
void OnActionAbout(bool checked);//Help.
|
||||
|
||||
//Toolbar.
|
||||
void OnActionCpu(bool checked);
|
||||
void OnActionCL(bool checked);
|
||||
void OnActionSP(bool checked);
|
||||
void OnActionDP(bool checked);
|
||||
|
||||
//Library.
|
||||
void OnEmberTreeItemChanged(QTreeWidgetItem* item, int col);
|
||||
@ -324,6 +328,9 @@ private:
|
||||
//Embers.
|
||||
bool HaveFinal();
|
||||
|
||||
//Toolbar.
|
||||
void SyncOptionsToToolbar();
|
||||
|
||||
//Library.
|
||||
pair<size_t, QTreeWidgetItem*> GetCurrentEmberIndex();
|
||||
|
||||
@ -358,6 +365,7 @@ private:
|
||||
void SetTableWidgetBackgroundColor();
|
||||
|
||||
//Rendering/progress.
|
||||
void ShutdownAndRecreateFromOptions();
|
||||
bool CreateRendererFromOptions();
|
||||
bool CreateControllerFromOptions();
|
||||
|
||||
|
Reference in New Issue
Block a user