Search found 16 matches

  • 1
  • 2
by dengfan
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...
by dengfan
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...
by dengfan
20 Dec 2023, 08:11
Forum: General Discussion
Replies: 10
Views: 8158

Re: scrollviewer content overflow flashing bug

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.
You just draw a triangle before draw noesisgui(xaml, scrollviewer with long textblock), the problem will be reproduce.
by dengfan
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. :(
by dengfan
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...
by dengfan
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...
by dengfan
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
by dengfan
16 Dec 2023, 13:01
Forum: General Discussion
Replies: 8
Views: 5588

Re: noesis RichText [img] doen't work

屏幕截图 2023-12-16 200038.png
try add this line.
by dengfan
16 Dec 2023, 12:25
Forum: General Discussion
Replies: 10
Views: 8158

scrollviewer content overflow flashing bug

bug code 2023-12-16 191727.png
bug code 2.png
and if the text of the textblock in scrollviewer is short, it will be very ok.

how to fix it?
by dengfan
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.
屏幕截图 2023-11-30 205950.png
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]?
  • 1
  • 2