Difference between revisions of "Drawing Plugin"

From MSX - Wiki
Jump to navigation Jump to search
(Created page with "This is a special video plugin that has been developed to check the performance of a TV device. The plugin can be used with version '''0.1.123''' or higher. == Example == ===...")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
This is a special video plugin that has been developed to check the performance of a TV device. The plugin can be used with version '''0.1.123''' or higher.
+
{{benchmark}}
 +
The plugin can be used with version '''0.1.144''' or higher.
  
 
== Example ==
 
== Example ==
 
=== Screenshot ===
 
=== Screenshot ===
[[File:renderer.png|thumb|640px|none|Example Screenshot (Renderer Plugin)]]
+
[[File:drawing.png|thumb|640px|none|Example Screenshot (Drawing Plugin)]]
  
 
=== Code ===
 
=== Code ===
Line 25: Line 26:
 
                     },
 
                     },
 
                     "properties": {
 
                     "properties": {
 +
                        "control:return": "silent",
 +
                        "control:action": "player:button:content:execute",
 +
                        "control:dim": false,
 
                         "progress:type": "fix:",
 
                         "progress:type": "fix:",
 
                         "button:restart:enable": false,
 
                         "button:restart:enable": false,
Line 31: Line 35:
 
                         "button:rewind:enable": false,
 
                         "button:rewind:enable": false,
 
                         "button:speed:enable": false,
 
                         "button:speed:enable": false,
 +
                        "button:content:focus": true,
 
                         "button:content:icon": "palette",
 
                         "button:content:icon": "palette",
                         "button:content:action": "player:restart",
+
                         "button:content:action": "player:auto:restart",
 
                         "label:position": "Select {ico:msx-white:palette} to perform drawing actions",
 
                         "label:position": "Select {ico:msx-white:palette} to perform drawing actions",
                         "trigger:back": "player:stop"
+
                        "label:duration": "Alternatively, press {txt:msx-white:OK} while drawing is in foreground",
 +
                         "trigger:back": "player:stop",
 +
                        "trigger:stop": "close:drawing"
 
                     }
 
                     }
 
                 }]
 
                 }]

Latest revision as of 14:17, 1 September 2022

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]