Page 1 of 2

new menu template for themes

Posted: Mon Jan 09, 2012 4:34 am
by oskari
Image

Image

Re: new menu template for themes

Posted: Mon Jan 09, 2012 9:32 am
by mute
the color coding is very similar to how i've had my index menu setup for almost 2 years, but i never released it because I could never properly override the insert effect (+) menu on the connection arrows.

very very nice. look forward to f'ing with this.

here's my old ones.,
http://www.lazytrap.com/buzz/colors1.jpg
http://www.lazytrap.com/buzz/colors2.jpg

Re: new menu template for themes

Posted: Mon Jan 09, 2012 9:59 am
by strobotone
@mute : that color coding on the connection lines is a pretty good idea !
actually you should be able to override the colors in the connection dialog box using conditions on the machinetype.
(guess you tried that already :))
could you post the xaml?

Re: new menu template for themes

Posted: Mon Jan 09, 2012 5:00 pm
by oskari
mute wrote:the color coding is very similar to how i've had my index menu setup for almost 2 years, but i never released it because I could never properly override the insert effect (+) menu on the connection arrows.
I had to fix it in code. It will work in the next build.

Re: new menu template for themes

Posted: Mon Jan 09, 2012 5:35 pm
by oskari
I forgot to enable ClearType.

Image

Re: new menu template for themes

Posted: Mon Jan 09, 2012 5:39 pm
by mcbpete
For some reason that really reminds me of Amiga Workbench ...

Re: new menu template for themes

Posted: Mon Jan 09, 2012 11:14 pm
by mute
oskari wrote:
mute wrote:the color coding is very similar to how i've had my index menu setup for almost 2 years, but i never released it because I could never properly override the insert effect (+) menu on the connection arrows.
I had to fix it in code. It will work in the next build.
:mrgreen:

Re: new menu template for themes

Posted: Tue Jan 10, 2012 12:11 am
by mcbpete
Ooh boy, I just took a peek at MVResources.xaml to see if I could adapt some of that code to use on my theme but I might be punching a little above my weight this time :shock:

But yeah, it looks well nice man !

Re: new menu template for themes

Posted: Tue Jan 10, 2012 12:35 am
by oskari
The menu is now in it's own file so it's easier to use.

Re: new menu template for themes

Posted: Tue Jan 10, 2012 9:31 am
by strobotone
oskari, you are just awesome.

--- Build 1430 - Tuesday, 10 January 2012 07:42:14 UTC
- attributes in the machine context menu
- latency compensation and new-machine-by-typing dialogs rewritten in wpf

...more consistency coming up.

Re: new menu template for themes

Posted: Tue Jan 10, 2012 10:51 am
by UNZ
small suggestion: it would be cool if the context menus stayed open until you click on the machine view background. that way you can change multiple things (like attributes etc) at once without always going into it again..

Re: new menu template for themes

Posted: Tue Jan 10, 2012 4:44 pm
by oskari
Support for MenuItem.StaysOpenOnClick.

Re: new menu template for themes

Posted: Tue Jan 10, 2012 7:59 pm
by Klangkulisse
Thanks a lot Oskari once again, especially for putting the main thing in its own menu folder, as I want to keep my own theme up to date like mcbpete does and my skills are even a little little bit smaller.

The menu stays open only for the attributes, would it make sense for other parts like the upper section (Mute, Solo, Oversample, Wireless) or Midi input channel?

It looks really cool, I like it a lot.

Re: new menu template for themes

Posted: Wed Jan 11, 2012 1:08 pm
by strobotone
it really helps to make things more consistent themewise.
looks like i missed something since checkboxes for all options are shown in the custom theme.

Re: new menu template for themes

Posted: Wed Jan 11, 2012 4:03 pm
by strobotone
never mind. double declared a style in two different xaml files.

Re: new menu template for themes

Posted: Wed Jan 11, 2012 5:26 pm
by oskari
strobotone wrote:it really helps to make things more consistent themewise.
Yes, this fits in your theme much better. I might change the menu in the default theme too.

Re: new menu template for themes

Posted: Wed Jan 11, 2012 5:56 pm
by mcbpete
strobotone wrote:never mind. double declared a style in two different xaml files.
Did exactly the same on mine too - took me ages to spot that :lol:

Re: new menu template for themes

Posted: Wed Jan 11, 2012 6:14 pm
by strobotone
i wish i could also do that to the vertical sequencer :|

Re: new menu template for themes

Posted: Wed Jan 11, 2012 6:15 pm
by Klangkulisse
strobotone wrote:never mind. double declared a style in two different xaml files.
Oops, I did not realise this until now.
Could you spot the double declared style? :roll:
As my theme relies on some main parts of yours, it should be the same fault ...

Re: new menu template for themes

Posted: Wed Jan 11, 2012 8:56 pm
by strobotone
check for duplicate <Style x:Key="ContextMenuItemStyle">