Jump to content
Korean Random

Xeideo

User
  • Content Count

    14
  • Joined

  • Last visited

Posts posted by Xeideo


  1. Для примера, выводится суммарная продолжительность сессий за сутки, время отображается без секунд,

    'widgetsTemplates.xc'

    "sessionTime": {
        // Show session time  in hangar.
        // Показывать время сессии в ангаре.
        "enabled": true,
        "layer": "top",
        "type": "extrafield",
        "formats": [
          {
            "updateEvent": "ON_EVERY_SECOND",
            "x": 372,
            "y": -13,
            "width": 100,
            "height": 80,
            "screenHAlign": "left",
            "screenVAlign": "top",
            "shadow": {
              "enabled": true,
              "distance": 0,
              "angle": 0,
              "color": "0x000000",
              "alpha": 70,
              "blur": 4,
              "strength": 2
            },
            "textFormat": { "align": "left", "valign": "center", "color": "0xffcc66" },
            "format": "<textformat tabstops='[17]' leading='0'><font face='xvm' size='15' color='#cbcab7'>V</font>\t<font face='$FieldFont' size='14' color='#aba98b'>{{py:xvm.timeSessionDay}}</font>"
          }
        ]
      }

    'widgets.xc'

    "lobby": [
          ${ "widgetsTemplates.xc":"sessionTime" }

     

    "screenHAlign": "center",

×
×
  • Create New...