| [ |
| { |
| "class": "CView_ElementTable", |
| "customData": { |
| "class": "TableGray", |
| "displayName": false, |
| "displayHeader": false, |
| "columns": [ |
| { |
| "subView": "CView_BasicButton", |
| "text": "" |
| } |
| ], |
| "css": { |
| "heght": "auto", |
| "width": "auto" |
| }, |
| "processCss": { |
| "table": { |
| "height": "auto", |
| "width": "auto", |
| "border-spacing": "0" |
| }, |
| "td": { |
| "height": "40px", |
| "width": "40px", |
| "padding": "0", |
| "background": "radial-gradient(aqua 10%, red 5%, aqua 85%)", |
| "cursor": "pointer" |
| }, |
| "button": { |
| "height": "40px", |
| "width": "40px", |
| "background-color": "aqua", |
| "background-image": "none", |
| "padding": "0", |
| "border": "0" |
| }, |
| "button:disabled": { |
| "background": "radial-gradient(aqua 10%, DeepSkyBlue 5%, aqua 85%)" |
| }, |
| "button:hover:disabled": { |
| "background": "radial-gradient(aqua 10%, DeepSkyBlue 5%, aqua 85%)" |
| }, |
| "button:hover": { |
| "background": "radial-gradient(red 15%, aqua 5%, aqua 80%)" |
| } |
| }, |
| "showToolTip": false |
| }, |
| "viewModelIndexes": [ |
| 0 |
| ], |
| "idsCreating": [], |
| "parentID": "BattleShip__Main" |
| }, |
| { |
| "class": "CView_ElementAligner", |
| "customData": { |
| "subviews": [ |
| { |
| "subView": "CView_BasicButton", |
| "elementText": "Start new game", |
| "isElementLabelPresent": true, |
| "css": { |
| "padding": "4px" |
| } |
| }, |
| { |
| "subView": "CView_Label", |
| "elementText": "Number of rows", |
| "isElementLabelPresent": true, |
| "tooltip": "1 <= x <= 20, will start a new game", |
| "css": { |
| "padding": "4px" |
| } |
| }, |
| { |
| "subView": "CView_Label", |
| "elementText": "Number of columns", |
| "isElementLabelPresent": true, |
| "tooltip": "1 <= x <= 20, will start a new game", |
| "css": { |
| "padding": "4px" |
| } |
| }, |
| { |
| "subView": "CView_Label", |
| "elementText": "Ships", |
| "isElementLabelPresent": true, |
| "tooltip": "comma separated list of integers, will start a new game", |
| "css": { |
| "padding": "4px" |
| } |
| }, |
| { |
| "subView": "CView_StatusLED", |
| "elementText": "Game status", |
| "isElementLabelPresent": true, |
| "css": { |
| "padding": "4px" |
| } |
| } |
| ] |
| }, |
| "viewModelIndexes": [ |
| 1 |
| ], |
| "idsCreating": [], |
| "parentID": "Status" |
| } |
| ] |