Support and General Use > Theming and Appearance Customization
how do I create a circular controlled theme?
[Saint]:
--- Quote from: KiwiCam on August 11, 2012, 04:46:39 AM ---Movable Viewports would be ideal for this. However, I can't see that happening.
--- End quote ---
No, it wouldn't. Unless you wanted to complicate this theme excessively. And besides, it's already possible to move a viewport conditionally so its kind of a non-statement.
--- Quote from: KiwiCam on August 11, 2012, 04:46:39 AM ---I'd try breaking it into squares and use the volume to show separate Viewport positions for each range of volume. Say, 12 viewport positions. Or more if you wanted to go bitmap crazy. I'd also use a tonne of And's & Or's for each stage of the volume position to change the bitmap (Offset might come in handy and Transparency of course for the Album art area captured within the Viewport - Hint: Clip can't do this yet) displayed at each Viewport position to show the changes in other controls affected by the Viewport placement.
--- End quote ---
Again, this is needlessly complex.
There's really no reason to do it this way unless you wanted to torture yourself intentionally. It could be achieved very trivially by drawing the album art into the backdrop buffer and drawing the volume graphic in a single viewport overtop of it, with transparency to allow the album art to show through.
Yes, you would need an image for each "stage" of the volume you wished to represent, and how finely you want to represent this is entirely up to you and how much of the audio buffer you're willing to steal.
Although I value the input and enthusiasm of the quoted author, I would advise against following that path very strongly. I don't have time right now to post code examples as its getting late here, and real life, etc. but I shall attempt to do so tomorrow at some stage.
[Saint]
KiwiCam:
--- Quote from: [Saint] on August 11, 2012, 05:08:56 AM ---
--- Quote from: KiwiCam on August 11, 2012, 04:46:39 AM ---Movable Viewports would be ideal for this. However, I can't see that happening.
--- End quote ---
No, it wouldn't. Unless you wanted to complicate this theme excessively. And besides, it's already possible to move a viewport conditionally so its kind of a non-statement.
[Saint]
--- End quote ---
Could you give me an example as to how?
[Saint]:
Duplicate the viewport(s) as many times as you require, and assign each a unique label. Switch it with the condition that tickles your fancy.
[Saint]
KiwiCam:
--- Quote from: [Saint] on August 26, 2012, 07:13:07 AM ---Duplicate the viewport(s) as many times as you require, and assign each a unique label. Switch it with the condition that tickles your fancy.
[Saint]
--- End quote ---
Thanks. I'll bear that in mind.
Astorga:
You could make the ring fade from green to red to indicate the volume... isn't that awesome, but can produce a nice effect :)
Navigation
[0] Message Index
[*] Previous page
Go to full version