Drawing Plugin

From MSX - Wiki
Jump to navigation Jump to search

This is a special video plugin that has been developed to check the performance and capabilities of a TV device. You can use it to compare the performance/capabilities with other TV (or mobile/desktop) devices. The plugin can be used with version 0.1.144 or higher.

Example[edit]

Screenshot[edit]

Example Screenshot (Drawing Plugin)

Code[edit]

{
    "type": "pages",
    "headline": "Drawing Plugin",
    "pages": [{  
            "items": [{           
                    "type": "default",
                    "layout": "0,0,12,6",
                    "color": "msx-glass",
                    "icon": "msx-white-soft:color-lens",
                    "iconSize": "large",
                    "title": "Start Drawing",                    
                    "playerLabel": "Drawing",
                    "action": "video:plugin:http://msx.benzac.de/plugins/drawing.html",
                    "live": {
                        "type": "playback",                        
                        "action": "player:show"
                    },
                    "properties": {
                        "control:return": "silent",
                        "control:action": "player:button:content:execute",
                        "control:dim": false,
                        "progress:type": "fix:",
                        "button:restart:enable": false,
                        "progress:marker:enable": false,
                        "button:forward:enable": false,
                        "button:rewind:enable": false,
                        "button:speed:enable": false,
                        "button:content:focus": true,
                        "button:content:icon": "palette",
                        "button:content:action": "player:auto:restart",
                        "label:position": "Select {ico:msx-white:palette} to perform drawing actions",
                        "label:duration": "Alternatively, press {txt:msx-white:OK} while drawing is in foreground",
                        "trigger:back": "player:stop",
                        "trigger:stop": "close:drawing"
                    }
                }]
        }]
}

Demo[edit]

See also[edit]