dengfan
Topic Author
Posts: 22
Joined: 19 Nov 2023, 10:32

Native sdk with opengl can't use NoesisGUIExtensions?

29 Nov 2023, 11:57

Unknown property type 'noesis:RichText' (NoesisGUIExtensions.RichText)
richtext 2023-11-29 185506.png
How to fix it?
 
User avatar
jsantos
Site Admin
Posts: 4823
Joined: 20 Jan 2012, 17:18
Contact:

Re: Native sdk with opengl can't use NoesisGUIExtensions?

30 Nov 2023, 13:46

IntegrationGLUT is very minimalist and it is not registering any extension. I recommend having a look at the Integration example. It is registering app extensions this way:
// Register app components. We need a few in this example, like Display and RenderContext
NoesisApp::Launcher::RegisterAppComponents();
 
dengfan
Topic Author
Posts: 22
Joined: 19 Nov 2023, 10:32

Re: Native sdk with opengl can't use NoesisGUIExtensions?

30 Nov 2023, 14:08

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]?
 
User avatar
jsantos
Site Admin
Posts: 4823
Joined: 20 Jan 2012, 17:18
Contact:

Re: Native sdk with opengl can't use NoesisGUIExtensions?

30 Nov 2023, 14:16

1. URL events are redirected to the callback set in Noesis::GUI::SetOpenUrlCallback (in IntegrationAPI.h)

2. Yes, the texture will be requested to the installed texture provider.

Who is online

Users browsing this forum: No registered users and 5 guests