Artifact fc089c224c6644fdc6905b9e7a93831c6c8f9cb9:
Wiki page
[
Beyond AndroWish] by
chw
2019-01-06 05:00:25.
D 2019-01-06T05:00:25.615
L Beyond\sAndroWish
P 584a5a344bccc4b05c4091752b66d94a16485261
U chw
W 3354
Some subdirectories of [AndroWish] have a ready-to-build-then-use <a href="http://www.debian.org">Debian</a> infrastructure built in. That allows to build Debian packages easily e.g. on a <a href="http://www.raspbian.org">Raspbian</a> distribution running on your Raspberry Pi:
<verbatim>
cd .../jni/SDL2 ; dpkg-buildpackage -tc -uc ; dpkg -i ../libsdl2*.deb
cd .../jni/tcl ; dpkg-buildpackage -tc -uc ; dpkg -i ../sdltcl*.deb
cd .../jni/sdl2tk ; dpkg-buildpackage -tc -uc ; dpkg -i ../sdl2tk*.deb
/opt/sdltk86/bin/sdl2wish8.6
</verbatim>
Building some components of [AndroWish] for the Windows OS family is possible, too, by using cross compilation on a Linux system. More information can be found in [undroidwish].
The resulting <tt>sdl2wish8.6</tt>, <tt>sdl2wish86.exe</tt>, or [undroidwish] binaries support additional command line options to control certain SDL features. Important: these options must be specified on the command line after the optional script to be executed:
<tt>-sdlfullscreen</tt>
Make the SDL window (the root window for Tk) into a fullscreen window.
<tt>-sdlresizable</tt>
Allow resizing of the SDL window.
<tt>-sdlnoborder</tt>
Make the SDL window borderless, i.e. without window manager decorations.
<tt>-sdlheight <i>pixels</i></tt>
Set the height of the SDL window to <tt><i>pixels</i></tt>.
<tt>-sdlwidth <i>pixels</i></tt>
Set the width of the SDL window to <tt><i>pixels</i></tt>.
<tt>-sdlrootheight <i>pixels</i></tt>
Set the height of the root window (as seen by Tk) to <tt><i>pixels</i></tt>. If not set, the root window's size is equal to the SDL window size.
<tt>-sdlrootwidth <i>pixels</i></tt>
Set the width of the root window (as seen by Tk) to <tt><i>pixels</i></tt>. If not set, the root window's size is equal to the SDL window size.
<tt>-sdlxdpi <i>dpi</i></tt>
Set the dots per inch ratio for the X dimension to <tt><i>dpi</i></tt>. If both, <tt>-sdlxdpi</tt> and <tt>-sdlydpi</tt> are not set, the default is approx. 75 dpi. If only one dimension is set (<tt>-sdlxdpi</tt> or <tt>-sdlydpi</tt>), that value is taken as overall dots per inch ratio.
<tt>-sdlydpi <i>dpi</i></tt>
Set the dots per inch ratio for the Y dimension to <tt><i>dpi</i></tt>. If both, <tt>-sdlxdpi</tt> and <tt>-sdlydpi</tt> are not set, the default is approx. 75 dpi. If only one dimension is set (<tt>-sdlxdpi</tt> or <tt>-sdlydpi</tt>), that value is taken as overall dots per inch ratio.
<tt>-sdlnogl</tt>
Force using the software renderer. This turns OpenGL usage off.
<tt>-sdllog <i>level</i></tt>
Set the minimum log level to be shown in SDL log message. <tt><i>level</i></tt> must be a positive integer.
<tt>-sdlicon <i>filename</i></tt>
Set the SDL root window icon to the BMP image from <tt><i>filename</i></tt>.
<tt>-sdlnosysfonts</tt>
Don't search for and register system fonts. This can reduce startup time significantly.
<tt>-sdlopacity <i>value</i></tt>
Set the initial opacity of the SDL root window. <tt><i>value</i></tt> must be given as positive integer percentage.
<tt>-sdlswcursor</tt>
Force use of a software cursor texture. Useful, when no proper hardware cursor support is available, e.g. in Haiku using the OpenGL render driver.
Z d5774d6e3658985d8cf34e40b256c061