Set(image ... ) command
FormatSet(image,window,_image_file_name) or ExecAndSet(image,window, ... command to determine image file name ...) or Set(image,icon,_icon_name_,_image_file_name_) or ExecAndSet(image,icon,_icon_name_, ... command to determine image file name ...) or Set(image,show|close|cursor|nocursor|get_size) or Set(image,remove_all) |
![]() |
Command Set(image,window,_image_file_name) used to show image on screen of cell phone. Of cource in most cases this should be ExecAndSet(...) variant of command. See cfg-example/Server-mode/winManager.cfg for details.
2=ExecAndSet(image,window,echo "$IMAGE_DIR/image.png")
Command Set(image,show) used to show previously uploaded image.
1=Set(image,show)
Command Set(image,close) used to close screen with image and return back to main screen.
1=Set(image,close)
Command Set(image,get_size) used to get screen size of cell phone. As a response to this command two replies will be send: SizeX(width,) and SizeY(height,).
1=Set(image,close)
Command Set(image,cursor|nocursor) used to specify should or should not the cursor cross will be drawn over the image. If this option is set to "cursor" then it will be possible to move cursor cross with the joystick keys and if user pushes the joystick key, then two replies PressedX(x_coord,) and PressedY(y_coord,) will be sent.
1=Set(image,nocursor)
Command Set(image,icon,_icon_name_,_image_file_name) used to upload 16x16 or 32x32 icons, which could be used in Set(icons,...) command. Of cource in most cases this should be ExecAndSet(...) variant of command. See cfg-example/Server-mode/iconUpload.cfg for details.
2=ExecAndSet(image,icon,echo "$IMAGE_NAME,$IMAGE_DIR/image.png")
Only 16x16 or 32x32 PNG icons could be uploaded. There is no way to show the list of uploaded icons. All uploaded icons could be removed by Set(upload,remove_all) command.
Command Set(image,remove_all) used to remove all previously uploaded icons.
1=Set(image,remove_all)