mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-07 00:34:50 -04:00
--User changes
-Allow locking of the scale at which affine circles are displayed. -Allow user to toggle whether xform will be animated when generating sequences. Also show the animate value when loading. --Code changes -More conversion to C++11 style code. -Add another value to the eXformUpdate enum called UPDATE_CURRENT_AND_SELECTED in anticipation of future work. -Remove some old #defines.
This commit is contained in:
@ -247,7 +247,7 @@ void FractoriumEmberController<T>::ApplyXmlSavingTemplate(Ember<T>& ember)
|
||||
/// <returns>True if the current ember contains a final xform, else false.</returns>
|
||||
bool Fractorium::HaveFinal()
|
||||
{
|
||||
QComboBox* combo = ui.CurrentXformCombo;
|
||||
auto combo = ui.CurrentXformCombo;
|
||||
return (combo->count() > 0 && combo->itemText(combo->count() - 1) == "Final");
|
||||
}
|
||||
|
||||
@ -389,7 +389,9 @@ void Fractorium::dragEnterEvent(QDragEnterEvent* e)
|
||||
{
|
||||
if (e->mimeData()->hasUrls())
|
||||
{
|
||||
foreach (QUrl url, e->mimeData()->urls())
|
||||
auto urls = e->mimeData()->urls();
|
||||
|
||||
for (auto& url : urls)
|
||||
{
|
||||
QString localFile = url.toLocalFile();
|
||||
QFileInfo fileInfo(localFile);
|
||||
@ -426,7 +428,9 @@ void Fractorium::dropEvent(QDropEvent* e)
|
||||
|
||||
if (e->mimeData()->hasUrls())
|
||||
{
|
||||
foreach (QUrl url, e->mimeData()->urls())
|
||||
auto urls = e->mimeData()->urls();
|
||||
|
||||
for (auto& url : urls)
|
||||
{
|
||||
QString localFile = url.toLocalFile();
|
||||
QFileInfo fileInfo(localFile);
|
||||
|
Reference in New Issue
Block a user