-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spinny updates #440
Spinny updates #440
Conversation
* Add separate bg and mask paths to spinny -- the cover art goes between them * Use pixmaps instead of images for scalable drawing * Update LateNight with SVG spinnies
ah, fixed the rendering issue |
m_pGhostImage = WImageStore::getImage(context.getPixmapSource( | ||
context.selectNode(node,"PathGhost"))); | ||
|
||
if (m_pBgImage && !m_pBgImage->isNull()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For backwards compatibility the background should default to fixed and the setFixedSize call should be there if fixed (like the other widgets that have this logic).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should wknobcomposed also have that logic too, then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since WKnobComposed was added in 1.12 I didn't add that logic since there are no legacy skins that use it. For consistency we could do that though.
This breaks the spinny in 1.11 skins. It also always adds the cover to the spinny. This should be option set by the skin designer. |
cover is supposed to be optional. I'll be pushing a fix for old skins soon |
oh right now covers are default on, I can change that to off |
Sorry for the premature merge everyone 😔 |
the latenight skin chrashes on my netbook with an assertion: this seams to be no issue on using the Shade skin. There is not white background issue. Probably this was a Bug in the driver, fixed now in my Trusty installation. |
Here the backtrace: mixxx: ../../../../../../../src/mesa/drivers/dri/i915/i915_fragprog.c:1273: i915BindProgram: Zusicherung »p->on_hardware == 0« nicht erfüllt. Program received signal SIGABRT, Aborted. |
Some of my covers are not squared. They stick to the top of the spinny. It would look nicer if the where centered, or scaled that the whole cycle is filled. |
Can you confirm it also crashes before the change from image to pixmap? Just in case there's something else going on |
The Shade skin does not crash. |
Shade still uses png files, whereas Latenight now uses SVG files, so it makes sense that one would crash and not the other. I just want to confirm that latenight does still crash on the old code but with the new files. |
LateNight: old code with new skin files does not crash. There is a gray square, no cover, but the position pointer. |
This doesn't work right -- the spinnies are drawing aliased even though the hint says antialiased. I copied the drawing code from wknobcomposed so I'm not sure why it looks bad