mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-16 05:05:09 -04:00
--User changes
-Allow for pausing and resuming of final renders. --Code changes -Only instantiate float version of Palette and PaletteList, no need for double since it's never used. -Allow for FinalRenderDialog to be queried on whether it's currently rendering.
This commit is contained in:
@ -32,6 +32,24 @@ FractoriumEmberControllerBase::~FractoriumEmberControllerBase()
|
||||
m_RenderRestartTimer->stop();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Pause or resume the renderer.
|
||||
/// </summary>
|
||||
/// <param name="pause">True to pause, false to unpause.</param>
|
||||
void FractoriumEmberControllerBase::Pause(bool pause)
|
||||
{
|
||||
m_Renderer->Pause(pause);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Retrieve the paused state of the renderer.
|
||||
/// </summary>
|
||||
/// <returns>True if the renderer is paused, else false.</returns>
|
||||
bool FractoriumEmberControllerBase::Paused()
|
||||
{
|
||||
return m_Renderer->Paused();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructor which passes the main window parameter to the base, initializes the templated members contained in this class.
|
||||
/// Then sets up the parts of the GUI that require templated Widgets, such as the variations tree and the palette table.
|
||||
|
Reference in New Issue
Block a user