mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-07-02 22:34:52 -04:00
--User changes
-Add new style sheet called uranium that is reminiscent of the old Winamp color scheme of the same name. -All for keyboard presses to edit affines. --Q: rotate counter clockwise. --E: rotate clockwise. --W: move up. --S: move down. --A: move left. --D: move right. --G: shrink. --H: grow. --Hold shift to decrease amount, control to increase amount. -Change some menu shortcuts to accommodate these new affine editing shortcuts. -Random xaos now just provides values of either 0 or 1. Hold control to get the old behavior. --Bug fixes -Waffle variation was broken in OpenCL.
This commit is contained in:
@ -115,6 +115,11 @@ public:
|
||||
QPushButton* m_Button;
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// Thin container that is both a widget and a container of one DoubleSpinBox and one QLabel.
|
||||
/// Used for when a layout expects a single widget, but two need to go in its place.
|
||||
/// The widgets are public so the caller can easily use them individually.
|
||||
/// </summary>
|
||||
class SpinnerLabelWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -150,6 +155,9 @@ protected:
|
||||
QHBoxLayout* m_L;
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// Thin derivation that adds a button to a SpinnerLabelWidget.
|
||||
/// </summary>
|
||||
class SpinnerLabelButtonWidget : public SpinnerLabelWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@ -184,7 +192,11 @@ public:
|
||||
QPushButton* m_Button;
|
||||
};
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Thin container that is both a widget and a container of one DoubleSpinBox and one SpinBox.
|
||||
/// Used for when a layout expects a single widget, but two need to go in its place.
|
||||
/// The widgets are public so the caller can easily use them individually.
|
||||
/// </summary>
|
||||
class DoubleIntSpinnerWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
Reference in New Issue
Block a user