Search found 16 matches
- 21 Dec 2023, 05:44
- Forum: General Discussion
- Replies: 10
- Views: 8158
Re: scrollviewer content overflow flashing bug
Your code is not correct. Please, make sure to follow our tutorials and examples. The correct, per frame steps are: ... Thx, I fixed the issue as you said. The point of the question is: don't set this line "_view->SetSize(SCR_WIDTH, SCR_HEIGHT);" in NoesisInit(). and set that line in main...
- 20 Dec 2023, 08:27
- Forum: General Discussion
- Replies: 10
- Views: 8158
Re: scrollviewer content overflow flashing bug
This is the code: #define GLEW_STATIC #include <GL/glew.h> #include <GLFW/glfw3.h> #include <NsGui/IView.h> #include <NsGui/IRenderer.h> #include <NsGui/TextBlock.h> #include <NsGui/Storyboard.h> #include <NsApp/ThemeProviders.h> #include <NsGui/FontProperties.h> #include <NsGui/Grid.h> #include <Ns...
- 20 Dec 2023, 08:11
- Forum: General Discussion
- Replies: 10
- Views: 8158
Re: scrollviewer content overflow flashing bug
You just draw a triangle before draw noesisgui(xaml, scrollviewer with long textblock), the problem will be reproduce.Are you able to reproduce this problem in the IntegrationGLUT sample? If so, please let us know the patches we should apply to see this bug.
- 20 Dec 2023, 08:08
- Forum: General Discussion
- Replies: 10
- Views: 8158
Re: scrollviewer content overflow flashing bug
I am very sorry, i can not draw a triangle before draw noesisgui in IntegrationGLUT sample,
so i can't reproduce the bug, draw a triangle too hard in glut, i tried 3 hours without success. :(
so i can't reproduce the bug, draw a triangle too hard in glut, i tried 3 hours without success. :(
- 19 Dec 2023, 06:00
- Forum: General Discussion
- Replies: 10
- Views: 8158
Re: scrollviewer content overflow flashing bug
And also make sure you are using a render target with DepthStencil, because the ScrollViewer uses stencil when it needs to clip its contents to the visible viewport. This seems to be an integration issue on your side. Make sure the offscreen phase is rendered before binding the main framebuffer, ju...
- 18 Dec 2023, 07:41
- Forum: General Discussion
- Replies: 8
- Views: 5588
Re: noesis RichText [img] doen't work
I've tried, you just initialize noesis as required, you can display the local image in bbcode. Ptr<XamlProvider> xamlProvider = ...; Ptr<LocalFontProvider> myFontProvider = ...; Ptr<LocalTextureProvider> myTextureProvider = MakePtr<LocalTextureProvider>("."); NoesisApp::SetThemeProviders(x...
- 17 Dec 2023, 13:15
- Forum: General Discussion
- Replies: 8
- Views: 5588
Re: noesis RichText [img] doen't work
I use the native sdk, It may not be quite the same as yours.
Look at bottom of this topic viewtopic.php?t=3145
Look at bottom of this topic viewtopic.php?t=3145
- 16 Dec 2023, 13:01
- Forum: General Discussion
- Replies: 8
- Views: 5588
Re: noesis RichText [img] doen't work
try add this line.
- 16 Dec 2023, 12:25
- Forum: General Discussion
- Replies: 10
- Views: 8158
scrollviewer content overflow flashing bug
how to fix it?
- 30 Nov 2023, 14:08
- Forum: General Discussion
- Replies: 3
- Views: 813
Re: Native sdk with opengl can't use NoesisGUIExtensions?
I was right, NOESIS + XAML is so powerful.
2 more questions,
1. In BBCode, how could c++ code to handle the [url] click event?
2. Is it also possible to have textures directly displayed through [img]?
2 more questions,
1. In BBCode, how could c++ code to handle the [url] click event?
2. Is it also possible to have textures directly displayed through [img]?