-
-
sfernandez
Site Admin
- Posts: 2910
- Joined:
Re: BETA: NoesisGUI v2.1.0rc2
Yes, Blend for Visual Studio 2015 is fine.1. Which version of Blend can I use for Noesis? I have VS 2015, it is ok?
Yes, you can create a ResourceDictionary in Blend and define styles there for all your controls. Then you can use that as the global dictionary of your application:2. I never used Blend before, can I create themes in Blend and use it in Noesis?
Code: Select all
Noesis.GUI.SetApplicationResources(themeDictionary);
-
-
sfernandez
Site Admin
- Posts: 2910
- Joined:
Re: BETA: NoesisGUI v2.1.0rc2
Compared to 1.x version there is one case where performance could be worse than 2.x versions. In old 1.x versions we used a cache for resource dictionaries that made all xamls referencing the same uri, get the same resource dictionary instance (loaded just once). This was a deviation from WPF (apart from other concerns) and we changed that in 2.x version. Now, every time you reference a dictionary in a xaml, a new copy is loaded from disk.@ai_enabled
I have checked the profiler and it says that the problem is in noesis, the frame drops to 15 fps on my PC.
The problem is on the iPad when you see the animation freeze, even with some simple views.
That is the reason I have changed my code to never instantiate new UserControls, the problem with this approach is that the memory usage is much higher.
So I highly recommend you check that, and use the global application dictionary if you are going to reuse styles/resources, instead of referencing them in every xaml.
Re: BETA: NoesisGUI v2.1.0rc2
Thanks @sfernandez
That is the situation in my case. I will check if this will help and let you know.
That is the situation in my case. I will check if this will help and let you know.
Re: BETA: NoesisGUI v2.1.0rc2
Thanks sfernandez!We think that the correct approach is to implement the callback version of HitTest function.@nokola, I never thought about this case. I think it should not be hard for the Noesis team to just add a simple flag which will avoid returning elements with IsHitTestVisible==false. Full delegate approach as in WPF will be much harder to implement due to C#-to-C++ interop... and I really can't see a good use case for it. A simple HitTest overload with the simple Boolean flag will be more than enough for most cases.

Re: BETA: NoesisGUI v2.1.0rc2
I also recommend you following our Blend tutorial, it was updated a few days ago.1. Which version of Blend can I use for Noesis? I have VS 2015, it is ok?
2. I never used Blend before, can I create themes in Blend and use it in Noesis?
Re: BETA: NoesisGUI v2.1.0rc2
As sfernandez said, we are not 100% sure this WPF behavior is a bug. Because sometimes it can be useful to know if there is GUI under the mouse, even if the element was marked with IsHitTestVisible to false. So we are going to keep being WPF compliant and implement the callback version.Would be best indeed to have extra overload to allow circumventing WPF's problematic behavior.
Great news!Edit: Update on the other jittery scrolling issue: as I suspected wasn't due to Noesis. We fixed the jittery scrolling on our side.
Re: BETA: NoesisGUI v2.1.0rc2
Yes, Blend for Visual Studio 2015 is fine.1. Which version of Blend can I use for Noesis? I have VS 2015, it is ok?
Yes, you can create a ResourceDictionary in Blend and define styles there for all your controls. Then you can use that as the global dictionary of your application:2. I never used Blend before, can I create themes in Blend and use it in Noesis?In Unity you can set that dictionary in NoesisSettings > Application Resources.Code: Select allNoesis.GUI.SetApplicationResources(themeDictionary);
Thanks.I also recommend you following our Blend tutorial, it was updated a few days ago.1. Which version of Blend can I use for Noesis? I have VS 2015, it is ok?
2. I never used Blend before, can I create themes in Blend and use it in Noesis?
Re: BETA: NoesisGUI v2.1.0rc2
What's the status of the 2.1 release? rc2 has been out for a while now. Is it safe to assume that rc2 is the final version that will be released, or is there an rc3 or final release version on the way?
Re: BETA: NoesisGUI v2.1.0rc2
There is a rc3 on the way, fixing a few things. This version won't be the final version yet, because we want to polish the documentation and examples included. But this is quite close to the final version, hopefully...
Re: BETA: NoesisGUI v2.1.0rc3
Please, try the RC3 we just released a few minutes ago
Who is online
Users browsing this forum: No registered users and 0 guests