Motion - Sdl Window
You are here: Foswiki>Motion Web>SdlWindow (30 Oct 2011, AngelCarpintero)Edit Attach

Show a thread in a sdl window

Description of Patch

With this patch a thread is shown in a sdl window.

The new global config option "sdl_threadnr" is used to select the thread (defaults 0 = no sdl window)

With webhttpd you can change the the thread.

Pressing ESC or quit (Alt-F4) the window disappears (and never comes back)

Press "f" for fullscreen.

With sdl the thread can be shown in framebuffer!

To have a sdl window you have to configure with "--with-sdl"

Installation of Patch

Download the patch file. Then copy it to the motion source directory and issue the command

#> patch -p0 < sdl.patch

#> autoheader

#> autoconf

#> ./configure --with-sdl

Change History of Patch

  • 1.0 Initial revision
  • 1.1 Patch against svn trunk ( ignore window resize , added sdl_threadnr to, added FUNCTION to motion_log(), fix logger to allow compile )

Discussion and Comments

Included in GIT and SVN

-- AngelCarpintero - 30 Oct 2011

Topic revision: r5 - 30 Oct 2011, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.