mirror of
https://github.com/javl/image2cpp.git
synced 2026-09-11 09:03:04 +00:00
add some more formatting options
This commit is contained in:
+14
-11
@@ -287,22 +287,25 @@
|
||||
<div class="table-cell">
|
||||
<input id="bitswap" type="checkbox" onchange="updateBoolean('bitswap')">
|
||||
<label for="bitswap">swap</label>
|
||||
<i class="note">Swap between MSB and LSB. Useful when working with the u8g2 library.</i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-row">
|
||||
<div class="table-cell"></div>
|
||||
<div class="table-cell">
|
||||
<i class="note">Useful when working with the u8g2 library.</i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="table-row" id="remove-zeroes-commas-container">
|
||||
<div class="table-row" id="prefix-separator-container">
|
||||
<div class="table-cell"><label>Extra formatting options:</label></div>
|
||||
<div class="table-cell">
|
||||
<input id="removeZeroesCommas" type="checkbox" onchange="updateBoolean('removeZeroesCommas')"/>
|
||||
<label for="removeZeroesCommas">Remove '0x' and commas from output</label>
|
||||
<div class="sub-field">
|
||||
<input id="outputComments" type="checkbox" checked onchange="updateBoolean('outputComments')">
|
||||
<label for="outputComments">Add comments to code output</label>
|
||||
</div>
|
||||
<div class="sub-field">
|
||||
<label for="prefix" class="sub-field-label">Byte prefix:</label>
|
||||
<input id="prefix" class="size-input" type="text" value="0x" oninput="updateString('prefix')"/>
|
||||
</div>
|
||||
<div class="sub-field">
|
||||
<label for="separator" class="sub-field-label">Separator between bytes:</label>
|
||||
<input id="separator" class="size-input" type="text" value=", " oninput="updateString('separator')"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user