/usr/share/sitplus/sp/lib/ipl2sdl.sps is in sitplus-data 1.0.3-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #
# Translates and IPL image into a SDL surface and provides
# a checkbox to enable/disable such a feature
#
# Input pins
# image (iplimage)
#
# Output pins
# surface (sdl_surface)
#
type ipl2sdl_chk
name "IPL2SDL"
# IPL image source. Create a forwarder to export the pin ...
create forward ipin_image
# and export it as "image"
export_ipin ipin_image in image iplimage
# enable/disable checkbox
create widget_checkbox enable_disable -l _"Show camera image as background" -v true
connect enable_disable value ipin_image gate
# Send to main
create send_main_async to_main
connect ipin_image out to_main in
# IPL2SDL
create ipl2sdl ipl2sdl
connect to_main out ipl2sdl in
# Export sdl pin
export_opin ipl2sdl out surface
begin_gui_layout
layout_begin vbox
component enable_disable
layout_end
end_gui_layout
|