InfoCard

InfoCard
InfoCard
File Size:
488.68 kB
Version:
1.0
Author:
Email:
Colin[at]ColinsRadioControl[dot]com
Date:
16 May 2023
Downloads:
397 x

This is a basic widget that displays an image (png, jpg or bmp) with the same filename as the name of the model.

The idea behind this is that you create an image with iinformation about your model (Switch functions etc.) and save it with the same name as your model (case sensitive).  You need to save the images in the "Cards" folder.

When the widget runs it will look in the Cards folder for a file with the same name as the model. If it doesn't find a file then it displays the NoCard.png file.

Some example cards are included.  An example blank card (Blank.xcf) in included. This is in the native file format for the GIMP image editor software. Each of the parts (picture, title, switch functions etc.) are on different layers so are fully editable.  You are welcome to use these as a starting point or make your own from scratch if you want.

The script will resize the image to fit in the selected zone.  The included examples are 480 X 272 pixels which is full screen on a RadioMaster TX16S.  There is no point in making the files bigger than this as it will just take up storage space, memory and processing time.

Installation:

Extract all files from the InfoCard.zip archive and put them in the WIDGETS folder of your radio's SD card.

The Following files are in the archive:

  • main.lua
  • Cards (folder)
    • Bixler 2.png
    • Blank.xcf
    • Night vapor.png
    • NoCard.png
    • SU-27.png
    • Tundra.png

Usage:

Add InfoCard as a widget to a screen in the usual way. Add your cards to the Cards folder. That's it, there are no options to set. When you go to the screen with the widget it will display the card.

 

Notes
  • Filenames are case sensitive and must be the same as the model name.
  • Files are searched for in the order .png, .jpg then .bmp

 

 
 
Powered by Phoca Download