mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-06-30 13:26:02 -04:00
0.4.0.7 Beta 07/26/2014
0.4.0.7 Beta 07/26/2014 --User Changes Color code xforms like Apo does. Change other aspects of xform color drawing. Add option to invert the Y axis to both the options final render dialogs. Coordinate Y axis setting with preview renders. Add option to show all xforms when dragging. Previously, only the current one was shown. Make final render dialog appear in the middle of the screen. Immediately draw yellow selection dot on mouse down. --Bug Fixes Resize final render dialog vertically if it's taller than the 90% of the desktop area.
This commit is contained in:
@ -201,6 +201,7 @@ void FractoriumEmberController<T>::AddFinalXform()
|
||||
xform.AddVariation(new LinearVariation<T>());//Just a placeholder so other parts of the code don't see it as being empty.
|
||||
m_Ember.SetFinalXform(xform);
|
||||
combo->addItem("Final");
|
||||
combo->setItemIcon(combo->count() - 1, m_Fractorium->m_FinalXformComboIcon);
|
||||
combo->setCurrentIndex(combo->count() - 1);//Set index to the last item.
|
||||
UpdateRender();
|
||||
}
|
||||
@ -325,17 +326,23 @@ bool FractoriumEmberController<T>::IsFinal(Xform<T>* xform)
|
||||
/// </summary>
|
||||
void Fractorium::FillXforms()
|
||||
{
|
||||
int spinHeight = 20;
|
||||
int i = 0, spinHeight = 20;
|
||||
QComboBox* combo = ui.CurrentXformCombo;
|
||||
|
||||
combo->blockSignals(true);
|
||||
combo->clear();
|
||||
|
||||
for (int i = 0; i < m_Controller->XformCount(); i++)
|
||||
for (i = 0; i < m_Controller->XformCount(); i++)
|
||||
{
|
||||
combo->addItem(QString::number(i + 1));
|
||||
combo->setItemIcon(i, m_XformComboIcons[i % XFORM_COLOR_COUNT]);
|
||||
}
|
||||
|
||||
if (m_Controller->UseFinalXform())
|
||||
{
|
||||
combo->addItem("Final");
|
||||
combo->setItemIcon(i, m_FinalXformComboIcon);
|
||||
}
|
||||
|
||||
combo->blockSignals(false);
|
||||
combo->setCurrentIndex(0);
|
||||
|
Reference in New Issue
Block a user