Themes, where?

ags
Posts: 171
Joined: Sat Nov 26, 2011 4:06 pm

Re: Themes, where?

Post by ags »

You can also try http://www.kaxaml.com/
User avatar
strobotone
Posts: 297
Joined: Wed Nov 23, 2011 2:59 pm
Location: berlin
Contact:

Re: Themes, where?

Post by strobotone »

yep, kaxaml offers some templates also.
User avatar
mcbpete
Posts: 403
Joined: Tue Nov 22, 2011 9:45 pm

Re: Themes, where?

Post by mcbpete »

ags wrote:You can also try http://www.kaxaml.com/
Daaammmmnnn, that looks nice !
User avatar
strobotone
Posts: 297
Joined: Wed Nov 23, 2011 2:59 pm
Location: berlin
Contact:

Re: Themes, where?

Post 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
Attachments
mv_34.jpg
Last edited by strobotone on Mon Mar 19, 2012 10:02 am, edited 1 time in total.
User avatar
mantratronic
Posts: 297
Joined: Mon Nov 21, 2011 7:23 pm

Re: Themes, where?

Post by mantratronic »

strobotone wrote:updated for new fullscreen mode (build 1456+): http://strobotone.de/content/developmen ... on_3.4.zip
:D
User avatar
strobotone
Posts: 297
Joined: Wed Nov 23, 2011 2:59 pm
Location: berlin
Contact:

Re: Themes, where?

Post by strobotone »

there is a lag in the quicknewmachineview.
dunno why yet. has something to do with the new controls.xaml.
User avatar
IXix
Posts: 1150
Joined: Wed Nov 23, 2011 3:24 pm

Re: Themes, where?

Post by IXix »

ags wrote:You can also try http://www.kaxaml.com/
Thanks for that. Looks like it could be handy. :)
User avatar
Mozart von Robot
Posts: 106
Joined: Thu Mar 15, 2012 2:15 am
Location: Sweden

Re: Themes, where?

Post by Mozart von Robot »

strobotone wrote: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
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.
User avatar
strobotone
Posts: 297
Joined: Wed Nov 23, 2011 2:59 pm
Location: berlin
Contact:

Re: Themes, where?

Post by strobotone »

thanks !
it is a known bug. also happens with other custom themes.
oskari
Site Admin
Posts: 313
Joined: Mon Nov 21, 2011 2:04 pm

Re: Themes, where?

Post by oskari »

I recommend removing the wavetable line from theme.xml until it's fixed. I did the same to the dark theme.
User avatar
Jellyfish
Posts: 13
Joined: Thu Mar 01, 2012 6:44 am

Re: Themes, where?

Post by Jellyfish »

ags wrote:You can also try http://www.kaxaml.com/
nice, i might actually start understanding all this text to art stuff :oops:

if you have illustrator:

http://www.mikeswanson.com/xamlexport/default.htm
User avatar
strobotone
Posts: 297
Joined: Wed Nov 23, 2011 2:59 pm
Location: berlin
Contact:

Re: Themes, where?

Post by strobotone »

interesting. thanks for the tip !
User avatar
strobotone
Posts: 297
Joined: Wed Nov 23, 2011 2:59 pm
Location: berlin
Contact:

Re: Themes, where?

Post 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
User avatar
outsider
Posts: 10
Joined: Fri Nov 25, 2011 2:55 am
Location: Uruguay
Contact:

Re: Themes, where?

Post by outsider »

Thank you very much.
User avatar
mcbpete
Posts: 403
Joined: Tue Nov 22, 2011 9:45 pm

Re: Themes, where?

Post 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 ?).
User avatar
strobotone
Posts: 297
Joined: Wed Nov 23, 2011 2:59 pm
Location: berlin
Contact:

Re: Themes, where?

Post 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.
User avatar
mcbpete
Posts: 403
Joined: Tue Nov 22, 2011 9:45 pm

Re: Themes, where?

Post 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 :)
User avatar
mcbpete
Posts: 403
Joined: Tue Nov 22, 2011 9:45 pm

Re: Themes, where?

Post 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 ?
User avatar
strobotone
Posts: 297
Joined: Wed Nov 23, 2011 2:59 pm
Location: berlin
Contact:

Re: Themes, where?

Post 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.
User avatar
mcbpete
Posts: 403
Joined: Tue Nov 22, 2011 9:45 pm

Re: Themes, where?

Post by mcbpete »

You're a star - I'll have a tinker around this evening !
Post Reply