Ported some PCjs drawing code to PC8080, still needs work though

This commit is contained in:
Jeff Parsons 2016-05-02 09:01:06 -07:00
commit 59b6dd3be6
23 changed files with 781 additions and 499 deletions

View file

@ -9,7 +9,9 @@ PCjs Debugger Component
Format
---
<debugger>...</debugger>
```xml
<debugger>...</debugger>
```
Purpose
---
@ -17,7 +19,7 @@ Creates an instance of the Debugger component.
Attributes
---
* *message* (optional)
* *messages* (optional)
* One or more message categories to enable, separated by |. By default, all message categories are disabled.
See the Debugger's "m" command for a current list of message categories.
@ -40,16 +42,20 @@ Use the Debugger's built-in help for a list of commands.
Example
---
<debugger/>
```xml
<debugger/>
```
Output
---
<div id="..." class="pc-debugger pc-component" style="">
<div class="pc-container" style="">
<div class="pcjs-debugger" data-value="id:'...',name:'...',message:'...'">
</div>
</div>
</div>
```html
<div id="..." class="pc-debugger pc-component" style="">
<div class="pc-container" style="">
<div class="pcjs-debugger" data-value="id:'...',name:'...',messages:'...'">
</div>
</div>
</div>
```
Also, if any controls are defined, another &lt;div&gt; of class="pc-controls" is created in the container &lt;div&gt;,
with each control inside a &lt;div&gt; of class="pc-control".