Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63f6c5ecc1 |
@@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN dpkg --add-architecture i386
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl dos2unix wget git make nasm binutils xorriso grub-pc-bin gcc gcc-multilib \
|
||||
python3 python3-pip python3-pil && \
|
||||
python3 python3-pip && \
|
||||
apt-get clean my room
|
||||
|
||||
RUN pip3 install --no-cache-dir --break-system-packages "mkdocs>=1.6,<2" mkdocs-material
|
||||
|
||||
@@ -106,6 +106,12 @@ function intToString(i : uint32) : pchar;
|
||||
```
|
||||
Returns a heap-allocated decimal string representation of `i`.
|
||||
|
||||
### int64ToString
|
||||
```pascal
|
||||
function int64ToString(i : int64) : pchar;
|
||||
```
|
||||
Returns a heap-allocated decimal string representation of the signed 64-bit integer `i`. Negative values are prefixed with `'-'`.
|
||||
|
||||
### hexStringToInt
|
||||
```pascal
|
||||
function hexStringToInt(str : pchar) : uint32;
|
||||
@@ -118,6 +124,12 @@ function boolToString(b : boolean; ext : boolean) : pchar;
|
||||
```
|
||||
Returns a heap-allocated string for the boolean `b`. When `ext` is `true`, returns `'true'` or `'false'`; when `false`, returns `'1'` or `'0'`.
|
||||
|
||||
### doubleToStr
|
||||
```pascal
|
||||
function doubleToStr(d : Double) : pchar;
|
||||
```
|
||||
Returns a heap-allocated decimal string representation of the 64-bit floating-point value `d`. Integer values are emitted without a decimal point (e.g. `42`). Fractional values include up to 15 significant digits with trailing zeros removed. Very large or very small values use scientific notation (e.g. `1.5e+20`).
|
||||
|
||||
### UnitTest
|
||||
```pascal
|
||||
procedure UnitTest;
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
@@ -30,8 +30,8 @@
|
||||
#define LV_LIMITS_INCLUDE <limits.h>
|
||||
#define LV_STDARG_INCLUDE <stdarg.h>
|
||||
|
||||
/* Built-in memory pool: 1 MB for complex UI (file browser etc.) */
|
||||
#define LV_MEM_SIZE (1024 * 1024U)
|
||||
/* Built-in memory pool: 256 KB should be plenty for our UI */
|
||||
#define LV_MEM_SIZE (256 * 1024U)
|
||||
#define LV_MEM_POOL_EXPAND_SIZE 0
|
||||
#define LV_MEM_ADR 0
|
||||
|
||||
|
||||
@@ -136,6 +136,7 @@ nav:
|
||||
- MD5: src/core/enc/core.enc.md5.md
|
||||
- SHA-1: src/core/enc/core.enc.sha1.md
|
||||
- Formats:
|
||||
- JSON: src/core/fmt/core.fmt.json.md
|
||||
- Targa (TGA): src/core/fmt/core.fmt.targa.md
|
||||
- Graphics:
|
||||
- Color: src/core/gfx/core.gfx.color.md
|
||||
|
||||