Page 1 of 3
Re: Themes, where?
Posted: Sun Jan 22, 2012 6:20 pm
by ags
Re: Themes, where?
Posted: Sun Jan 22, 2012 11:36 pm
by strobotone
yep, kaxaml offers some templates also.
Re: Themes, where?
Posted: Mon Jan 23, 2012 5:57 pm
by mcbpete
Daaammmmnnn, that looks nice !
Re: Themes, where?
Posted: Thu Feb 02, 2012 10:04 pm
by strobotone
theme updated with customized QuickNewMachineWindow:
http://strobotone.de/content/developmen ... on_3.3.zip
(build 1443+ required)
updated for new fullscreen mode (build 1456+):
http://strobotone.de/content/developmen ... on_3.4.zip
Re: Themes, where?
Posted: Mon Feb 20, 2012 11:05 am
by mantratronic
Re: Themes, where?
Posted: Mon Feb 20, 2012 11:34 am
by strobotone
there is a lag in the quicknewmachineview.
dunno why yet. has something to do with the new controls.xaml.
Re: Themes, where?
Posted: Mon Feb 20, 2012 12:16 pm
by IXix
Thanks for that. Looks like it could be handy.

Re: Themes, where?
Posted: Mon Mar 19, 2012 3:24 pm
by Mozart von Robot
The wavetable editor isn't working. Other than that, it looks very pretty, and I'd happily use it if the editor worked. Nice work.
Re: Themes, where?
Posted: Mon Mar 19, 2012 3:51 pm
by strobotone
thanks !
it is a known bug. also happens with other custom themes.
Re: Themes, where?
Posted: Mon Mar 19, 2012 4:31 pm
by oskari
I recommend removing the wavetable line from theme.xml until it's fixed. I did the same to the dark theme.
Re: Themes, where?
Posted: Wed Mar 21, 2012 10:18 pm
by Jellyfish
nice, i might actually start understanding all this text to art stuff
if you have illustrator:
http://www.mikeswanson.com/xamlexport/default.htm
Re: Themes, where?
Posted: Thu Mar 22, 2012 6:43 am
by strobotone
interesting. thanks for the tip !
Re: Themes, where?
Posted: Sun Jul 08, 2012 8:00 am
by strobotone
for those who dont wanna fiddle around with xaml,
i updated the simplon theme (for build 1467):
http://strobotone.de/content/developmen ... n_3.41.zip
Re: Themes, where?
Posted: Sun Jul 08, 2012 10:55 pm
by outsider
Thank you very much.
Re: Themes, where?
Posted: Mon Jul 09, 2012 11:40 pm
by mcbpete
strobotone - How do you 'call' the right click menu (and I guess the top as well) in the new builds? In older versions I just stole Jeskola's MachineMenu.xaml theme then in Parameterwindow.xaml I put in the following in the Window.resources section -
Code: Select all
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="MachineView/MachineMenu.xaml"/>
</ResourceDictionary.MergedDictionaries>
But it doesn't appear to do anything since ~1455 when the right click menu/top menu code changed (to WPF ?).
Re: Themes, where?
Posted: Tue Jul 10, 2012 8:19 am
by strobotone
i reorganized the files a bit.
take a look at Toolbar.xaml and MVResources.xaml :
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Controls.xaml"/>
<ResourceDictionary Source="Menus/ContextMenu.xaml"/>
...
in MachineView.xaml you will find :
<ResourceDictionary Source="MVResources.xaml"/> then.
all styles for the controls (sliders, buttons...) are stored in Controls.xaml
and contextmenu-related stuff goes in ContextMenu.xaml.
so since we use the resources in different places we kinda have to put them into the same namespace.
otherwise the styles will not get overwritten.
hope that helps.
Re: Themes, where?
Posted: Tue Jul 10, 2012 9:56 am
by mcbpete
strobotone wrote:since we use the resources in different places we kinda have to put them into the same namespace.
otherwise the styles will not get overwritten.
Ahhhhh gotcha, no that makes perfect sense - Ok looks like I'm gonna have to reorganise my theme a bit then. Cheers man

Re: Themes, where?
Posted: Sun Jul 15, 2012 7:45 pm
by mcbpete
OK, I'm nearly there (thanks for the hint, it was the mvresources xaml that I didn't think to update).
Feeling a bit stupid for not working this out but there's still a couple of issues I'm having for updating my theme:
a) Where is the location of the colours used for the 'typing machine name' list menu? (eg Effects come up red, Generators come out blue on the list, background white etc.). With the introduction of the wpf menu they've become a little unreadable so I want to tweak them a little. If I use 'SimpleStyles/TextBoxDark.xaml' in controls.xaml then I can see what I've selected (white highlight on black background) but the text is a little garish, and if I don't specify any xaml so it uses the default it's more readable but I can't see what I'm selecting (white highlight on white background)
b) Is it possible to make this 'machine list' list menu transparent as per the context menu that you have in your theme strobotone ?
Re: Themes, where?
Posted: Mon Jul 16, 2012 1:01 pm
by strobotone
a)
in
MVResources.xaml you´ll find:
...
<DataTemplate x:Key="
MachineListItemTemplate">
<TextBlock Name="tb" Text="{Binding Path=DisplayName}" Foreground="#d8d8d8" Padding="0,0,5,0"/>
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding Path=Instrument.Type}" Value="Generator">
<Setter TargetName="tb" Property="Foreground" Value="{StaticResource
GeneratorColor}"/>
</DataTrigger>
<DataTrigger Binding="{Binding Path=Instrument.Type}" Value="Effect">
<Setter TargetName="tb" Property="Foreground" Value="{StaticResource
EffectColor}"/>
</DataTrigger>
...
the color resources are stored in
Controls.xaml :
...
<!--Resources-->
<SolidColorBrush x:Key="
GeneratorColor">#
719cfe</SolidColorBrush>
<LinearGradientBrush x:Key="GeneratorGradient" StartPoint="0,1" EndPoint="1,1">
<GradientStop Color="#719cfe" Offset="0.4"/>
<GradientStop Color="#d0383838" Offset="0.9"/>
</LinearGradientBrush>
...
you get the picture
b)
yes.
meanwhile look out for opacity property.
if you wrap objects in a border or something similar you can use it as a container or to easily control transparency/opacity of its containing elements.
you can also make smooth transitions from 100% to 0% opacity if you like.
when i find the time i´ll explain it better.
Re: Themes, where?
Posted: Mon Jul 16, 2012 4:12 pm
by mcbpete
You're a star - I'll have a tinker around this evening !