U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Callbacks and Timers » TimerCallBack interval resolution
Re: TimerCallBack interval resolution [message #59498 is a reply to message #59497] Sat, 07 January 2023 09:10 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
superdev wrote on Fri, 06 January 2023 16:20
mirek wrote on Thu, 05 January 2023 09:29
superdev wrote on Wed, 04 January 2023 20:19
...
So how to combine UPP GUI(Ctrl) and SDL2 window (>100 FPS)?
I've tried TopWindow::OpenMain(), then ProcessEvents and render in loop. It works but the loop freezes, for example during TopWindow resizing, dialog showing.


If you are doing a game, probably consider using VirtualGui. Otherwise, what about separate thread for SDL?

Video player.
What widgets can i use with VirtualGui?


All of them. The major disadvantage is that VirtualGui takes over window management, so that means it cannot really be used e.g. for normal applications.

What kind of application are you trying to develop?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to do to stop progress zip file ?
Goto Forum:
  


Current Time: Sun Apr 26 01:36:34 GMT+2 2026

Total time taken to generate the page: 0.00519 seconds