Delyan Angelov
10f2fe196a
examples,gg: modify all remaining calls to fons.add_font_mem/3 to use an array.clone()
2025-02-07 14:39:36 +02:00
Delyan Angelov
16a6e45274
gg: fix ./v -gc none -autofree run examples/tetris/
(avoid return s1 + s2 + s3
, clone the arrays, passed to the fontstash wrapper)
2025-02-07 14:29:43 +02:00
Delyan Angelov
3acbd580d4
gg: enable clean compilation without notices for ./v -check-unused-fn-args examples/tetris/
2025-01-09 08:33:11 +02:00
Hedgegod
cbfe1b8862
gg: use a larger fontstash text atlas by default (2048x2048, and customizable), instead of 512x512 ( fix #21610 ) ( #22959 )
2024-11-24 14:35:34 +02:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields ( #22025 )
2024-08-11 09:11:24 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields ( #21995 )
2024-08-05 20:23:39 +03:00
Turiiya
1a35a783f1
breaking,checker: disallow initializing private struct fields outside structs module ( #21183 )
2024-04-12 13:53:02 +03:00
Alexander Medvednikov
5cbed731dc
gg: draw_text with custom fonts
2024-04-05 18:09:47 +03:00
Alexander Medvednikov
acf0107493
builtin: str.last_index(); pref: hide-auto-str;
2024-03-28 18:26:30 +03:00
Turiiya
f77bb32044
all: fix typos ( #21089 )
2024-03-25 12:18:27 +02:00
Jan Kåre Vatne
cf7dcfe287
gg: handle dpi change, when moving window to another monitor ( #20886 )
2024-02-24 05:08:43 +02:00
Anton
763f94388b
all: update copyright year ( #20334 )
2024-01-01 23:29:54 +02:00
Alexander Medvednikov
01e6f6473b
gg: set_window_title; macos img fix; gx: color fixes; strings: Builder.writeln_string
2023-11-22 03:10:34 +03:00
Delyan Angelov
7ffa8c13bf
vlib: remove functions and fields, deprecated before 2023-03-20
...
* remove []int.reduce in favour of arrays.fold
* remove datatypes.Set.equal in favour of datatypes.Set.==
* remove datatypes.Set.difference in favour of datatypes.Set.-
* remove gg.Context.set_cfg in favour of gg.Context.set_text_cfg
* remove gg.Context.timage_pip in favour of gg.Context.pipeline.alpha
* remove os.is_writable_folder in favour of os.ensure_folder_is_writable
Discovered with `v run cmd/tools/show_ancient_deprecations.v 180`
2023-09-16 17:16:54 +03:00
Alexander Medvednikov
6756d28595
all: 2023 copyright
2023-03-28 22:55:57 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' ( #16428 )
2022-11-15 16:53:13 +03:00
Junko
5bb058e35b
gg: revamp the Context
pipeline for more effects, implement an additive
effect ( #16394 )
2022-11-12 09:39:18 +02:00
Tim Marston
711bb6def7
gg: rename Context.set_cfg() -> Context.set_text_cfg() ( #15904 )
2022-09-29 15:24:16 +03:00
shove
8b962f8446
checker: fix nested struct reference type field initialized check. ( fix : #15741 ) ( #15752 )
2022-09-15 07:59:31 +03:00
Alexander Medvednikov
fb192d949b
all: replace []byte with []u8
2022-04-15 15:35:35 +03:00
Larpon
56e6fd01c5
gg: document pub functions in text_rendering and m4/vector ( #13961 )
2022-04-06 19:34:02 +03:00
Larpon
7fbd856bf8
os: add font module, move from gg ( #13144 )
2022-01-13 12:16:18 +02:00
Alexander Medvednikov
59ed4be49a
all: update copyright year
2022-01-04 12:21:12 +03:00
playX
5f0160bf11
js,gg: more work on porting gg to JS backend ( #12903 )
2021-12-20 16:18:21 +03:00
Larpon
047f059fb8
examples: use fontstash
wrapper calls ( #12718 )
2021-12-06 23:39:43 +03:00
Delyan Angelov
8be64ef80e
gg: improve font loading diagnostics with -d debug_font
2021-11-06 17:15:17 +02:00
Delyan Angelov
576664e31f
gg,sokol,stbi,gx,fontstash: cleanup for -Wimpure-v
2021-08-12 22:42:42 +03:00