Wanderer
Topic Author
Posts: 168
Joined: 08 May 2017, 18:36

Can Noesis use wpf windows themes?

23 Feb 2018, 22:08

I am working on my own theme, but I it is too long for me and I need some quick results for UI and later I create my own. I start thinking to use windows theme from WPF (which are used in Blend 2015) and use it inside Noesis. It is possible? Can Noesis read all controls from windows themes?
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: Can Noesis use wpf windows themes?

24 Feb 2018, 07:56

Yes, it is possible, but we are not 100% compatible so you will probably need to do adjustments.
 
Wanderer
Topic Author
Posts: 168
Joined: 08 May 2017, 18:36

Re: Can Noesis use wpf windows themes?

24 Feb 2018, 13:32

I tried load areo.normalcolor.xaml from WPF themes in to Noesis, but unfortunately it don't want load. It allways load basic NoesisTheme and I don't know what to change. I guess that only color have some bindings to the system. Another idea is, convert visual to local resource (in Blend), but this conversion is not 100%, because it is only partial of the template and there are lot of bindings to the outer sources, like system colors.

Btw I dont use app framework from Noesis, because I use GLFW for winowing sytem.
 
User avatar
sfernandez
Site Admin
Posts: 1912
Joined: 22 Dec 2011, 19:20

Re: Can Noesis use wpf windows themes?

25 Feb 2018, 14:08

Original Windows Aero theme uses some internal classes like ButtonChrome, BulletChrome, references to SystemColors, etc.
So you would need to change a lot of things in order use those themes.

Perhaps it is better to start with one of the themes we provide in our SDK.
 
Wanderer
Topic Author
Posts: 168
Joined: 08 May 2017, 18:36

Re: Can Noesis use wpf windows themes?

27 Feb 2018, 18:02

Thanks, for now I will use your Themes or mine. I got some workaround outside this forum how to get Windows Templates, but not tested it yet. If It will be worked I'll post solution.
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: Can Noesis use wpf windows themes?

05 Mar 2018, 18:37

I am marking this as solved. Please, open new threads if you find specific problems.

Who is online

Users browsing this forum: No registered users and 0 guests