Search found 8 matches
- 10 Dec 2020, 11:53
- Forum: General Discussion
- Replies: 6
- Views: 7072
Re: Changing Color of Textblock Dynamically and a few other Q's.
Another weird thing regarding this code is that if I try to use Noesis::Ptr<Noesis::SolidColorBrush> pBrush = *new Noesis::SolidColorBrush() instead of Noesis::SolidColorBrush* pBrush = new Noesis::SolidColorBrush(); the application crashes. We still need to understand why when using Ptr you were h...
- 09 Dec 2020, 11:45
- Forum: General Discussion
- Replies: 1
- Views: 2146
Random Crashes in Render() (Vulkan Implementation)
Hi Again, We are using a NoesisGUI integrated into our Vulkan application and for some reason, the application (SOMETIMES) crashes when Noesis::Ptr<Noesis::IView>::Reset() is called on the previous View and a new view is set and we can't figure out why this is. And (SOMETIMES) when we try to set the...
- 09 Dec 2020, 11:35
- Forum: General Discussion
- Replies: 6
- Views: 7072
Re: Changing Color of Textblock Dynamically and a few other Q's.
Your message disappeared :O But I managed to fix the color issue finally thanks to your help. .xaml code: <Grid x:Name="PROMPT_GRID"> <TextBlock x:Name="PROMPT_TEXT" Text="" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="26&qu...
- 09 Dec 2020, 09:58
- Forum: General Discussion
- Replies: 6
- Views: 7072
Changing Color of Textblock Dynamically and a few other Q's.
I'm trying to change the color of a textblock during runtime, depending on team colors in our game. The TextBlock is defined in .Xaml via a UserControl which is invoked when a player dies/scores. .Xaml Code: <UserControl x:Class="CrazyCanvas.PromptGUI" xmlns="http://schemas.microsoft....
- 06 Nov 2020, 11:36
- Forum: General Discussion
- Replies: 6
- Views: 2825
Re: Changing Image Opacity Not Working As Expected
Thanks for the answer. The issue is related to the integration. I recommend reproducing a minimal example (probably a simple image with opacity is enough) that fails in your integration and works in XamlPlayer. That way you can capture the frame and analyze the GPU commands side by side. When opaci...
- 06 Nov 2020, 11:21
- Forum: General Discussion
- Replies: 6
- Views: 2825
Re: Changing Image Opacity Not Working As Expected
Sorry, we're using custom renderers. We've implemented NoesisGUI in our Vulkan renderer.is this using a custom renderer or own renderers?
- 06 Nov 2020, 11:14
- Forum: General Discussion
- Replies: 6
- Views: 2825
Re: Changing Image Opacity Not Working As Expected
Are you able to reproduce this using XamlPlayer or are you using a custom renderer?
I did try but get this error: *Directory*/DamageIndicatorGUI.xaml(23): invalid token.
so it doesn't do much for me sadly.
However, it does work as intended using the Microsoft Blend.
- 06 Nov 2020, 10:43
- Forum: General Discussion
- Replies: 6
- Views: 2825
Changing Image Opacity Not Working As Expected
Hello guys! I have a usercontrol which has a Storyboard changing the opacity of an Image(png). When going through the different keyframes nothing happens in-between the different keyframes; the opacity changes from 0 to 1 instantly(when the set duration has passed) instead of smoothly interpolating/...